	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_hardware_zoned_model
_validate_hardware_zoned_model:         ## @validate_hardware_zoned_model
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_BLK_ZONED_NONE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%esi, (%rax)
	je	LBB0_9
## %bb.1:
	movl	%edx, %r15d
	movq	%rdi, %r14
	callq	_dm_table_supports_zoned_model
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.4:
	movl	%r15d, %edi
	callq	_is_power_of_2
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_dm_table_matches_zone_sectors
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movl	(%r14), %edi
	callq	_dm_device_name
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_2:
	movl	(%r14), %edi
	callq	_dm_device_name
	leaq	L_.str(%rip), %rdi
LBB0_7:
	movl	%eax, %esi
	callq	_DMERR
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_ZONED_NONE,4,2             ## @BLK_ZONED_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: zoned model is not consistent across all devices"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"%s: zone sectors is not consistent across all devices"

	.no_dead_strip	_validate_hardware_zoned_model
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_hardware_zoned_model
_validate_hardware_zoned_model:         ; @validate_hardware_zoned_model
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _BLK_ZONED_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLK_ZONED_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x20, x2
	mov	x19, x0
	bl	_dm_table_supports_zoned_model
	cbz	w0, LBB0_7
; %bb.3:
	cbz	w20, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_is_power_of_2
	cbz	w0, LBB0_9
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_dm_table_matches_zone_sectors
	cbnz	w0, LBB0_1
; %bb.6:
	ldr	w0, [x19]
	bl	_dm_device_name
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	w0, [x19]
	bl	_dm_device_name
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	bl	_DMERR
LBB0_9:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_ZONED_NONE,4,2             ; @BLK_ZONED_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: zoned model is not consistent across all devices"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"%s: zone sectors is not consistent across all devices"

	.no_dead_strip	_validate_hardware_zoned_model
.subsections_via_symbols
