	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmz_write_sb
_dmz_write_sb:                          ## @dmz_write_sb
	.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
	movq	32(%rdi), %r12
	movq	40(%rdi), %rax
	movl	%esi, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	movq	16(%rax,%rcx,8), %r14
	movq	(%rax,%rcx,8), %rbx
	movq	8(%rax,%rcx,8), %r13
	incq	%r12
	movq	_DMZ_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 72(%rbx)
	movq	_DMZ_META_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 64(%rbx)
	movq	%r12, %rdi
	callq	_cpu_to_le64
	movq	%rax, 56(%rbx)
	movq	%r14, %rdi
	callq	_cpu_to_le64
	movq	%rax, 48(%rbx)
	movl	24(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	movl	20(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 32(%rbx)
	movl	16(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%rbx)
	movl	12(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%rbx)
	movl	8(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	movq	$0, (%rbx)
	movq	_DMZ_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_crc32_le
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%rbx)
	movq	_REQ_OP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_dmz_rdwr_block
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_blkdev_issue_flush             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMZ_MAGIC,4,2                  ## @DMZ_MAGIC
	.comm	_DMZ_META_VER,4,2               ## @DMZ_META_VER
	.comm	_DMZ_BLOCK_SIZE,4,2             ## @DMZ_BLOCK_SIZE
	.comm	_REQ_OP_WRITE,4,2               ## @REQ_OP_WRITE
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.no_dead_strip	_dmz_write_sb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmz_write_sb
_dmz_write_sb:                          ; @dmz_write_sb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	w8, #24
	ldp	x10, x9, [x0, #32]
	umaddl	x8, w1, w8, x9
	ldp	x23, x20, [x8, #8]
	ldr	x21, [x8]
	add	x22, x10, #1
Lloh0:
	adrp	x8, _DMZ_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMZ_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x21, #72]
Lloh3:
	adrp	x8, _DMZ_META_VER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMZ_META_VER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x21, #64]
	mov	x0, x22
	bl	_cpu_to_le64
	str	x0, [x21, #56]
	mov	x0, x20
	bl	_cpu_to_le64
	str	x0, [x21, #48]
	ldr	w0, [x19, #24]
	bl	_cpu_to_le32
	str	x0, [x21, #40]
	ldr	w0, [x19, #20]
	bl	_cpu_to_le32
	str	x0, [x21, #32]
	ldr	w0, [x19, #16]
	bl	_cpu_to_le32
	str	x0, [x21, #24]
	ldr	w0, [x19, #12]
	bl	_cpu_to_le32
	str	x0, [x21, #16]
	ldr	w0, [x19, #8]
	bl	_cpu_to_le32
	stp	xzr, x0, [x21]
Lloh6:
	adrp	x8, _DMZ_BLOCK_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMZ_BLOCK_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x21
	bl	_crc32_le
	bl	_cpu_to_le32
	str	x0, [x21]
Lloh9:
	adrp	x8, _REQ_OP_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REQ_OP_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x20
	bl	_dmz_rdwr_block
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_blkdev_issue_flush
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DMZ_MAGIC,4,2                  ; @DMZ_MAGIC
	.comm	_DMZ_META_VER,4,2               ; @DMZ_META_VER
	.comm	_DMZ_BLOCK_SIZE,4,2             ; @DMZ_BLOCK_SIZE
	.comm	_REQ_OP_WRITE,4,2               ; @REQ_OP_WRITE
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.no_dead_strip	_dmz_write_sb
.subsections_via_symbols
