	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5l_append_payload_meta
_r5l_append_payload_meta:               ## @r5l_append_payload_meta
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	(%rdi), %r15
	movl	4(%r15), %edi
	callq	_page_address
	movq	%rax, %r13
	movslq	(%r15), %rbx
	movl	%r14d, %edi
	callq	_cpu_to_le16
	leaq	(%rbx,%rbx,4), %rbx
	movq	%rax, 32(%r13,%rbx,8)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r13,%rbx,8)
	xorl	%eax, %eax
	testl	%r12d, %r12d
	sete	%al
	movl	$2, %r14d
	subl	%eax, %r14d
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	addb	$-9, %cl
	movl	%r14d, %edi
	shll	%cl, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r13,%rbx,8)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le64
	movl	%eax, 8(%r13,%rbx,8)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	(%r13,%rbx,8), %rcx
	movq	%rax, (%rcx)
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	leaq	(,%rbx,8), %rbx
	addq	%r13, %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
LBB0_2:
	movl	(%r15), %eax
	leal	(%rax,%r14,4), %eax
	addl	$40, %eax
	movl	%eax, (%r15)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_r5l_append_payload_meta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r5l_append_payload_meta
_r5l_append_payload_meta:               ; @r5l_append_payload_meta
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x5
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	ldr	x25, [x0]
	ldr	w0, [x25, #4]
	bl	_page_address
	mov	x24, x0
	ldrsw	x26, [x25]
	mov	x0, x23
	bl	_cpu_to_le16
	mov	w8, #40
	madd	x23, x26, x8, x24
	str	x0, [x23, #32]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x23, #24]
	cmp	w20, #0
	mov	w8, #1
	cinc	w24, w8, ne
Lloh0:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #9
	lsl	w0, w24, w8
	bl	_cpu_to_le32
	str	x0, [x23, #16]
	mov	x0, x22
	bl	_cpu_to_le64
	str	w0, [x23, #8]
	mov	x0, x21
	bl	_cpu_to_le32
	ldr	x8, [x23]
	str	x0, [x8]
	cbz	w20, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_cpu_to_le32
	ldr	x8, [x23]
	str	x0, [x8, #8]
LBB0_2:
	ldr	w8, [x25]
	add	w8, w8, w24, lsl #2
	add	w8, w8, #40
	str	w8, [x25]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_r5l_append_payload_meta
.subsections_via_symbols
