	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmz_submit_bio
_dmz_submit_bio:                        ## @dmz_submit_bio
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rdx, %rdi
	movl	$4, %esi
	callq	_dm_per_bio_data
	movq	%rax, %r12
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%r15), %rdx
	movq	%r13, %rdi
	callq	_bio_clone_fast
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bio_set_dev
	movl	(%r15), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_dmz_start_sect
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_dmz_blk2sect
	cltq
	addq	%r15, %rax
	movq	%rax, 8(%rbx)
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_dmz_blk2sect
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, (%rbx)
	movq	_dmz_clone_endio@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movq	%r12, 16(%rbx)
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bio_advance
	movq	%r12, %rdi
	callq	_refcount_inc
	movq	%rbx, %rdi
	callq	_generic_make_request
	movq	%r13, %rdi
	callq	_bio_op
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dmz_is_seq
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, (%rax)
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_dmz_clone_endio,4,2            ## @dmz_clone_endio
	.comm	_REQ_OP_WRITE,8,3               ## @REQ_OP_WRITE
	.no_dead_strip	_dmz_submit_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmz_submit_bio
_dmz_submit_bio:                        ; @dmz_submit_bio
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x24, x3
	mov	x21, x2
	mov	x20, x1
	mov	x25, x0
	mov	x0, x2
	mov	w1, #4
	bl	_dm_per_bio_data
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, x25, #16
	mov	x0, x21
	bl	_bio_clone_fast
	cbz	x0, LBB0_4
; %bb.1:
	mov	x23, x0
	ldr	x8, [x25, #8]
	ldr	w1, [x8]
	bl	_bio_set_dev
	ldr	w0, [x25]
	mov	x1, x20
	bl	_dmz_start_sect
	mov	x25, x0
	mov	x0, x24
	bl	_dmz_blk2sect
	add	x8, x25, w0, sxtw
	str	x8, [x23, #8]
	mov	x0, x19
	bl	_dmz_blk2sect
Lloh3:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w1, w0, w8
	str	w1, [x23]
Lloh6:
	adrp	x8, _dmz_clone_endio@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dmz_clone_endio@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x23, #24]
	str	x22, [x23, #16]
	mov	x0, x21
	bl	_bio_advance
	mov	x0, x22
	bl	_refcount_inc
	mov	x0, x23
	bl	_generic_make_request
	mov	x0, x21
	bl	_bio_op
Lloh9:
	adrp	x8, _REQ_OP_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REQ_OP_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_dmz_is_seq
	cbz	x0, LBB0_6
; %bb.3:
	mov	w0, #0
	ldr	w8, [x20]
	add	w8, w8, w19
	str	w8, [x20]
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_dmz_clone_endio,4,2            ; @dmz_clone_endio
	.comm	_REQ_OP_WRITE,8,3               ; @REQ_OP_WRITE
	.no_dead_strip	_dmz_submit_bio
.subsections_via_symbols
