	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_ratelimit                  ## -- Begin function ata_ratelimit
	.p2align	4, 0x90
_ata_ratelimit:                         ## @ata_ratelimit
	.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	_ata_ratelimit_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_ratelimit_time@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
	cltq
	addq	(%r14), %rax
	movq	%rax, (%rbx)
	movl	$1, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_ata_ratelimit_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ata_ratelimit_lock,4,2         ## @ata_ratelimit_lock
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ratelimit_time,8,3             ## @ratelimit_time
	.comm	_HZ,4,2                         ## @HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_ratelimit                  ; -- Begin function ata_ratelimit
	.p2align	2
_ata_ratelimit:                         ; @ata_ratelimit
	.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
Lloh0:
	adrp	x0, _ata_ratelimit_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ata_ratelimit_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x20, _jiffies@GOTPAGE
Lloh3:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh4:
	adrp	x19, _ratelimit_time@GOTPAGE
Lloh5:
	ldr	x19, [x19, _ratelimit_time@GOTPAGEOFF]
	ldr	x1, [x19]
	bl	_time_after
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _HZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	add	x8, x8, w9, sxtw
	str	x8, [x19]
	mov	w19, #1
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
Lloh9:
	adrp	x0, _ata_ratelimit_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _ata_ratelimit_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ata_ratelimit_lock,4,2         ; @ata_ratelimit_lock
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ratelimit_time,8,3             ; @ratelimit_time
	.comm	_HZ,4,2                         ; @HZ
.subsections_via_symbols
