	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rate_control_pid_event
_rate_control_pid_event:                ## @rate_control_pid_event
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leaq	12(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rsi
	movq	24(%rbx), %rcx
	leaq	1(%rsi), %rax
	movq	_RC_PID_EVENT_RING_SIZE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	%rdx, (%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%rsi,%rsi,2), %rdx
	movl	%eax, 16(%rcx,%rdx,8)
	movslq	16(%rbx), %rax
	leal	1(%rax), %esi
	movl	%esi, 16(%rbx)
	movq	%rax, 8(%rcx,%rdx,8)
	movl	%r12d, (%rcx,%rdx,8)
	movl	(%r15), %eax
	movl	%eax, 4(%rcx,%rdx,8)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	addq	$8, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up_all                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RC_PID_EVENT_RING_SIZE,4,2     ## @RC_PID_EVENT_RING_SIZE
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_rate_control_pid_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rate_control_pid_event
_rate_control_pid_event:                ; @rate_control_pid_event
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x22, x0, #12
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #24]
	ldr	x9, [x21]
Lloh0:
	adrp	x10, _RC_PID_EVENT_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RC_PID_EVENT_RING_SIZE@GOTPAGEOFF]
	add	x11, x9, #1
Lloh2:
	ldrsw	x10, [x10]
	udiv	x12, x11, x10
	msub	x10, x12, x10, x11
Lloh3:
	adrp	x11, _jiffies@GOTPAGE
Lloh4:
	ldr	x11, [x11, _jiffies@GOTPAGEOFF]
	str	x10, [x21]
Lloh5:
	ldr	w10, [x11]
	mov	w11, #24
	madd	x8, x9, x11, x8
	str	w10, [x8, #16]
	ldrsw	x9, [x21, #16]
	add	w10, w9, #1
	str	w10, [x21, #16]
	str	x9, [x8, #8]
	str	w20, [x8]
	ldr	w9, [x19]
	str	w9, [x8, #4]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	add	x0, x21, #8
	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
	b	_wake_up_all
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RC_PID_EVENT_RING_SIZE,4,2     ; @RC_PID_EVENT_RING_SIZE
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_rate_control_pid_event
.subsections_via_symbols
