	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_cs4236_mixer               ## -- Begin function snd_cs4236_mixer
	.p2align	4, 0x90
_snd_cs4236_mixer:                      ## @snd_cs4236_mixer
	.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, %r15
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 8(%r15)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_27
LBB0_5:
	movq	8(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_snd_wss_chip_id
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_strcpy
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_9
## %bb.6:
	cmpl	$131, %eax
	jne	LBB0_7
LBB0_9:
	movq	_snd_cs4235_controls@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%r13, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r14
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %r14
	jb	LBB0_12
	jmp	LBB0_16
LBB0_7:
	movq	_snd_cs4236_controls@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%r13, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=1
	incq	%r14
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %r14
	jb	LBB0_15
LBB0_16:
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_21
## %bb.17:
	cltq
	leaq	l_switch.table.snd_cs4236_mixer(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_21
## %bb.18:
	movl	%eax, %r12d
	movq	(%rbx), %r13
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_13
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	addq	$4, %r13
	decl	%r12d
	jne	LBB0_19
LBB0_21:
	movl	$-129, %eax
	addl	(%r15), %eax
	xorl	%ebx, %ebx
	cmpl	$1, %eax
	ja	LBB0_27
## %bb.22:
	movq	_snd_cs4236_iec958_controls@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_27
## %bb.23:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%r13, %rdi
	movq	%r15, %rsi
	callq	_snd_ctl_new1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_13
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	incq	%r14
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r13
	cmpq	%rax, %r14
	jb	LBB0_24
## %bb.26:
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_13:
	movl	%eax, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_snd_cs4235_controls,8,3        ## @snd_cs4235_controls
	.comm	_snd_cs4236_controls,8,3        ## @snd_cs4236_controls
	.comm	_snd_cs4236_3d_controls_cs4235,8,3 ## @snd_cs4236_3d_controls_cs4235
	.comm	_snd_cs4236_3d_controls_cs4237,8,3 ## @snd_cs4236_3d_controls_cs4237
	.comm	_snd_cs4236_3d_controls_cs4238,8,3 ## @snd_cs4236_3d_controls_cs4238
	.comm	_snd_cs4236_iec958_controls,8,3 ## @snd_cs4236_iec958_controls
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.snd_cs4236_mixer
l_switch.table.snd_cs4236_mixer:
	.quad	_snd_cs4236_3d_controls_cs4235
	.quad	_snd_cs4236_3d_controls_cs4238
	.quad	_snd_cs4236_3d_controls_cs4237
	.quad	_snd_cs4236_3d_controls_cs4235

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_cs4236_mixer               ; -- Begin function snd_cs4236_mixer
	.p2align	2
_snd_cs4236_mixer:                      ; @snd_cs4236_mixer
	.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	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
LBB0_4:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_2
LBB0_5:
	ldr	x20, [x19, #8]
	ldr	w21, [x20]
	mov	x0, x19
	bl	_snd_wss_chip_id
	mov	x1, x0
	mov	x0, x21
	bl	_strcpy
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.6:
	cmp	w8, #131
	b.ne	LBB0_11
LBB0_7:
Lloh3:
	adrp	x21, _snd_cs4235_controls@GOTPAGE
Lloh4:
	ldr	x21, [x21, _snd_cs4235_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_15
; %bb.8:
	mov	x22, #0
	mov	x23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_9
	b	LBB0_15
LBB0_11:
Lloh5:
	adrp	x21, _snd_cs4236_controls@GOTPAGE
Lloh6:
	ldr	x21, [x21, _snd_cs4236_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_15
; %bb.12:
	mov	x22, #0
	mov	x23, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_13
LBB0_15:
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_20
; %bb.16:
Lloh7:
	adrp	x9, l_switch.table.snd_cs4236_mixer@PAGE
Lloh8:
	add	x9, x9, l_switch.table.snd_cs4236_mixer@PAGEOFF
	ldr	x22, [x9, w8, sxtw #3]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_20
; %bb.17:
	mov	x21, x0
	ldr	x22, [x22]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x22, x22, #4
	subs	w21, w21, #1
	b.ne	LBB0_18
LBB0_20:
	ldr	w8, [x19]
	sub	w8, w8, #129
	cmp	w8, #1
	b.hi	LBB0_25
; %bb.21:
Lloh9:
	adrp	x21, _snd_cs4236_iec958_controls@GOTPAGE
Lloh10:
	ldr	x21, [x21, _snd_cs4236_iec958_controls@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.22:
	mov	x22, #0
	mov	x23, #0
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x0, x8, x22
	mov	x1, x19
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_3
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, uxtw
	b.lo	LBB0_23
LBB0_25:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_snd_cs4235_controls,8,3        ; @snd_cs4235_controls
	.comm	_snd_cs4236_controls,8,3        ; @snd_cs4236_controls
	.comm	_snd_cs4236_3d_controls_cs4235,8,3 ; @snd_cs4236_3d_controls_cs4235
	.comm	_snd_cs4236_3d_controls_cs4237,8,3 ; @snd_cs4236_3d_controls_cs4237
	.comm	_snd_cs4236_3d_controls_cs4238,8,3 ; @snd_cs4236_3d_controls_cs4238
	.comm	_snd_cs4236_iec958_controls,8,3 ; @snd_cs4236_iec958_controls
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.snd_cs4236_mixer
l_switch.table.snd_cs4236_mixer:
	.quad	_snd_cs4236_3d_controls_cs4235
	.quad	_snd_cs4236_3d_controls_cs4238
	.quad	_snd_cs4236_3d_controls_cs4237
	.quad	_snd_cs4236_3d_controls_cs4235

.subsections_via_symbols
