	.file	"extr_fat.h_fat_make_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fat_make_mode, @function
fat_make_mode:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR ATTR_DIR[rip]
	and	eax, esi
	test	DWORD PTR ATTR_RO[rip], esi
	je	.L2
	test	eax, eax
	jne	.L14
.L3:
	mov	ecx, DWORD PTR S_IWUGO[rip]
	not	ecx
	and	edx, ecx
.L2:
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR 4[rdi]
	not	eax
	and	eax, edx
	or	eax, DWORD PTR S_IFREG[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	ecx, DWORD PTR 8[rdi]
	test	ecx, ecx
	jne	.L3
.L4:
	mov	eax, DWORD PTR [rdi]
	not	eax
	and	eax, edx
	or	eax, DWORD PTR S_IFDIR[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	fat_make_mode, .-fat_make_mode
	.comm	S_IWUGO,4,4
	.comm	S_IFREG,4,4
	.comm	S_IFDIR,4,4
	.comm	ATTR_RO,4,4
	.comm	ATTR_DIR,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_fat.h_fat_make_mode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fat_make_mode, %function
fat_make_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	ip, .L18
	ldr	r3, .L18+4
	ldr	ip, [ip]
	ldr	r3, [r3]
	tst	r1, ip
	and	r1, r1, r3
	beq	.L2
	cmp	r1, #0
	bne	.L17
.L3:
	ldr	r3, .L18+8
	ldr	r3, [r3]
	bic	r2, r2, r3
.L2:
	cmp	r1, #0
	bne	.L4
	ldr	r1, .L18+12
	ldr	r3, [r0, #4]
	ldr	r0, [r1]
	bic	r2, r2, r3
	orr	r0, r2, r0
	bx	lr
.L17:
	ldr	r3, [r0, #8]
	cmp	r3, #0
	bne	.L3
.L4:
	ldr	r1, .L18+16
	ldr	r3, [r0]
	ldr	r0, [r1]
	bic	r2, r2, r3
	orr	r0, r2, r0
	bx	lr
.L19:
	.align	2
.L18:
	.word	ATTR_RO
	.word	ATTR_DIR
	.word	S_IWUGO
	.word	S_IFREG
	.word	S_IFDIR
	.size	fat_make_mode, .-fat_make_mode
	.comm	S_IWUGO,4,4
	.comm	S_IFREG,4,4
	.comm	S_IFDIR,4,4
	.comm	ATTR_RO,4,4
	.comm	ATTR_DIR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
