	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_get_elf_phdrs              ## -- Begin function bfd_get_elf_phdrs
	.p2align	4, 0x90
_bfd_get_elf_phdrs:                     ## @bfd_get_elf_phdrs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_bfd_target_elf_flavour@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_elf_elfheader
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_elf_tdata
	movl	(%rax), %esi
	leal	(,%r15,4), %edx
	movq	%r14, %rdi
	callq	_memcpy
	jmp	LBB0_3
LBB0_1:
	movq	_bfd_error_wrong_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	movl	$-1, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_target_elf_flavour,8,3     ## @bfd_target_elf_flavour
	.comm	_bfd_error_wrong_format,4,2     ## @bfd_error_wrong_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_get_elf_phdrs              ; -- Begin function bfd_get_elf_phdrs
	.p2align	2
_bfd_get_elf_phdrs:                     ; @bfd_get_elf_phdrs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _bfd_target_elf_flavour@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_target_elf_flavour@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	bl	_elf_elfheader
	ldr	w20, [x0]
	mov	x0, x21
	bl	_elf_tdata
	ldr	w1, [x0]
	lsl	w2, w20, #2
	mov	x0, x19
	bl	_memcpy
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _bfd_error_wrong_format@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_error_wrong_format@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_bfd_set_error
	mov	w20, #-1
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_target_elf_flavour,8,3     ; @bfd_target_elf_flavour
	.comm	_bfd_error_wrong_format,4,2     ; @bfd_error_wrong_format
.subsections_via_symbols
