	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_job_finish
_io_job_finish:                         ## @io_job_finish
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_throttle_spinlock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	decl	24(%rbx)
	movl	28(%rbx), %edi
	callq	_READ_ONCE
	xorl	%edi, %edi
	cmpl	$100, %eax
	setge	%dil
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	cmpl	$0, 24(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	subl	(%rbx), %ecx
	movl	%eax, (%rbx)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rdx
	leaq	(%rax,%rcx), %rsi
	movq	%rsi, 8(%rbx)
	addq	%rdx, %rcx
	movq	%rcx, 16(%rbx)
	xorl	%edi, %edi
	cmpq	%rdx, %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	16(%rbx), %rax
	movq	%rax, 8(%rbx)
LBB0_5:
	movq	_throttle_spinlock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_throttle_spinlock,4,2          ## @throttle_spinlock
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_io_job_finish
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_job_finish
_io_job_finish:                         ; @io_job_finish
	.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, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x0, _throttle_spinlock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _throttle_spinlock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	ldp	w8, w0, [x19, #24]
	sub	w8, w8, #1
	str	w8, [x19, #24]
	bl	_READ_ONCE
	cmp	w0, #99
	cset	w0, gt
	bl	_likely
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _jiffies@GOTPAGE
Lloh3:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	str	w8, [x19]
	ldp	x10, x11, [x19, #8]
	sub	w8, w8, w9
	add	x9, x10, x8
	add	x8, x11, x8
	stp	x9, x8, [x19, #8]
	cmp	x10, x11
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
	str	x8, [x19, #8]
LBB0_6:
Lloh5:
	adrp	x0, _throttle_spinlock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _throttle_spinlock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_throttle_spinlock,4,2          ; @throttle_spinlock
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_io_job_finish
.subsections_via_symbols
