	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_tone_timeout               ## -- Begin function dsp_tone_timeout
	.p2align	4, 0x90
_dsp_tone_timeout:                      ## @dsp_tone_timeout
	.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
	cmpl	$0, 16(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	movslq	(%rdi), %rax
	movq	(%r15), %rcx
	movl	4(%rcx,%rax,4), %ecx
	incq	%rax
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	movl	%eax, (%rdi)
	movq	16(%r15), %rcx
	movslq	%eax, %r12
	movq	(%rcx,%r12,8), %rsi
	movq	_DATA_S@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_2
## %bb.3:
	movq	8(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_4:
	callq	_dsp_tone_hw_message
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_init_timer
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%r15), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	(%rcx,%r12,4), %edx
	movslq	%edx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$41, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA_S,8,3                     ## @DATA_S
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_tone_timeout               ; -- Begin function dsp_tone_timeout
	.p2align	2
_dsp_tone_timeout:                      ; @dsp_tone_timeout
	.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
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x21, [x0, #24]
	ldrsw	x8, [x0]
	add	x8, x8, #1
	ldr	x9, [x21]
	ldr	w9, [x9, x8, lsl #2]
	cmp	w9, #0
	csel	w8, wzr, w8, eq
	str	w8, [x0]
	ldr	x9, [x21, #16]
	sxtw	x22, w8
	ldr	x1, [x9, w8, sxtw #3]
Lloh0:
	adrp	x8, _DATA_S@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA_S@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w2, [x8]
	mov	x0, x19
	b	LBB0_5
LBB0_3:
	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
LBB0_4:
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
LBB0_5:
	bl	_dsp_tone_hw_message
	add	x20, x19, #8
	mov	x0, x20
	bl	_init_timer
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	w9, [x9, x22, lsl #2]
Lloh6:
	adrp	x10, _HZ@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	mul	w9, w10, w9
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #41
	add	w9, w9, w10
	add	x8, x8, w9, sxtw
	str	x8, [x19, #8]
	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
	b	_add_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA_S,8,3                     ; @DATA_S
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
.subsections_via_symbols
