	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as_close_req
_as_close_req:                          ## @as_close_req
	.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, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	%rdx, %rdi
	callq	_blk_rq_pos
	movq	16(%r15), %rcx
	movq	_ANTIC_OFF@GOTPCREL(%rip), %rdx
	movl	$8192, %esi                     ## imm = 0x2000
	cmpq	(%rdx), %rcx
	je	LBB0_6
## %bb.1:
	cmpl	$0, 44(%r15)
	je	LBB0_6
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subq	24(%r15), %rcx
	je	LBB0_6
## %bb.3:
	movq	_HZ@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	$1374389535, %rdx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$36, %rdx
	addl	%esi, %edx
	movslq	%edx, %rsi
	movl	$1, %edx
	cmpq	%rsi, %rcx
	ja	LBB0_12
## %bb.4:
	cmpq	32(%r15), %rcx
	ja	LBB0_12
## %bb.5:
	movl	$8192, %esi                     ## imm = 0x2000
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %esi
LBB0_6:
	movl	%esi, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	movl	$1, %edx
	cmpl	%ecx, %ebx
	jg	LBB0_8
## %bb.7:
	addl	%ebx, %esi
	cmpl	%esi, %eax
	jle	LBB0_12
LBB0_8:
	movl	%ebx, %ecx
	subl	%eax, %ecx
	negl	%ecx
	subl	%eax, %ebx
	cmovll	%ecx, %ebx
	cmpq	$0, (%r14)
	je	LBB0_9
## %bb.10:
	cmpl	%ebx, 8(%r14)
	jg	LBB0_12
LBB0_11:
	xorl	%edx, %edx
LBB0_12:
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	%ebx, 40(%r15)
	jle	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ANTIC_OFF,8,3                  ## @ANTIC_OFF
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_as_close_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as_close_req
_as_close_req:                          ; @as_close_req
	.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
	ldp	x8, x9, [x0]
	ldr	w21, [x8, x9, lsl #2]
	mov	x0, x2
	bl	_blk_rq_pos
	ldr	x8, [x20, #16]
Lloh0:
	adrp	x9, _ANTIC_OFF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ANTIC_OFF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x20, #44]
	cbz	w8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x20, #24]
	subs	x8, x8, x9
	b.ne	LBB0_9
LBB0_3:
	mov	w8, #8192
LBB0_4:
	add	w9, w0, w8, asr #1
	add	w8, w8, w21
	cmp	w21, w9
	ccmp	w0, w8, #0, le
	b.le	LBB0_11
; %bb.5:
	sub	w8, w0, w21
	subs	w9, w21, w0
	csel	w8, w8, w9, lt
	ldr	x9, [x19]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	w9, [x19, #8]
	cmp	w9, w8
	b.le	LBB0_8
	b	LBB0_11
LBB0_7:
	ldr	w9, [x20, #40]
	cmp	w9, w8
	b.gt	LBB0_11
LBB0_8:
	mov	w0, #0
	b	LBB0_12
LBB0_9:
Lloh6:
	adrp	x9, _HZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #36
	add	w9, w9, w10
	cmp	x8, w9, sxtw
	b.hi	LBB0_11
; %bb.10:
	ldr	x9, [x20, #32]
	cmp	x8, x9
	b.ls	LBB0_13
LBB0_11:
	mov	w0, #1
LBB0_12:
	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
LBB0_13:
	mov	w9, #8192
	lsl	w8, w9, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ANTIC_OFF,8,3                  ; @ANTIC_OFF
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_as_close_req
.subsections_via_symbols
