	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sound_timer_interrupt          ## -- Begin function sound_timer_interrupt
	.p2align	4, 0x90
_sound_timer_interrupt:                 ## @sound_timer_interrupt
	.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	_opened@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movq	_tmr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	*8(%rax)
	movq	_tmr_running@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_tmr_ctr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incl	%edi
	movl	%edi, (%rax)
	movq	_ticks_offs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_tmr2ticks
	addq	%rbx, %rax
	movq	_curr_ticks@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_next_event_time@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jb	LBB0_4
## %bb.3:
	movq	$-1, (%rcx)
	xorl	%edi, %edi
	callq	_sequencer_timer
LBB0_4:
	movq	_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opened,4,2                     ## @opened
	.comm	_tmr,8,3                        ## @tmr
	.comm	_tmr_running,4,2                ## @tmr_running
	.comm	_lock,4,2                       ## @lock
	.comm	_tmr_ctr,4,2                    ## @tmr_ctr
	.comm	_ticks_offs,8,3                 ## @ticks_offs
	.comm	_curr_ticks,8,3                 ## @curr_ticks
	.comm	_next_event_time,8,3            ## @next_event_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sound_timer_interrupt          ; -- Begin function sound_timer_interrupt
	.p2align	2
_sound_timer_interrupt:                 ; @sound_timer_interrupt
	.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	x8, _opened@GOTPAGE
Lloh1:
	ldr	x8, [x8, _opened@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _tmr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tmr@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	blr	x9
Lloh6:
	adrp	x8, _tmr_running@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tmr_running@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
Lloh9:
	adrp	x0, _lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh11:
	adrp	x8, _tmr_ctr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tmr_ctr@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w0, w9, #1
	str	w0, [x8]
Lloh13:
	adrp	x8, _ticks_offs@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ticks_offs@GOTPAGEOFF]
Lloh15:
	ldr	x19, [x8]
	bl	_tmr2ticks
Lloh16:
	adrp	x9, _curr_ticks@GOTPAGE
Lloh17:
	ldr	x9, [x9, _curr_ticks@GOTPAGEOFF]
Lloh18:
	adrp	x8, _next_event_time@GOTPAGE
Lloh19:
	ldr	x8, [x8, _next_event_time@GOTPAGEOFF]
	ldr	x10, [x8]
	add	x11, x0, x19
	cmp	x11, x10
Lloh20:
	str	x11, [x9]
	b.lo	LBB0_4
; %bb.3:
	mov	x9, #-1
	str	x9, [x8]
	mov	w0, #0
	bl	_sequencer_timer
LBB0_4:
Lloh21:
	adrp	x0, _lock@GOTPAGE
Lloh22:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_opened,4,2                     ; @opened
	.comm	_tmr,8,3                        ; @tmr
	.comm	_tmr_running,4,2                ; @tmr_running
	.comm	_lock,4,2                       ; @lock
	.comm	_tmr_ctr,4,2                    ; @tmr_ctr
	.comm	_ticks_offs,8,3                 ; @ticks_offs
	.comm	_curr_ticks,8,3                 ; @curr_ticks
	.comm	_next_event_time,8,3            ; @next_event_time
.subsections_via_symbols
