	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2o_block_request_fn
_i2o_block_request_fn:                  ## @i2o_block_request_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_blk_queue_plugged
	testl	%eax, %eax
	je	LBB0_1
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_REQ_TYPE_FS@GOTPCREL(%rip), %r12
	movq	_EIO@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_blk_start_request
	xorl	%esi, %esi
	subl	(%r14), %esi
	movq	%rbx, %rdi
	callq	___blk_end_request_all
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_blk_queue_plugged
	testl	%eax, %eax
	jne	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_blk_peek_request
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	(%r12), %rax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %r13d
	movq	_I2O_BLOCK_MAX_OPEN_REQUESTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jae	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_i2o_block_transfer
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_osm_info
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	movq	_i2o_block_delayed_request_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_DELAYED_WORK
	movq	_i2o_block_driver@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I2O_BLOCK_RETRY_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_queue_delayed_work
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_14
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_blk_start_request
	jmp	LBB0_14
LBB0_12:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_blk_stop_queue                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_TYPE_FS,8,3                ## @REQ_TYPE_FS
	.comm	_I2O_BLOCK_MAX_OPEN_REQUESTS,4,2 ## @I2O_BLOCK_MAX_OPEN_REQUESTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transfer error\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_i2o_block_delayed_request_fn,4,2 ## @i2o_block_delayed_request_fn
	.comm	_i2o_block_driver,4,2           ## @i2o_block_driver
	.comm	_I2O_BLOCK_RETRY_TIME,4,2       ## @I2O_BLOCK_RETRY_TIME
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_i2o_block_request_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_request_fn
_i2o_block_request_fn:                  ; @i2o_block_request_fn
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_blk_queue_plugged
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x22, _REQ_TYPE_FS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REQ_TYPE_FS@GOTPAGEOFF]
Lloh2:
	adrp	x23, _I2O_BLOCK_MAX_OPEN_REQUESTS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _I2O_BLOCK_MAX_OPEN_REQUESTS@GOTPAGEOFF]
Lloh4:
	adrp	x24, _GFP_ATOMIC@GOTPAGE
Lloh5:
	ldr	x24, [x24, _GFP_ATOMIC@GOTPAGEOFF]
Lloh6:
	adrp	x25, _i2o_block_delayed_request_fn@GOTPAGE
Lloh7:
	ldr	x25, [x25, _i2o_block_delayed_request_fn@GOTPAGEOFF]
Lloh8:
	adrp	x26, _i2o_block_driver@GOTPAGE
Lloh9:
	ldr	x26, [x26, _i2o_block_driver@GOTPAGEOFF]
Lloh10:
	adrp	x27, _I2O_BLOCK_RETRY_TIME@GOTPAGE
Lloh11:
	ldr	x27, [x27, _I2O_BLOCK_RETRY_TIME@GOTPAGEOFF]
Lloh12:
	adrp	x28, _EIO@GOTPAGE
Lloh13:
	ldr	x28, [x28, _EIO@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_blk_start_request
	ldr	w8, [x28]
	neg	w1, w8
	mov	x0, x21
	bl	___blk_end_request_all
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_blk_queue_plugged
	cbnz	w0, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_blk_peek_request
	cbz	x0, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w20, [x8]
	ldr	w8, [x23]
	cmp	w20, w8
	b.hs	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_i2o_block_transfer
	cbz	w0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_osm_info
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w20, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	str	x19, [x0, #8]
	ldr	w1, [x25]
	bl	_INIT_DELAYED_WORK
	ldr	w0, [x26]
	ldr	w2, [x27]
	mov	x1, x21
	bl	_queue_delayed_work
	cbnz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_kfree
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_blk_start_request
	b	LBB0_4
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_blk_stop_queue
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_TYPE_FS,8,3                ; @REQ_TYPE_FS
	.comm	_I2O_BLOCK_MAX_OPEN_REQUESTS,4,2 ; @I2O_BLOCK_MAX_OPEN_REQUESTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transfer error\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_i2o_block_delayed_request_fn,4,2 ; @i2o_block_delayed_request_fn
	.comm	_i2o_block_driver,4,2           ; @i2o_block_driver
	.comm	_I2O_BLOCK_RETRY_TIME,4,2       ; @I2O_BLOCK_RETRY_TIME
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_i2o_block_request_fn
.subsections_via_symbols
