	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_discard_limits
_set_discard_limits:                    ## @set_discard_limits
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	callq	_bdev_get_queue
	movq	%rax, %r15
	movq	_DM_CLONE_DISCARD_PASSDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	16(%r15), %ecx
	movl	20(%r15), %eax
	movl	%ecx, 16(%r14)
	movups	(%r15), %xmm0
	movups	%xmm0, (%r14)
	jmp	LBB0_3
LBB0_1:
	movl	(%rbx), %esi
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%esi, %edx
	shll	%cl, %edx
	movl	%edx, (%r14)
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movb	(%rax), %cl
	sarl	%cl, %edi
	callq	_round_down
LBB0_3:
	movl	%eax, 20(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_CLONE_DISCARD_PASSDOWN,4,2  ## @DM_CLONE_DISCARD_PASSDOWN
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.no_dead_strip	_set_discard_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_discard_limits
_set_discard_limits:                    ; @set_discard_limits
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8]
	bl	_bdev_get_queue
	mov	x21, x0
Lloh0:
	adrp	x8, _DM_CLONE_DISCARD_PASSDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_CLONE_DISCARD_PASSDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #4
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
	ldp	w8, w0, [x21, #16]
	str	w8, [x19, #16]
	ldr	q0, [x21]
	str	q0, [x19]
	b	LBB0_3
LBB0_2:
	ldr	w1, [x20]
Lloh3:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
	ldr	w9, [x8]
	lsl	w9, w1, w9
	str	w9, [x19]
Lloh5:
	adrp	x9, _UINT_MAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UINT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ldr	w8, [x8]
	asr	w0, w9, w8
	bl	_round_down
LBB0_3:
	str	w0, [x19, #20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_CLONE_DISCARD_PASSDOWN,4,2  ; @DM_CLONE_DISCARD_PASSDOWN
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.no_dead_strip	_set_discard_limits
.subsections_via_symbols
