	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2o_block_open
_i2o_block_open:                        ## @i2o_block_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	4(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	cmpl	$32, (%rbx)
	jl	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_i2o_block_device_power
	movl	4(%rbx), %edi
LBB0_4:
	movl	$-1, %esi
	callq	_i2o_block_device_mount
	movl	4(%rbx), %edi
	movl	$-1, %esi
	callq	_i2o_block_device_lock
	leaq	L_.str(%rip), %rdi
	callq	_osm_debug
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ready.\n"

	.no_dead_strip	_i2o_block_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2o_block_open
_i2o_block_open:                        ; @i2o_block_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	w0, [x19, #4]
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #32
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #2
	bl	_i2o_block_device_power
	ldr	w0, [x19, #4]
LBB0_3:
	mov	w1, #-1
	bl	_i2o_block_device_mount
	ldr	w0, [x19, #4]
	mov	w1, #-1
	bl	_i2o_block_device_lock
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_osm_debug
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ready.\n"

	.no_dead_strip	_i2o_block_open
.subsections_via_symbols
