	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_record_phdr                ## -- Begin function bfd_record_phdr
	.p2align	4, 0x90
_bfd_record_phdr:                       ## @bfd_record_phdr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, %rbx
	movl	%ecx, %r13d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_bfd_get_flavour
	movq	_bfd_target_elf_flavour@GOTPCREL(%rip), %rcx
	movq	_TRUE@GOTPCREL(%rip), %rdx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %r12d
	leal	64(,%r12,8), %esi
	movq	%r14, %rdi
	callq	_bfd_zalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	24(%rbp), %rax
	movq	16(%rbp), %rcx
	movq	%r15, (%rbx)
	movl	%r13d, 68(%rbx)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 64(%rbx)
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 56(%rbx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 48(%rbx)
	movq	%rcx, 40(%rbx)
	movq	%rax, 32(%rbx)
	movl	%r12d, 8(%rbx)
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.4:
	movq	40(%rbp), %rsi
	shll	$3, %r12d
	movl	24(%rbx), %edi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_5:
	movq	%r14, %rdi
	callq	_elf_tdata
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	(%rax), %rdx
	leaq	16(%rdx), %rax
	testq	%rdx, %rdx
	jne	LBB0_6
## %bb.7:
	movq	%rbx, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rdx
LBB0_8:
	movq	(%rdx), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_target_elf_flavour,8,3     ## @bfd_target_elf_flavour
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_record_phdr                ; -- Begin function bfd_record_phdr
	.p2align	2
_bfd_record_phdr:                       ; @bfd_record_phdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x22, x6
	mov	x24, x5
	mov	x23, x4
	mov	x27, x3
	mov	x26, x2
	mov	x28, x1
	mov	x19, x0
	bl	_bfd_get_flavour
Lloh0:
	adrp	x8, _bfd_target_elf_flavour@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_target_elf_flavour@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w21, [x29, #16]
	lsl	w25, w21, #3
	add	w1, w25, #64
	mov	x0, x19
	bl	_bfd_zalloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	str	x28, [x0]
	stp	w24, w27, [x0, #64]
	stp	x23, x26, [x0, #48]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	stp	x8, x22, [x0, #32]
	str	w21, [x0, #8]
	cbz	w21, LBB0_4
; %bb.3:
	ldr	x1, [x29, #24]
	ldr	w0, [x20, #24]
	mov	x2, x25
	bl	_memcpy
LBB0_4:
	mov	x0, x19
	bl	_elf_tdata
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x0
	ldr	x9, [x0]
	add	x0, x9, #16
	cbnz	x9, LBB0_5
; %bb.6:
	str	x20, [x8]
LBB0_7:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_target_elf_flavour,8,3     ; @bfd_target_elf_flavour
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
.subsections_via_symbols
