	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_request
_prepare_request:                       ## @prepare_request
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r12
	movq	%rdi, 72(%rsi)
	xorl	%eax, %eax
	cmpq	$0, 16(%r12)
	movq	%r9, %r15
	movl	%ecx, %r14d
	sete	%al
	movl	28(%r12,%rax,4), %eax
	movq	64(%rsi), %rcx
	movl	%eax, (%rcx)
	movl	32(%r12), %eax
	movl	%eax, 4(%rcx)
	movl	$-1, (%rsi)
	movq	%rdx, 8(%rsi)
	movl	%r8d, 16(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rsi)
	callq	_rq_data_dir
	movq	_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_UBD_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_UBD_WRITE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	32(%rbx), %rax
	movl	$0, (%rax)
	movl	24(%r12), %ecx
	movl	%ecx, 4(%rax)
	movq	%r15, %rdi
	callq	_page_address
	movslq	%r14d, %rcx
	addq	%rax, %rcx
	movq	%rcx, 24(%rbx)
	movl	$512, 20(%rbx)                  ## imm = 0x200
	cmpq	$0, 16(%r12)
	je	LBB0_4
## %bb.5:
	movl	8(%r12), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cowify_req                     ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ,8,3                       ## @READ
	.comm	_UBD_READ,4,2                   ## @UBD_READ
	.comm	_UBD_WRITE,4,2                  ## @UBD_WRITE
	.no_dead_strip	_prepare_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_request
_prepare_request:                       ; @prepare_request
	.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	x20, x5
	mov	x21, x3
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x22, [x8]
	str	x0, [x1, #72]
	ldr	x8, [x22, #16]
	mov	w9, #28
	mov	w10, #32
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x22, x8]
	ldr	x9, [x1, #64]
	str	w8, [x9]
	ldr	w8, [x22, #32]
	str	w8, [x9, #4]
	mov	w8, #-1
	str	w8, [x1]
	str	x2, [x1, #8]
	str	w4, [x1, #16]
	stp	xzr, xzr, [x1, #48]
	bl	_rq_data_dir
Lloh0:
	adrp	x8, _READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _UBD_READ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UBD_READ@GOTPAGEOFF]
Lloh5:
	adrp	x10, _UBD_WRITE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _UBD_WRITE@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #40]
	ldr	x8, [x19, #32]
	str	wzr, [x8]
	ldr	w9, [x22, #24]
	str	w9, [x8, #4]
	mov	x0, x20
	bl	_page_address
	add	x8, x0, w21, sxtw
	str	x8, [x19, #24]
	mov	w8, #512
	str	w8, [x19, #20]
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w2, w1, [x22, #4]
	ldr	w3, [x22]
	mov	x0, 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	_cowify_req
LBB0_2:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_READ,8,3                       ; @READ
	.comm	_UBD_READ,4,2                   ; @UBD_READ
	.comm	_UBD_WRITE,4,2                  ; @UBD_WRITE
	.no_dead_strip	_prepare_request
.subsections_via_symbols
