	.file	"extr_create.c_inherit_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	inherit_mode
	.type	inherit_mode, @function
inherit_mode:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L3
	mov	eax, DWORD PTR S_IFDIR[rip]
	or	eax, DWORD PTR S_ISVTX[rip]
	or	eax, DWORD PTR S_ISUID[rip]
	not	eax
	and	eax, DWORD PTR [rdi]
	test	esi, esi
	jne	.L1
	mov	edx, DWORD PTR S_ISGID[rip]
	not	edx
	and	eax, edx
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, 493
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	inherit_mode, .-inherit_mode
	.comm	S_ISVTX,4,4
	.comm	S_ISUID,4,4
	.comm	S_ISGID,4,4
	.comm	S_IFDIR,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_create.c_inherit_mode.c"
	.text
	.align	2
	.global	inherit_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	inherit_mode, %function
inherit_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	subs	r3, r0, #0
	beq	.L3
	ldr	r0, .L5
	ldr	ip, .L5+4
	ldr	r2, .L5+8
	ldr	r0, [r0]
	ldr	ip, [ip]
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r0, r0, ip
	cmp	r1, #0
	orr	r0, r0, r2
	bic	r0, r3, r0
	ldreq	r3, .L5+12
	ldreq	r3, [r3]
	biceq	r0, r0, r3
	bx	lr
.L3:
	ldr	r0, .L5+16
	bx	lr
.L6:
	.align	2
.L5:
	.word	S_IFDIR
	.word	S_ISVTX
	.word	S_ISUID
	.word	S_ISGID
	.word	493
	.size	inherit_mode, .-inherit_mode
	.comm	S_ISVTX,4,4
	.comm	S_ISUID,4,4
	.comm	S_ISGID,4,4
	.comm	S_IFDIR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
