	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dmz_ctr
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dmz_ctr:                               ## @dmz_ctr
	.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
	cmpl	$1, %esi
	jne	LBB0_1
## %bb.3:
	movq	%rdx, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	%rax, 40(%r15)
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_dmz_get_zoned_device
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r13d
	movq	$0, 48(%r14)
	jmp	LBB0_21
LBB0_1:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r15)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r15)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_22
LBB0_7:
	movq	40(%r14), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dmz_ctr_metadata
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%r15)
	jmp	LBB0_20
LBB0_9:
	movl	(%r12), %eax
	shll	$9, %eax
	movl	%eax, 8(%r15)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,4]
	movups	%xmm0, 12(%r15)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 28(%r15)
	movl	(%r14), %edi
	callq	_dmz_nr_chunks
	movb	4(%r12), %cl
	shll	%cl, %eax
	movl	%eax, 36(%r15)
	leaq	4(%r14), %rbx
	movq	_DMZ_MIN_BIOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_bioset_init
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rax
	movq	%rax, (%r15)
	jmp	LBB0_19
LBB0_11:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r14), %rdi
	movq	%rdi, %rbx
	callq	_mutex_init
	leaq	36(%r14), %rdi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_RADIX_TREE
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rcx
	movq	_WQ_UNBOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rcx), %esi
	movl	8(%r12), %ecx
	leaq	L_.str.4(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_alloc_workqueue
	movl	%eax, 12(%r14)
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	leaq	32(%r14), %rdi
	callq	_spin_lock_init
	leaq	28(%r14), %rdi
	callq	_bio_list_init
	leaq	24(%r14), %r13
	movq	_dmz_flush_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_INIT_DELAYED_WORK
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r12), %edx
	leaq	L_.str.6(%rip), %rdi
	callq	_alloc_ordered_workqueue
	movl	%eax, 16(%r14)
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movq	_DMZ_FLUSH_PERIOD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_mod_delayed_work
	movl	(%r14), %esi
	movq	%r14, %rdx
	addq	$20, %rdx
	movq	%r12, %rdi
	callq	_dmz_ctr_reclaim
	testl	%eax, %eax
	je	LBB0_23
## %bb.16:
	movl	%eax, %r13d
	leaq	L_.str.8(%rip), %rax
	movq	%rax, (%r15)
	movl	16(%r14), %edi
	callq	_destroy_workqueue
	jmp	LBB0_17
LBB0_12:
	leaq	L_.str.5(%rip), %rax
	movq	%rax, (%r15)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_18
LBB0_14:
	leaq	L_.str.7(%rip), %rax
	movq	%rax, (%r15)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_17:
	movl	12(%r14), %edi
	callq	_destroy_workqueue
LBB0_18:
	movq	%rbx, %rdi
	callq	_mutex_destroy
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_bioset_exit
LBB0_19:
	movl	(%r14), %edi
	callq	_dmz_dtr_metadata
LBB0_20:
	movq	%r15, %rdi
	callq	_dmz_put_zoned_device
LBB0_21:
	movq	%r14, %rdi
	callq	_kfree
LBB0_22:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	36(%r15), %eax
	movslq	%eax, %rbx
	movl	%ebx, %edi
	callq	_dmz_sect2blk
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_dmz_dev_info
	xorl	%r13d, %r13d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid argument count"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Unable to allocate the zoned target descriptor"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Metadata initialization failed"

	.comm	_DMZ_MIN_BIOS,4,2               ## @DMZ_MIN_BIOS
L_.str.3:                               ## @.str.3
	.asciz	"Create BIO set failed"

	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
L_.str.4:                               ## @.str.4
	.asciz	"dmz_cwq_%s"

	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
	.comm	_WQ_UNBOUND,4,2                 ## @WQ_UNBOUND
L_.str.5:                               ## @.str.5
	.asciz	"Create chunk workqueue failed"

	.comm	_dmz_flush_work,4,2             ## @dmz_flush_work
L_.str.6:                               ## @.str.6
	.asciz	"dmz_fwq_%s"

L_.str.7:                               ## @.str.7
	.asciz	"Create flush workqueue failed"

	.comm	_DMZ_FLUSH_PERIOD,4,2           ## @DMZ_FLUSH_PERIOD
L_.str.8:                               ## @.str.8
	.asciz	"Zone reclaim initialization failed"

L_.str.9:                               ## @.str.9
	.asciz	"Target device: %llu 512-byte logical sectors (%llu blocks)"

	.no_dead_strip	_dmz_ctr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function dmz_ctr
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dmz_ctr:                               ; @dmz_ctr
	.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, x0
	cmp	w1, #1
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	str	x0, [x19, #40]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_dmz_get_zoned_device
	cbz	w0, LBB0_7
; %bb.3:
	mov	x24, x0
	str	xzr, [x20, #48]
	b	LBB0_21
LBB0_4:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_22
LBB0_7:
	ldr	x22, [x20, #40]
	mov	x0, x22
	mov	x1, x20
	bl	_dmz_ctr_metadata
	cbz	w0, LBB0_9
; %bb.8:
	mov	x24, x0
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x19]
	b	LBB0_20
LBB0_9:
	ldr	w8, [x22]
	lsl	w8, w8, #9
	str	w8, [x19, #8]
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #12]
	movi.2s	v0, #1
	stur	d0, [x19, #28]
	mov	x21, x20
	ldr	w0, [x21], #4
	bl	_dmz_nr_chunks
	ldr	w8, [x22, #4]
	lsl	w8, w0, w8
	str	w8, [x19, #36]
Lloh15:
	adrp	x8, _DMZ_MIN_BIOS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMZ_MIN_BIOS@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_bioset_init
	cbz	w0, LBB0_11
; %bb.10:
	mov	x24, x0
Lloh18:
	adrp	x8, l_.str.3@PAGE
Lloh19:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [x19]
	b	LBB0_19
LBB0_11:
	add	x23, x20, #8
	mov	x0, x23
	bl	_mutex_init
	add	x0, x20, #36
Lloh20:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_INIT_RADIX_TREE
Lloh23:
	adrp	x25, _WQ_MEM_RECLAIM@GOTPAGE
Lloh24:
	ldr	x25, [x25, _WQ_MEM_RECLAIM@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh25:
	adrp	x9, _WQ_UNBOUND@GOTPAGE
Lloh26:
	ldr	x9, [x9, _WQ_UNBOUND@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w3, [x22, #8]
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w2, #0
	bl	_alloc_workqueue
	str	w0, [x20, #12]
	cbz	w0, LBB0_15
; %bb.12:
	add	x0, x20, #32
	bl	_spin_lock_init
	add	x0, x20, #28
	bl	_bio_list_init
	add	x24, x20, #24
Lloh30:
	adrp	x8, _dmz_flush_work@GOTPAGE
Lloh31:
	ldr	x8, [x8, _dmz_flush_work@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_INIT_DELAYED_WORK
	ldr	w1, [x25]
	ldr	w2, [x22, #8]
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_alloc_ordered_workqueue
	str	w0, [x20, #16]
	cbz	w0, LBB0_16
; %bb.13:
Lloh35:
	adrp	x8, _DMZ_FLUSH_PERIOD@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DMZ_FLUSH_PERIOD@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_mod_delayed_work
	mov	x2, x20
	ldr	w1, [x2], #20
	mov	x0, x22
	bl	_dmz_ctr_reclaim
	mov	x24, x0
	cbz	w0, LBB0_23
; %bb.14:
Lloh38:
	adrp	x8, l_.str.8@PAGE
Lloh39:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [x19]
	ldr	w0, [x20, #16]
	bl	_destroy_workqueue
	b	LBB0_17
LBB0_15:
Lloh40:
	adrp	x8, l_.str.5@PAGE
Lloh41:
	add	x8, x8, l_.str.5@PAGEOFF
	str	x8, [x19]
Lloh42:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_18
LBB0_16:
Lloh45:
	adrp	x8, l_.str.7@PAGE
Lloh46:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x19]
Lloh47:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_17:
	ldr	w0, [x20, #12]
	bl	_destroy_workqueue
LBB0_18:
	mov	x0, x23
	bl	_mutex_destroy
	mov	x0, x21
	bl	_bioset_exit
LBB0_19:
	ldr	w0, [x20]
	bl	_dmz_dtr_metadata
LBB0_20:
	mov	x0, x19
	bl	_dmz_put_zoned_device
LBB0_21:
	mov	x0, x20
	bl	_kfree
LBB0_22:
	mov	x0, x24
	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
LBB0_23:
	ldr	w0, [x19, #36]
	sxtw	x19, w0
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_dmz_sect2blk
	mov	x3, x0
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	bl	_dmz_dev_info
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid argument count"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Unable to allocate the zoned target descriptor"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Metadata initialization failed"

	.comm	_DMZ_MIN_BIOS,4,2               ; @DMZ_MIN_BIOS
l_.str.3:                               ; @.str.3
	.asciz	"Create BIO set failed"

	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
l_.str.4:                               ; @.str.4
	.asciz	"dmz_cwq_%s"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
	.comm	_WQ_UNBOUND,4,2                 ; @WQ_UNBOUND
l_.str.5:                               ; @.str.5
	.asciz	"Create chunk workqueue failed"

	.comm	_dmz_flush_work,4,2             ; @dmz_flush_work
l_.str.6:                               ; @.str.6
	.asciz	"dmz_fwq_%s"

l_.str.7:                               ; @.str.7
	.asciz	"Create flush workqueue failed"

	.comm	_DMZ_FLUSH_PERIOD,4,2           ; @DMZ_FLUSH_PERIOD
l_.str.8:                               ; @.str.8
	.asciz	"Zone reclaim initialization failed"

l_.str.9:                               ; @.str.9
	.asciz	"Target device: %llu 512-byte logical sectors (%llu blocks)"

	.no_dead_strip	_dmz_ctr
.subsections_via_symbols
