	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_wss_timer                  ## -- Begin function snd_wss_timer
	.p2align	4, 0x90
_snd_wss_timer:                         ## @snd_wss_timer
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_SNDRV_TIMER_CLASS_CARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_SNDRV_TIMER_SCLASS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	8(%rdi), %rdi
	movl	(%rdi), %eax
	movl	%eax, -48(%rbp)
	movl	%esi, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	callq	_snd_timer_new
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	-32(%rbp), %rax
	movl	16(%rax), %r15d
	movq	%rbx, %rdi
	callq	_snd_wss_chip_id
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_strcpy
	movq	-32(%rbp), %rcx
	movq	%rbx, 8(%rcx)
	movq	_snd_wss_timer_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_snd_wss_timer_table@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movq	%rcx, (%rbx)
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	%rcx, (%r14)
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_TIMER_CLASS_CARD,4,2     ## @SNDRV_TIMER_CLASS_CARD
	.comm	_SNDRV_TIMER_SCLASS_NONE,4,2    ## @SNDRV_TIMER_SCLASS_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CS4231"

	.comm	_snd_wss_timer_free,4,2         ## @snd_wss_timer_free
	.comm	_snd_wss_timer_table,4,2        ## @snd_wss_timer_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_wss_timer                  ; -- Begin function snd_wss_timer
	.p2align	2
_snd_wss_timer:                         ; @snd_wss_timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
Lloh0:
	adrp	x8, _SNDRV_TIMER_CLASS_CARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_TIMER_CLASS_CARD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SNDRV_TIMER_SCLASS_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNDRV_TIMER_SCLASS_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #28]
	ldr	x0, [x0, #8]
	ldr	w8, [x0]
	str	w8, [sp, #24]
	str	w1, [sp, #8]
	str	xzr, [sp, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #40
	bl	_snd_timer_new
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [sp, #40]
	ldr	w21, [x8, #16]
	mov	x0, x20
	bl	_snd_wss_chip_id
	mov	x1, x0
	mov	x0, x21
	bl	_strcpy
	ldr	x8, [sp, #40]
	str	x20, [x8, #8]
Lloh8:
	adrp	x9, _snd_wss_timer_free@GOTPAGE
Lloh9:
	ldr	x9, [x9, _snd_wss_timer_free@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _snd_wss_timer_table@GOTPAGE
Lloh12:
	ldr	x10, [x10, _snd_wss_timer_table@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
	str	x8, [x20]
	mov	w0, #0
	cbz	x19, LBB0_3
; %bb.2:
	str	x8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_TIMER_CLASS_CARD,4,2     ; @SNDRV_TIMER_CLASS_CARD
	.comm	_SNDRV_TIMER_SCLASS_NONE,4,2    ; @SNDRV_TIMER_SCLASS_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CS4231"

	.comm	_snd_wss_timer_free,4,2         ; @snd_wss_timer_free
	.comm	_snd_wss_timer_table,4,2        ; @snd_wss_timer_table
.subsections_via_symbols
