	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_flagphdr                   ## -- Begin function elf_flagphdr
	.p2align	4, 0x90
_elf_flagphdr:                          ## @elf_flagphdr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	_ELF_C_SET@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_ELF_C_CLR@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_7
LBB0_3:
	movq	(%rdi), %rax
	movq	_ELF_K_ELF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movq	_ELF_F_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%edx, %eax
	jne	LBB0_7
## %bb.5:
	movl	8(%rdi), %eax
	movq	_ELFCLASS32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	cmpl	%r8d, %eax
	je	LBB0_10
## %bb.6:
	movq	_ELFCLASS64@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
LBB0_7:
	movq	_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_LIBELF_SET_ERROR
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_10:
	xorl	%ecx, %ecx
	cmpl	%r8d, %eax
	sete	%cl
	cmpq	$0, 16(%rdi,%rcx,8)
	je	LBB0_11
## %bb.12:
	popq	%rbp
	jmp	_elf_flagelf                    ## TAILCALL
LBB0_11:
	movq	_SEQUENCE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ELF_C_SET,8,3                  ## @ELF_C_SET
	.comm	_ELF_C_CLR,8,3                  ## @ELF_C_CLR
	.comm	_ELF_K_ELF,8,3                  ## @ELF_K_ELF
	.comm	_ELF_F_DIRTY,4,2                ## @ELF_F_DIRTY
	.comm	_ELFCLASS32,4,2                 ## @ELFCLASS32
	.comm	_ELFCLASS64,4,2                 ## @ELFCLASS64
	.comm	_ARGUMENT,4,2                   ## @ARGUMENT
	.comm	_SEQUENCE,4,2                   ## @SEQUENCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_flagphdr                   ; -- Begin function elf_flagphdr
	.p2align	2
_elf_flagphdr:                          ; @elf_flagphdr
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _ELF_C_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELF_C_SET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ELF_C_CLR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELF_C_CLR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _ELF_K_ELF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ELF_K_ELF@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
Lloh9:
	adrp	x8, _ELF_F_DIRTY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ELF_F_DIRTY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bics	wzr, w2, w8
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x0, #8]
Lloh12:
	adrp	x9, _ELFCLASS32@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ELFCLASS32@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _ELFCLASS64@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ELFCLASS64@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_7
; %bb.5:
	cmp	w8, w9
	mov	w8, #16
	mov	w9, #24
	csel	x8, x9, x8, eq
	ldr	x8, [x0, x8]
	cbz	x8, LBB0_10
; %bb.6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_elf_flagelf
LBB0_7:
Lloh18:
	adrp	x8, _ARGUMENT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ARGUMENT@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_LIBELF_SET_ERROR
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh20:
	adrp	x8, _SEQUENCE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SEQUENCE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ELF_C_SET,8,3                  ; @ELF_C_SET
	.comm	_ELF_C_CLR,8,3                  ; @ELF_C_CLR
	.comm	_ELF_K_ELF,8,3                  ; @ELF_K_ELF
	.comm	_ELF_F_DIRTY,4,2                ; @ELF_F_DIRTY
	.comm	_ELFCLASS32,4,2                 ; @ELFCLASS32
	.comm	_ELFCLASS64,4,2                 ; @ELFCLASS64
	.comm	_ARGUMENT,4,2                   ; @ARGUMENT
	.comm	_SEQUENCE,4,2                   ; @SEQUENCE
.subsections_via_symbols
