	.file	"extr_m_misc.c_M_WriteFile.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	M_WriteFile
	.type	M_WriteFile, @function
M_WriteFile:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	mov	esi, DWORD PTR O_WRONLY[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	or	esi, DWORD PTR O_CREAT[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	or	esi, DWORD PTR O_TRUNC[rip]
	mov	ebx, edx
	mov	edx, 438
	or	esi, DWORD PTR O_BINARY[rip]
	call	open@PLT
	mov	ebp, eax
	xor	eax, eax
	cmp	ebp, -1
	je	.L1
	mov	rsi, r12
	mov	edx, ebx
	mov	edi, ebp
	call	write@PLT
	mov	edi, ebp
	mov	r12d, eax
	call	close@PLT
	xor	eax, eax
	cmp	ebx, r12d
	setle	al
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	M_WriteFile, .-M_WriteFile
	.comm	O_WRONLY,4,4
	.comm	O_TRUNC,4,4
	.comm	O_CREAT,4,4
	.comm	O_BINARY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_m_misc.c_M_WriteFile.c"
	.text
	.align	2
	.global	M_WriteFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	M_WriteFile, %function
M_WriteFile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L6
	mov	r4, r2
	ldr	r2, .L6+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r6, r1
	ldr	r1, .L6+8
	orr	r3, r3, r2
	ldr	r1, [r1]
	ldr	r2, .L6+12
	orr	r3, r3, r1
	ldr	r1, [r2]
	ldr	r2, .L6+16
	orr	r1, r3, r1
	bl	open
	cmn	r0, #1
	beq	.L3
	mov	r1, r6
	mov	r2, r4
	mov	r5, r0
	bl	write
	mov	r6, r0
	mov	r0, r5
	bl	close
	cmp	r4, r6
	movgt	r0, #0
	movle	r0, #1
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	O_WRONLY
	.word	O_CREAT
	.word	O_TRUNC
	.word	O_BINARY
	.word	438
	.size	M_WriteFile, .-M_WriteFile
	.comm	O_WRONLY,4,4
	.comm	O_TRUNC,4,4
	.comm	O_CREAT,4,4
	.comm	O_BINARY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
