	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_output_phdrs
_make_output_phdrs:                     ## @make_output_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)
	callq	_bfd_section_name
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_PT_LOAD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PT_NOTE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r15d
	movq	_PF_R@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bfd_get_section_flags
	movq	_SEC_READONLY@GOTPCREL(%rip), %rcx
	movl	$0, %ebx
	andl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	_PF_W@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bfd_get_section_flags
	movq	_SEC_CODE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	movq	_PF_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	orl	%eax, %ebx
	leaq	-48(%rbp), %rax
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$1
	pushq	$0
	pushq	$0
	callq	_bfd_record_phdr
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"load"

	.comm	_PT_LOAD,4,2                    ## @PT_LOAD
	.comm	_PT_NOTE,4,2                    ## @PT_NOTE
	.comm	_PF_R,4,2                       ## @PF_R
	.comm	_SEC_READONLY,4,2               ## @SEC_READONLY
	.comm	_PF_W,4,2                       ## @PF_W
	.comm	_SEC_CODE,4,2                   ## @SEC_CODE
	.comm	_PF_X,4,2                       ## @PF_X
	.no_dead_strip	_make_output_phdrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_output_phdrs
_make_output_phdrs:                     ; @make_output_phdrs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	str	x1, [sp, #24]
	bl	_bfd_section_name
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strncmp
Lloh2:
	adrp	x8, _PT_LOAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PT_LOAD@GOTPAGEOFF]
Lloh4:
	adrp	x9, _PT_NOTE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PT_NOTE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _PF_R@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PF_R@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_bfd_get_section_flags
Lloh9:
	adrp	x8, _SEC_READONLY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEC_READONLY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _PF_W@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PF_W@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, w9, wzr, eq
	orr	w22, w8, w22
	mov	x0, x20
	mov	x1, x19
	bl	_bfd_get_section_flags
Lloh15:
	adrp	x8, _SEC_CODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SEC_CODE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _PF_X@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PF_X@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
	orr	w3, w22, w8
	add	x8, sp, #24
	str	x8, [sp, #8]
	mov	w8, #1
	str	w8, [sp]
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_bfd_record_phdr
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"load"

	.comm	_PT_LOAD,4,2                    ; @PT_LOAD
	.comm	_PT_NOTE,4,2                    ; @PT_NOTE
	.comm	_PF_R,4,2                       ; @PF_R
	.comm	_SEC_READONLY,4,2               ; @SEC_READONLY
	.comm	_PF_W,4,2                       ; @PF_W
	.comm	_SEC_CODE,4,2                   ; @SEC_CODE
	.comm	_PF_X,4,2                       ; @PF_X
	.no_dead_strip	_make_output_phdrs
.subsections_via_symbols
