	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_table_set_restrictions      ## -- Begin function dm_table_set_restrictions
	.p2align	4, 0x90
_dm_table_set_restrictions:             ## @dm_table_set_restrictions
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movups	(%rdx), %xmm0
	movups	16(%rdx), %xmm1
	movups	32(%rdx), %xmm2
	movups	48(%rdx), %xmm3
	movups	%xmm3, 56(%rsi)
	movups	%xmm2, 40(%rsi)
	movups	%xmm1, 24(%rsi)
	movups	%xmm0, 8(%rsi)
	callq	_dm_table_supports_discards
	movq	_QUEUE_FLAG_DISCARD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r12, %rsi
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	callq	_blk_queue_flag_set
	jmp	LBB0_3
LBB0_1:
	callq	_blk_queue_flag_clear
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r12)
	movups	%xmm0, 48(%r12)
	movq	$0, 64(%r12)
LBB0_3:
	movq	%r15, %rdi
	callq	_dm_table_supports_secure_erase
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_QUEUE_FLAG_SECERASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_blk_queue_flag_set
LBB0_5:
	movq	_QUEUE_FLAG_WC@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %ebx
	movl	$1, %esi
	shlq	%cl, %rsi
	movq	%r15, %rdi
	callq	_dm_table_supports_flush
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_QUEUE_FLAG_FUA@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dm_table_supports_flush
	xorl	%edx, %edx
	testq	%rax, %rax
	setne	%dl
	movl	$1, %esi
	jmp	LBB0_8
LBB0_6:
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_8:
	movq	%r12, %rdi
	callq	_blk_queue_write_cache
	movq	_device_supports_dax@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_dm_table_supports_dax
	movq	_QUEUE_FLAG_DAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r12, %rsi
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	callq	_blk_queue_flag_set
	movq	_device_dax_synchronous@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_dm_table_supports_dax
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	(%r15), %rax
	movl	4(%rax), %edi
	callq	_set_dax_synchronous
	jmp	LBB0_12
LBB0_11:
	callq	_blk_queue_flag_clear
LBB0_12:
	movq	%r15, %rdi
	callq	_dm_table_supports_dax_write_cache
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	(%r15), %rax
	movl	4(%rax), %edi
	movl	$1, %esi
	callq	_dax_write_cache
LBB0_14:
	movq	_device_is_nonrot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dm_table_all_devices_attribute
	movq	_QUEUE_FLAG_NONROT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r12, %rsi
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	callq	_blk_queue_flag_set
	jmp	LBB0_17
LBB0_16:
	callq	_blk_queue_flag_clear
LBB0_17:
	movq	%r15, %rdi
	callq	_dm_table_supports_write_same
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movq	$0, 24(%r12)
LBB0_19:
	movq	%r15, %rdi
	callq	_dm_table_supports_write_zeroes
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movq	$0, 16(%r12)
LBB0_21:
	movq	%r15, %rdi
	callq	_dm_table_verify_integrity
	movq	%r15, %rdi
	callq	_dm_table_requires_stable_pages
	movq	_BDI_CAP_STABLE_WRITES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	(%r12), %rax
	orl	%ecx, 4(%rax)
	jmp	LBB0_24
LBB0_23:
	notl	%ecx
	movq	(%r12), %rax
	andl	%ecx, 4(%rax)
LBB0_24:
	movq	%r12, %rdi
	callq	_blk_queue_add_random
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:
	movq	_device_is_not_random@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_dm_table_all_devices_attribute
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	_QUEUE_FLAG_ADD_RANDOM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_blk_queue_flag_clear
LBB0_27:
	movq	%r12, %rdi
	callq	_blk_queue_is_zoned
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_blk_revalidate_disk_zones
LBB0_29:
	movl	(%r14), %eax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	addb	$-9, %cl
	sarl	%cl, %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_QUEUE_FLAG_DISCARD,4,2         ## @QUEUE_FLAG_DISCARD
	.comm	_QUEUE_FLAG_SECERASE,4,2        ## @QUEUE_FLAG_SECERASE
	.comm	_QUEUE_FLAG_WC,8,3              ## @QUEUE_FLAG_WC
	.comm	_QUEUE_FLAG_FUA,8,3             ## @QUEUE_FLAG_FUA
	.comm	_device_supports_dax,4,2        ## @device_supports_dax
	.comm	_QUEUE_FLAG_DAX,4,2             ## @QUEUE_FLAG_DAX
	.comm	_device_dax_synchronous,4,2     ## @device_dax_synchronous
	.comm	_device_is_nonrot,4,2           ## @device_is_nonrot
	.comm	_QUEUE_FLAG_NONROT,4,2          ## @QUEUE_FLAG_NONROT
	.comm	_BDI_CAP_STABLE_WRITES,4,2      ## @BDI_CAP_STABLE_WRITES
	.comm	_device_is_not_random,4,2       ## @device_is_not_random
	.comm	_QUEUE_FLAG_ADD_RANDOM,4,2      ## @QUEUE_FLAG_ADD_RANDOM
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_table_set_restrictions      ; -- Begin function dm_table_set_restrictions
	.p2align	2
_dm_table_set_restrictions:             ; @dm_table_set_restrictions
	.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, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldp	q0, q1, [x2, #32]
	ldp	q3, q2, [x2]
	stur	q3, [x1, #8]
	stur	q1, [x1, #56]
	stur	q0, [x1, #40]
	stur	q2, [x1, #24]
	bl	_dm_table_supports_discards
	mov	x8, x0
Lloh3:
	adrp	x9, _QUEUE_FLAG_DISCARD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QUEUE_FLAG_DISCARD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	mov	x1, x19
	cbz	w8, LBB0_2
; %bb.1:
	bl	_blk_queue_flag_set
	b	LBB0_3
LBB0_2:
	bl	_blk_queue_flag_clear
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
	str	xzr, [x19, #64]
LBB0_3:
	mov	x0, x21
	bl	_dm_table_supports_secure_erase
	cbz	x0, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _QUEUE_FLAG_SECERASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QUEUE_FLAG_SECERASE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_blk_queue_flag_set
LBB0_5:
Lloh9:
	adrp	x8, _QUEUE_FLAG_WC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QUEUE_FLAG_WC@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x1, x9, x8
	mov	x0, x21
	bl	_dm_table_supports_flush
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _QUEUE_FLAG_FUA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QUEUE_FLAG_FUA@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mov	w22, #1
	lsl	x1, x22, x8
	mov	x0, x21
	bl	_dm_table_supports_flush
	cmp	x0, #0
	cset	w2, ne
	b	LBB0_8
LBB0_7:
	mov	w22, #0
	mov	w2, #0
LBB0_8:
	mov	x0, x19
	mov	x1, x22
	bl	_blk_queue_write_cache
Lloh15:
	adrp	x8, _device_supports_dax@GOTPAGE
Lloh16:
	ldr	x8, [x8, _device_supports_dax@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x21
	bl	_dm_table_supports_dax
	mov	x8, x0
Lloh18:
	adrp	x9, _QUEUE_FLAG_DAX@GOTPAGE
Lloh19:
	ldr	x9, [x9, _QUEUE_FLAG_DAX@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
	mov	x1, x19
	cbz	x8, LBB0_11
; %bb.9:
	bl	_blk_queue_flag_set
Lloh21:
	adrp	x8, _device_dax_synchronous@GOTPAGE
Lloh22:
	ldr	x8, [x8, _device_dax_synchronous@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_dm_table_supports_dax
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	bl	_set_dax_synchronous
	b	LBB0_12
LBB0_11:
	bl	_blk_queue_flag_clear
LBB0_12:
	mov	x0, x21
	bl	_dm_table_supports_dax_write_cache
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	mov	w1, #1
	bl	_dax_write_cache
LBB0_14:
Lloh24:
	adrp	x8, _device_is_nonrot@GOTPAGE
Lloh25:
	ldr	x8, [x8, _device_is_nonrot@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_dm_table_all_devices_attribute
	mov	x8, x0
Lloh27:
	adrp	x9, _QUEUE_FLAG_NONROT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _QUEUE_FLAG_NONROT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x9]
	mov	x1, x19
	cbz	x8, LBB0_16
; %bb.15:
	bl	_blk_queue_flag_set
	b	LBB0_17
LBB0_16:
	bl	_blk_queue_flag_clear
LBB0_17:
	mov	x0, x21
	bl	_dm_table_supports_write_same
	cbnz	w0, LBB0_19
; %bb.18:
	str	xzr, [x19, #24]
LBB0_19:
	mov	x0, x21
	bl	_dm_table_supports_write_zeroes
	cbnz	w0, LBB0_21
; %bb.20:
	str	xzr, [x19, #16]
LBB0_21:
	mov	x0, x21
	bl	_dm_table_verify_integrity
	mov	x0, x21
	bl	_dm_table_requires_stable_pages
Lloh30:
	adrp	x8, _BDI_CAP_STABLE_WRITES@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BDI_CAP_STABLE_WRITES@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cbz	x0, LBB0_23
; %bb.22:
	ldr	x9, [x19]
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
	b	LBB0_24
LBB0_23:
	ldr	x9, [x19]
	ldr	w10, [x9, #4]
	bic	w8, w10, w8
LBB0_24:
	str	w8, [x9, #4]
	mov	x0, x19
	bl	_blk_queue_add_random
	cbz	x0, LBB0_27
; %bb.25:
Lloh33:
	adrp	x8, _device_is_not_random@GOTPAGE
Lloh34:
	ldr	x8, [x8, _device_is_not_random@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_dm_table_all_devices_attribute
	cbz	x0, LBB0_27
; %bb.26:
Lloh36:
	adrp	x8, _QUEUE_FLAG_ADD_RANDOM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QUEUE_FLAG_ADD_RANDOM@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_blk_queue_flag_clear
LBB0_27:
	mov	x0, x19
	bl	_blk_queue_is_zoned
	cbz	x0, LBB0_29
; %bb.28:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_blk_revalidate_disk_zones
LBB0_29:
Lloh39:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh41:
	ldr	w8, [x8]
	sub	w8, w8, #9
	asr	w8, w9, w8
	ldr	x9, [x19]
	str	w8, [x9]
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_QUEUE_FLAG_DISCARD,4,2         ; @QUEUE_FLAG_DISCARD
	.comm	_QUEUE_FLAG_SECERASE,4,2        ; @QUEUE_FLAG_SECERASE
	.comm	_QUEUE_FLAG_WC,8,3              ; @QUEUE_FLAG_WC
	.comm	_QUEUE_FLAG_FUA,8,3             ; @QUEUE_FLAG_FUA
	.comm	_device_supports_dax,4,2        ; @device_supports_dax
	.comm	_QUEUE_FLAG_DAX,4,2             ; @QUEUE_FLAG_DAX
	.comm	_device_dax_synchronous,4,2     ; @device_dax_synchronous
	.comm	_device_is_nonrot,4,2           ; @device_is_nonrot
	.comm	_QUEUE_FLAG_NONROT,4,2          ; @QUEUE_FLAG_NONROT
	.comm	_BDI_CAP_STABLE_WRITES,4,2      ; @BDI_CAP_STABLE_WRITES
	.comm	_device_is_not_random,4,2       ; @device_is_not_random
	.comm	_QUEUE_FLAG_ADD_RANDOM,4,2      ; @QUEUE_FLAG_ADD_RANDOM
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
.subsections_via_symbols
