	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5l_append_payload_page
_r5l_append_payload_page:               ## @r5l_append_payload_page
	.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, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_BUG_ON
	movl	4(%rbx), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	callq	_r5l_bio_alloc
	movl	%eax, 4(%rbx)
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_bio_chain
	movl	$0, (%rbx)
LBB0_2:
	movl	4(%rbx), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_bio_add_page
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_BUG
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r5_reserve_log_entry           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_r5l_append_payload_page
.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_page
_r5l_append_payload_page:               ; @r5l_append_payload_page
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_BUG_ON
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_r5l_bio_alloc
	str	w0, [x19, #4]
	ldr	w1, [x19, #8]
	bl	_bio_chain
	str	wzr, [x19]
LBB0_2:
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x21
	mov	w3, #0
	bl	_bio_add_page
	cbnz	w0, LBB0_4
; %bb.3:
	bl	_BUG
LBB0_4:
	mov	x0, x20
	mov	x1, 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
	b	_r5_reserve_log_entry
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_r5l_append_payload_page
.subsections_via_symbols
