	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg_update_disptime
_tg_update_disptime:                    ## @tg_update_disptime
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$-1, -40(%rbp)
	movq	$-1, -32(%rbp)
	movq	_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%rsi), %rdi
	callq	_bio_list_peek
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_tg_may_dispatch
LBB0_2:
	movq	_WRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	callq	_bio_list_peek
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	-32(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_tg_may_dispatch
	movq	-32(%rbp), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	$-1, %rsi
LBB0_5:
	movq	-40(%rbp), %rdi
	callq	_min
	movq	%rax, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_throtl_dequeue_tg
	movq	%rbx, (%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_throtl_enqueue_tg
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ,8,3                       ## @READ
	.comm	_WRITE,8,3                      ## @WRITE
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_tg_update_disptime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg_update_disptime
_tg_update_disptime:                    ; @tg_update_disptime
	.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	x19, x1
	mov	x20, x0
	mov	x8, #-1
	stp	x8, x8, [sp]
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _READ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_bio_list_peek
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_tg_may_dispatch
LBB0_2:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WRITE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	bl	_bio_list_peek
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
	mov	x3, sp
	mov	x0, x20
	mov	x1, x19
	bl	_tg_may_dispatch
	ldr	x1, [sp]
	b	LBB0_5
LBB0_4:
	mov	x1, #-1
LBB0_5:
	ldr	x0, [sp, #8]
	bl	_min
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x21, x8, x0
	mov	x0, x20
	mov	x1, x19
	bl	_throtl_dequeue_tg
	str	x21, [x19]
	mov	x0, x20
	mov	x1, x19
	bl	_throtl_enqueue_tg
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_READ,8,3                       ; @READ
	.comm	_WRITE,8,3                      ; @WRITE
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_tg_update_disptime
.subsections_via_symbols
