	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu10k1_timer_start
_snd_emu10k1_timer_start:               ## @snd_emu10k1_timer_start
	.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	%rdi, %rbx
	callq	_snd_timer_chip
	movq	%rax, %r14
	movl	(%rbx), %eax
	decl	%eax
	cmpl	$6, %eax
	movl	$5, %ebx
	cmovael	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_INTE_INTERVALTIMERENB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_snd_emu10k1_intr_enable
	movq	_TIMER_RATE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_TIMER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	callq	_outw
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTE_INTERVALTIMERENB,4,2      ## @INTE_INTERVALTIMERENB
	.comm	_TIMER_RATE_MASK,4,2            ## @TIMER_RATE_MASK
	.comm	_TIMER,8,3                      ## @TIMER
	.no_dead_strip	_snd_emu10k1_timer_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_emu10k1_timer_start
_snd_emu10k1_timer_start:               ; @snd_emu10k1_timer_start
	.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
	mov	x19, x0
	bl	_snd_timer_chip
	mov	x20, x0
	ldr	w8, [x19]
	sub	w8, w8, #1
	mov	w9, #5
	cmp	w8, #5
	csel	w19, w8, w9, hi
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _INTE_INTERVALTIMERENB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTE_INTERVALTIMERENB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_snd_emu10k1_intr_enable
Lloh3:
	adrp	x8, _TIMER_RATE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIMER_RATE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w19
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _TIMER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TIMER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outw
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTE_INTERVALTIMERENB,4,2      ; @INTE_INTERVALTIMERENB
	.comm	_TIMER_RATE_MASK,4,2            ; @TIMER_RATE_MASK
	.comm	_TIMER,8,3                      ; @TIMER
	.no_dead_strip	_snd_emu10k1_timer_start
.subsections_via_symbols
