	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2o_block_prep_req_fn
_i2o_block_prep_req_fn:                 ## @i2o_block_prep_req_fn
	.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), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_osm_err
	movq	_BLKPREP_KILL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	cmpq	$0, 8(%r15)
	je	LBB0_3
LBB0_6:
	movq	_REQ_DONTPREP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	_BLKPREP_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	callq	_i2o_block_request_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_osm_debug
	movq	_BLKPREP_DEFER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, 8(%r14)
	movq	%r14, 8(%r15)
	movq	%r15, (%r14)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"block device already removed\n"

	.comm	_BLKPREP_KILL,4,2               ## @BLKPREP_KILL
L_.str.1:                               ## @.str.1
	.asciz	"unable to allocate i2o_block_request!\n"

	.comm	_BLKPREP_DEFER,4,2              ## @BLKPREP_DEFER
	.comm	_REQ_DONTPREP,4,2               ## @REQ_DONTPREP
	.comm	_BLKPREP_OK,4,2                 ## @BLKPREP_OK
	.no_dead_strip	_i2o_block_prep_req_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2o_block_prep_req_fn
_i2o_block_prep_req_fn:                 ; @i2o_block_prep_req_fn
	.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
	ldr	x21, [x0]
	cmp	x21, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_osm_err
Lloh2:
	adrp	x8, _BLKPREP_KILL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BLKPREP_KILL@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _REQ_DONTPREP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REQ_DONTPREP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh7:
	adrp	x8, _BLKPREP_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BLKPREP_OK@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	bl	_i2o_block_request_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_osm_debug
Lloh11:
	adrp	x8, _BLKPREP_DEFER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BLKPREP_DEFER@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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
LBB0_7:
	str	x20, [x19, #8]
	stp	x19, x21, [x20]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"block device already removed\n"

	.comm	_BLKPREP_KILL,4,2               ; @BLKPREP_KILL
l_.str.1:                               ; @.str.1
	.asciz	"unable to allocate i2o_block_request!\n"

	.comm	_BLKPREP_DEFER,4,2              ; @BLKPREP_DEFER
	.comm	_REQ_DONTPREP,4,2               ; @REQ_DONTPREP
	.comm	_BLKPREP_OK,4,2                 ; @BLKPREP_OK
	.no_dead_strip	_i2o_block_prep_req_fn
.subsections_via_symbols
