	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_update_io_seektime
_cfq_update_io_seektime:                ## @cfq_update_io_seektime
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_blk_rq_sectors
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_blk_rq_pos
	cmpq	%rax, %rbx
	jge	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_blk_rq_pos
	movq	%rax, %r13
	subq	(%r12), %r13
	jmp	LBB0_5
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_4:
	movq	(%r12), %r13
	movq	%r14, %rdi
	callq	_blk_rq_pos
	subq	%rax, %r13
LBB0_5:
	shll	8(%r12)
	movl	(%r15), %edi
	callq	_blk_queue_nonrot
	movq	_CFQQ_SEEK_THR@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %r13
	setg	%dl
	movq	_CFQQ_SECT_THR_NONROT@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpq	(%rcx), %rdi
	setl	%sil
	testq	%rax, %rax
	cmovel	%edx, %esi
	movzbl	%sil, %eax
	orl	%eax, 8(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CFQQ_SECT_THR_NONROT,8,3       ## @CFQQ_SECT_THR_NONROT
	.comm	_CFQQ_SEEK_THR,8,3              ## @CFQQ_SEEK_THR
	.no_dead_strip	_cfq_update_io_seektime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_update_io_seektime
_cfq_update_io_seektime:                ; @cfq_update_io_seektime
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x2
	bl	_blk_rq_sectors
	mov	x20, x0
	ldr	x23, [x19]
	cbz	x23, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_blk_rq_pos
	cmp	x23, x0
	b.ge	LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_blk_rq_pos
	ldr	x8, [x19]
	sub	x22, x0, x8
	b	LBB0_5
LBB0_3:
	mov	x22, #0
	b	LBB0_5
LBB0_4:
	ldr	x23, [x19]
	mov	x0, x22
	bl	_blk_rq_pos
	sub	x22, x23, x0
LBB0_5:
	ldr	w8, [x19, #8]
	lsl	w8, w8, #1
	str	w8, [x19, #8]
	ldr	w0, [x21]
	bl	_blk_queue_nonrot
Lloh0:
	adrp	x8, _CFQQ_SEEK_THR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CFQQ_SEEK_THR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x22, x8
	cset	w8, gt
Lloh3:
	adrp	x9, _CFQQ_SECT_THR_NONROT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CFQQ_SECT_THR_NONROT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x20, x9
	cset	w9, lt
	cmp	x0, #0
	csel	w8, w8, w9, eq
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CFQQ_SECT_THR_NONROT,8,3       ; @CFQQ_SECT_THR_NONROT
	.comm	_CFQQ_SEEK_THR,8,3              ; @CFQQ_SEEK_THR
	.no_dead_strip	_cfq_update_io_seektime
.subsections_via_symbols
