	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cb_put_phdr
_cb_put_phdr:                           ## @cb_put_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	movl	8(%rsi), %edi
	callq	_round_page
	movq	_PT_LOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rbx)
	movl	%eax, 40(%rbx)
	movq	8(%r15), %rdx
	movq	%rdx, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	16(%r15), %rcx
	subq	%rdx, %rcx
	movq	%rcx, 16(%rbx)
	movq	%rcx, (%rbx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 12(%rbx)
	movl	$0, 8(%rbx)
	movl	(%r15), %edx
	movq	_VM_PROT_READ@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_1
## %bb.2:
	movq	_PF_R@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 8(%rbx)
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
LBB0_3:
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	je	LBB0_5
## %bb.4:
	movq	_PF_W@GOTPCREL(%rip), %rdi
	orl	(%rdi), %esi
	movl	%esi, 8(%rbx)
LBB0_5:
	movq	_VM_PROT_EXECUTE@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	je	LBB0_7
## %bb.6:
	movq	_PF_X@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, 8(%rbx)
LBB0_7:
	addl	%ecx, %eax
	movl	%eax, 8(%r14)
	addq	$48, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PT_LOAD,4,2                    ## @PT_LOAD
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_VM_PROT_READ,4,2               ## @VM_PROT_READ
	.comm	_PF_R,4,2                       ## @PF_R
	.comm	_VM_PROT_WRITE,4,2              ## @VM_PROT_WRITE
	.comm	_PF_W,4,2                       ## @PF_W
	.comm	_VM_PROT_EXECUTE,4,2            ## @VM_PROT_EXECUTE
	.comm	_PF_X,4,2                       ## @PF_X
	.no_dead_strip	_cb_put_phdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cb_put_phdr
_cb_put_phdr:                           ; @cb_put_phdr
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1]
	ldr	w0, [x1, #8]
	bl	_round_page
Lloh0:
	adrp	x8, _PT_LOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PT_LOAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w0, w8, [x21, #40]
	ldp	x8, x9, [x20, #8]
	stp	xzr, x8, [x21, #24]
	sub	x8, x9, x8
	str	x8, [x21, #16]
	str	x8, [x21]
Lloh3:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	wzr, w9, [x21, #8]
	ldr	w9, [x20]
Lloh6:
	adrp	x10, _VM_PROT_READ@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VM_PROT_READ@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x10, _PF_R@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PF_R@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	str	w10, [x21, #8]
	b	LBB0_3
LBB0_2:
	mov	w10, #0
LBB0_3:
Lloh12:
	adrp	x11, _VM_PROT_WRITE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_5
; %bb.4:
Lloh15:
	adrp	x11, _PF_W@GOTPAGE
Lloh16:
	ldr	x11, [x11, _PF_W@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	w10, [x21, #8]
LBB0_5:
Lloh18:
	adrp	x11, _VM_PROT_EXECUTE@GOTPAGE
Lloh19:
	ldr	x11, [x11, _VM_PROT_EXECUTE@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_7
; %bb.6:
Lloh21:
	adrp	x9, _PF_X@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PF_X@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w9, w10, w9
	str	w9, [x21, #8]
LBB0_7:
	add	w8, w0, w8
	str	w8, [x19, #8]
	ldr	x8, [x19]
	add	x8, x8, #48
	str	x8, [x19]
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PT_LOAD,4,2                    ; @PT_LOAD
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_PF_R,4,2                       ; @PF_R
	.comm	_VM_PROT_WRITE,4,2              ; @VM_PROT_WRITE
	.comm	_PF_W,4,2                       ; @PF_W
	.comm	_VM_PROT_EXECUTE,4,2            ; @VM_PROT_EXECUTE
	.comm	_PF_X,4,2                       ; @PF_X
	.no_dead_strip	_cb_put_phdr
.subsections_via_symbols
