	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rdi
	callq	_bdev_get_queue
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rax, %rcx
	movl	12(%rax), %edx
	movl	16(%rax), %eax
	movl	%edx, 12(%r14)
	movl	(%rcx), %edx
	movl	8(%rcx), %esi
	movl	%esi, 8(%r14)
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%r14)
	jmp	LBB0_3
LBB0_1:
	movq	_sector_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	shll	$10, %esi
	callq	_min_t
	movl	(%rbx), %edx
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
LBB0_3:
	movl	%eax, 16(%r14)
	movl	%edx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sector_t,4,2                   ## @sector_t
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.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	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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x0, [x8]
	bl	_bdev_get_queue
	ldr	w9, [x20, #8]
	cbz	w9, LBB0_2
; %bb.1:
	mov	x8, x0
	ldr	w0, [x0, #16]
	ldr	w9, [x8, #12]
	str	w9, [x19, #12]
	ldr	w9, [x8]
	ldur	d0, [x8, #4]
	stur	d0, [x19, #4]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _sector_t@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sector_t@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w8, w2, [x20]
	lsl	w1, w8, #10
	bl	_min_t
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w8, w9
LBB0_3:
	str	w0, [x19, #16]
	str	w9, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sector_t,4,2                   ; @sector_t
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.no_dead_strip	_set_discard_limits
.subsections_via_symbols
