	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zonecheck
_zonecheck:                             ## @zonecheck
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	%edi, %ebx
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_bzero
	movq	_DISK_ZONE_GET_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_DIOCZONECMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movq	%r13, %rdx
	callq	_ioctl
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movl	-48(%rbp), %ecx
	movl	%ecx, (%r12)
	leal	-128(%rcx), %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_4
LBB0_8:
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str.2(%rip), %rdx
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_DISK_ZONE_GET_PARAMS,4,2       ## @DISK_ZONE_GET_PARAMS
	.comm	_DIOCZONECMD,4,2                ## @DIOCZONECMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not_Zoned"

L_.str.1:                               ## @.str.1
	.asciz	"Host_Aware"

L_.str.2:                               ## @.str.2
	.asciz	"Drive_Managed"

L_.str.3:                               ## @.str.3
	.asciz	"Host_Managed"

L_.str.4:                               ## @.str.4
	.asciz	"Unknown_zone_mode_%u"

	.no_dead_strip	_zonecheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zonecheck
_zonecheck:                             ; @zonecheck
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
Lloh0:
	adrp	x8, _DISK_ZONE_GET_PARAMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISK_ZONE_GET_PARAMS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _DIOCZONECMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIOCZONECMD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	mov	x19, x0
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	w8, [sp, #8]
	str	w8, [x22]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, lJTI0_0@PAGE
Lloh7:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_8
LBB0_4:
	str	x8, [sp]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	bl	_snprintf
LBB0_9:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_DISK_ZONE_GET_PARAMS,4,2       ; @DISK_ZONE_GET_PARAMS
	.comm	_DIOCZONECMD,4,2                ; @DIOCZONECMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not_Zoned"

l_.str.1:                               ; @.str.1
	.asciz	"Host_Aware"

l_.str.2:                               ; @.str.2
	.asciz	"Drive_Managed"

l_.str.3:                               ; @.str.3
	.asciz	"Host_Managed"

l_.str.4:                               ; @.str.4
	.asciz	"Unknown_zone_mode_%u"

	.no_dead_strip	_zonecheck
.subsections_via_symbols
