	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2o_block_remove
_i2o_block_remove:                      ## @i2o_block_remove
	.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	%rdi, %r15
	callq	_to_i2o_device
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_osm_info
	movq	_i2o_block_driver@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i2o_event_register
	movq	(%rbx), %rdi
	callq	_del_gendisk
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_dev_set_drvdata
	movq	%r14, %rdi
	callq	_i2o_device_claim_release
	movq	%rbx, %rdi
	callq	_i2o_block_device_free
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device removed (TID: %03x): %s\n"

	.comm	_i2o_block_driver,4,2           ## @i2o_block_driver
	.no_dead_strip	_i2o_block_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2o_block_remove
_i2o_block_remove:                      ; @i2o_block_remove
	.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, x0
	bl	_to_i2o_device
	mov	x20, x0
	mov	x0, x19
	bl	_dev_get_drvdata
	mov	x21, x0
	ldr	w1, [x20]
	ldr	x8, [x0]
	ldr	w2, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_osm_info
Lloh2:
	adrp	x1, _i2o_block_driver@GOTPAGE
Lloh3:
	ldr	x1, [x1, _i2o_block_driver@GOTPAGEOFF]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_i2o_event_register
	ldr	x0, [x21]
	bl	_del_gendisk
	mov	x0, x19
	mov	x1, #0
	bl	_dev_set_drvdata
	mov	x0, x20
	bl	_i2o_device_claim_release
	mov	x0, x21
	bl	_i2o_block_device_free
	mov	w0, #0
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device removed (TID: %03x): %s\n"

	.comm	_i2o_block_driver,4,2           ; @i2o_block_driver
	.no_dead_strip	_i2o_block_remove
.subsections_via_symbols
