	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmz_bio_endio
_dmz_bio_endio:                         ## @dmz_bio_endio
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$16, %esi
	callq	_dm_per_bio_data
	movq	%rax, %rbx
	movq	_BLK_STS_OK@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	%r14, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%rax, (%r15)
	jne	LBB0_3
## %bb.2:
	movq	%r14, (%r15)
LBB0_3:
	leaq	8(%rbx), %rdi
	callq	_refcount_dec_and_test
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.5:
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	je	LBB0_9
## %bb.6:
	movq	%r15, %rdi
	callq	_bio_op
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	callq	_dmz_is_seq
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_DMZ_SEQ_WRITE_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_9:
	movq	%r14, %rdi
	callq	_dmz_deactivate_zone
LBB0_10:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bio_endio                      ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_STS_OK,8,3                 ## @BLK_STS_OK
	.comm	_REQ_OP_WRITE,8,3               ## @REQ_OP_WRITE
	.comm	_DMZ_SEQ_WRITE_ERR,4,2          ## @DMZ_SEQ_WRITE_ERR
	.no_dead_strip	_dmz_bio_endio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmz_bio_endio
_dmz_bio_endio:                         ; @dmz_bio_endio
	.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	x21, x1
	mov	x19, x0
	mov	w1, #16
	bl	_dm_per_bio_data
	mov	x20, x0
Lloh0:
	adrp	x22, _BLK_STS_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BLK_STS_OK@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x21
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x19]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	str	x21, [x19]
LBB0_3:
	add	x0, x20, #8
	bl	_refcount_dec_and_test
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x20, [x20]
	cbz	x20, LBB0_10
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_bio_op
Lloh2:
	adrp	x8, _REQ_OP_WRITE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REQ_OP_WRITE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_dmz_is_seq
	cbz	x0, LBB0_9
; %bb.8:
Lloh5:
	adrp	x8, _DMZ_SEQ_WRITE_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMZ_SEQ_WRITE_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
LBB0_9:
	mov	x0, x20
	bl	_dmz_deactivate_zone
LBB0_10:
	mov	x0, x19
	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
	b	_bio_endio
LBB0_11:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_STS_OK,8,3                 ; @BLK_STS_OK
	.comm	_REQ_OP_WRITE,8,3               ; @REQ_OP_WRITE
	.comm	_DMZ_SEQ_WRITE_ERR,4,2          ; @DMZ_SEQ_WRITE_ERR
	.no_dead_strip	_dmz_bio_endio
.subsections_via_symbols
