	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_wss_timer_start
_snd_wss_timer_start:                   ## @snd_wss_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_snd_timer_chip
	movq	%rax, %r15
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %ebx
	movq	(%r15), %rax
	movq	_CS4231_ALT_FEATURE_1@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	_CS4231_TIMER_ENABLE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_1
## %bb.2:
	movzbl	%bh, %edx
	movq	_CS4231_TIMER_HIGH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpl	(%rax,%rsi,4), %edx
	jne	LBB0_4
## %bb.3:
	movzbl	%bl, %ecx
	movq	_CS4231_TIMER_LOW@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpl	(%rax,%rdi,4), %ecx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_CS4231_TIMER_HIGH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movzbl	%bh, %edx
LBB0_4:
	movl	%edx, (%rax,%rsi,4)
	movq	%r15, %rdi
	callq	_snd_wss_out
	movzbl	%bl, %edx
	movq	(%r15), %rax
	movq	_CS4231_TIMER_LOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	%edx, (%rax,%rsi,4)
	movq	%r15, %rdi
	callq	_snd_wss_out
	movq	(%r13), %rsi
	movq	(%r15), %rax
	movl	(%r12), %edx
	orl	(%rax,%rsi,4), %edx
	movq	%r15, %rdi
	callq	_snd_wss_out
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS4231_ALT_FEATURE_1,8,3       ## @CS4231_ALT_FEATURE_1
	.comm	_CS4231_TIMER_ENABLE,4,2        ## @CS4231_TIMER_ENABLE
	.comm	_CS4231_TIMER_HIGH,8,3          ## @CS4231_TIMER_HIGH
	.comm	_CS4231_TIMER_LOW,8,3           ## @CS4231_TIMER_LOW
	.no_dead_strip	_snd_wss_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_wss_timer_start
_snd_wss_timer_start:                   ; @snd_wss_timer_start
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	bl	_snd_timer_chip
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w23, [x21]
	ldr	x8, [x20]
Lloh0:
	adrp	x21, _CS4231_ALT_FEATURE_1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CS4231_ALT_FEATURE_1@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w9, [x8, x9, lsl #2]
Lloh2:
	adrp	x22, _CS4231_TIMER_ENABLE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _CS4231_TIMER_ENABLE@GOTPAGEOFF]
	ldr	w10, [x22]
Lloh4:
	adrp	x24, _CS4231_TIMER_LOW@GOTPAGE
Lloh5:
	ldr	x24, [x24, _CS4231_TIMER_LOW@GOTPAGEOFF]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.1:
	ubfx	w2, w23, #8, #8
Lloh6:
	adrp	x9, _CS4231_TIMER_HIGH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CS4231_TIMER_HIGH@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x9]
	ldr	w9, [x8, x1, lsl #2]
	cmp	w2, w9
	b.ne	LBB0_4
; %bb.2:
	ldr	x9, [x24]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, w23, uxtb
	b.ne	LBB0_4
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x9, _CS4231_TIMER_HIGH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CS4231_TIMER_HIGH@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x9]
	ubfx	w2, w23, #8, #8
LBB0_4:
	str	w2, [x8, x1, lsl #2]
	mov	x0, x20
	bl	_snd_wss_out
	and	w2, w23, #0xff
	ldr	x8, [x20]
	ldr	x1, [x24]
	str	w2, [x8, x1, lsl #2]
	mov	x0, x20
	bl	_snd_wss_out
	ldr	x1, [x21]
	ldr	x8, [x20]
	ldr	w8, [x8, x1, lsl #2]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_snd_wss_out
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CS4231_ALT_FEATURE_1,8,3       ; @CS4231_ALT_FEATURE_1
	.comm	_CS4231_TIMER_ENABLE,4,2        ; @CS4231_TIMER_ENABLE
	.comm	_CS4231_TIMER_HIGH,8,3          ; @CS4231_TIMER_HIGH
	.comm	_CS4231_TIMER_LOW,8,3           ; @CS4231_TIMER_LOW
	.no_dead_strip	_snd_wss_timer_start
.subsections_via_symbols
