	.file	"extr_posix_spawn.c_posix_spawnattr_getmacpolicyinfo_np.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	posix_spawnattr_getmacpolicyinfo_np
	.type	posix_spawnattr_getmacpolicyinfo_np, @function
posix_spawnattr_getmacpolicyinfo_np:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L16
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L16
	test	rsi, rsi
	je	.L16
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	rdx, rdx
	je	.L20
	mov	edi, DWORD PTR [rax]
	mov	rbp, rcx
	call	posix_spawnattr_macpolicyinfo_lookup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR ESRCH[rip]
	test	rdx, rdx
	je	.L1
	mov	rax, QWORD PTR 8[rdx]
	mov	QWORD PTR [rbx], rax
	xor	eax, eax
	test	rbp, rbp
	je	.L1
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR 0[rbp], rdx
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore 3
	.cfi_restore 6
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	posix_spawnattr_getmacpolicyinfo_np, .-posix_spawnattr_getmacpolicyinfo_np
	.comm	ESRCH,4,4
	.comm	EINVAL,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_posix_spawn.c_posix_spawnattr_getmacpolicyinfo_np.c"
	.text
	.align	2
	.global	posix_spawnattr_getmacpolicyinfo_np
	.syntax unified
	.arm
	.fpu softvfp
	.type	posix_spawnattr_getmacpolicyinfo_np, %function
posix_spawnattr_getmacpolicyinfo_np:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	ip, r0, #0
	beq	.L14
	push	{r4, r5, r6, lr}
	mov	r5, r3
	ldr	r3, [ip]
	cmp	r3, #0
	beq	.L2
	clz	r0, r2
	cmp	r1, #0
	lsr	r0, r0, #5
	mov	r4, r1
	movne	r4, r0
	moveq	r4, #1
	cmp	r4, #0
	mov	r6, r2
	beq	.L3
.L2:
	ldr	r3, .L19
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r0, [r3]
	bl	posix_spawnattr_macpolicyinfo_lookup
	cmp	r0, #0
	beq	.L18
	ldr	r3, [r0, #4]
	cmp	r5, #0
	str	r3, [r6]
	ldrne	r3, [r0]
	movne	r0, r4
	strne	r3, [r5]
	moveq	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, .L19
	ldr	r0, [r3]
	bx	lr
.L18:
	ldr	r3, .L19+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	EINVAL
	.word	ESRCH
	.size	posix_spawnattr_getmacpolicyinfo_np, .-posix_spawnattr_getmacpolicyinfo_np
	.comm	ESRCH,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
