	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lb_throttle
_lb_throttle:                           ## @lb_throttle
	.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	_lb_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %r14
	movq	_lb_interval_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	_lb_throttle.last_access(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	subq	%r14, %rbx
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movq	%rbx, %rdi
	callq	_schedule_timeout
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	movq	_EINTR@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	movq	(%r15), %r14
LBB0_4:
	movq	%r14, _lb_throttle.last_access(%rip)
	xorl	%ebx, %ebx
LBB0_5:
	movq	_lb_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_lb_throttle.last_access,8,3 ## @lb_throttle.last_access
	.comm	_lb_mutex,4,2                   ## @lb_mutex
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_lb_interval_jiffies,8,3        ## @lb_interval_jiffies
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_EINTR,4,2                      ## @EINTR
	.no_dead_strip	_lb_throttle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lb_throttle
_lb_throttle:                           ; @lb_throttle
	.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
Lloh0:
	adrp	x0, _lb_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _lb_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x22, _jiffies@GOTPAGE
Lloh3:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x19, [x22]
	adrp	x21, _lb_throttle.last_access@PAGE
	ldr	x8, [x21, _lb_throttle.last_access@PAGEOFF]
Lloh4:
	adrp	x9, _lb_interval_jiffies@GOTPAGE
Lloh5:
	ldr	x9, [x9, _lb_interval_jiffies@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	add	x20, x9, x8
	mov	x0, x19
	mov	x1, x20
	bl	_time_before
	cbz	x0, LBB0_4
; %bb.1:
	sub	x19, x20, x19
Lloh7:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_set_current_state
	mov	x0, x19
	bl	_schedule_timeout
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _EINTR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_3:
	ldr	x19, [x22]
LBB0_4:
	mov	w20, #0
	str	x19, [x21, _lb_throttle.last_access@PAGEOFF]
LBB0_5:
Lloh13:
	adrp	x0, _lb_mutex@GOTPAGE
Lloh14:
	ldr	x0, [x0, _lb_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_lb_throttle.last_access,8,3 ; @lb_throttle.last_access
	.comm	_lb_mutex,4,2                   ; @lb_mutex
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_lb_interval_jiffies,8,3        ; @lb_interval_jiffies
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_EINTR,4,2                      ; @EINTR
	.no_dead_strip	_lb_throttle
.subsections_via_symbols
