	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function snd_tea6330t_update_mixer
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	4                               ## 0x4
	.byte	8                               ## 0x8
	.byte	12                              ## 0xc
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_snd_tea6330t_update_mixer
	.p2align	4, 0x90
_snd_tea6330t_update_mixer:             ## @snd_tea6330t_update_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	_TEA6330T_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	callq	_snd_i2c_device_create
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	-56(%rbp), %rax
	movq	%rax, 48(%r13)
	movq	%r15, 40(%r13)
	movl	%r12d, (%r13)
	movl	%r14d, 4(%r13)
	movq	%r13, 8(%rax)
	movq	_snd_tea6330_free@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%r15, %rdi
	callq	_snd_i2c_lock
	movq	8(%r13), %rax
	movq	_TEA6330T_SADDR_FADER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$63, (%rax,%rcx,4)
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.5:
	movq	_TEA6330T_EQN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	movq	_TEA6330T_SADDR_AUDIO_SWITCH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	cmpl	$0, (%r13)
	je	LBB0_7
## %bb.8:
	movl	$11, %edx
	movl	$3, %ecx
	xorl	%esi, %esi
	movl	$5, %ebx
	xorl	%edi, %edi
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_3:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_21
LBB0_7:
	movl	$7, %ecx
	movl	$4, %edi
	movl	$8, %esi
	movl	$9, %ebx
	movl	$7, %edx
LBB0_9:
	movl	%ebx, 16(%r13)
	movl	%esi, 20(%r13)
	movl	$4, 24(%r13)
	movl	%edi, 28(%r13)
	movabsq	$85899345940, %rsi              ## imm = 0x1400000014
	movq	%rsi, 32(%r13)
	movq	_TEA6330T_SADDR_BASS@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%edx, (%rax,%rsi,4)
	movq	_TEA6330T_SADDR_TREBLE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	movq	_TEA6330T_SADDR_VOLUME_LEFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, -47(%rbp)
	movdqu	(%rax), %xmm0
	pshufb	LCPI0_0(%rip), %xmm0            ## xmm0 = xmm0[0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u]
	movd	%xmm0, -46(%rbp)
	movb	16(%rax), %cl
	movb	%cl, -42(%rbp)
	movb	20(%rax), %al
	movb	%al, -41(%rbp)
	movq	-56(%rbp), %rdi
	leaq	-47(%rbp), %rsi
	movl	$7, %edx
	callq	_snd_i2c_sendbytes
	testl	%eax, %eax
	js	LBB0_10
## %bb.12:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcat
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_snd_component_add
	testl	%eax, %eax
	js	LBB0_10
## %bb.13:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_snd_tea6330t_controls@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_20
## %bb.14:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	addq	%r12, %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_snd_ctl_new1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_snd_ctl_add
	testl	%eax, %eax
	js	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r15
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$4, %r12
	cmpq	%rax, %r15
	jae	LBB0_20
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rbx
	cmpl	$0, 28(%r13)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%rbx,%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_19
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movq	%r15, %rdi
	callq	_snd_i2c_unlock
	movq	-56(%rbp), %rdi
	callq	_snd_i2c_device_free
	jmp	LBB0_21
LBB0_20:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_snd_i2c_unlock
	xorl	%ebx, %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	%eax, %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TEA6330T"

	.comm	_TEA6330T_ADDR,4,2              ## @TEA6330T_ADDR
	.comm	_snd_tea6330_free,4,2           ## @snd_tea6330_free
	.comm	_TEA6330T_SADDR_FADER,8,3       ## @TEA6330T_SADDR_FADER
	.comm	_TEA6330T_EQN,4,2               ## @TEA6330T_EQN
	.comm	_TEA6330T_SADDR_AUDIO_SWITCH,8,3 ## @TEA6330T_SADDR_AUDIO_SWITCH
	.comm	_TEA6330T_SADDR_BASS,8,3        ## @TEA6330T_SADDR_BASS
	.comm	_TEA6330T_SADDR_TREBLE,8,3      ## @TEA6330T_SADDR_TREBLE
	.comm	_TEA6330T_SADDR_VOLUME_LEFT,1,0 ## @TEA6330T_SADDR_VOLUME_LEFT
L_.str.1:                               ## @.str.1
	.asciz	",TEA6330T"

	.comm	_snd_tea6330t_controls,8,3      ## @snd_tea6330t_controls
L_.str.2:                               ## @.str.2
	.asciz	"Tone Control - Treble"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function snd_tea6330t_update_mixer
lCPI0_0:
	.long	9                               ; 0x9
	.long	8                               ; 0x8
lCPI0_1:
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_snd_tea6330t_update_mixer
	.p2align	2
_snd_tea6330t_update_mixer:             ; @snd_tea6330t_update_mixer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, _TEA6330T_ADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TEA6330T_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x0, x19
	bl	_snd_i2c_device_create
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	x8, [sp, #8]
	stp	x19, x8, [x21, #40]
	stp	w22, w24, [x21]
	str	x21, [x8, #8]
Lloh8:
	adrp	x9, _snd_tea6330_free@GOTPAGE
Lloh9:
	ldr	x9, [x9, _snd_tea6330_free@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	str	w9, [x8]
	mov	x0, x19
	bl	_snd_i2c_lock
	ldr	x8, [x21, #8]
Lloh11:
	adrp	x9, _TEA6330T_SADDR_FADER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TEA6330T_SADDR_FADER@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	mov	w10, #63
	str	w10, [x8, x9, lsl #2]
Lloh14:
	adrp	x9, _TEA6330T_EQN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TEA6330T_EQN@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _TEA6330T_SADDR_AUDIO_SWITCH@GOTPAGE
Lloh18:
	ldr	x10, [x10, _TEA6330T_SADDR_AUDIO_SWITCH@GOTPAGEOFF]
	cmp	w22, #0
	csel	w9, w9, wzr, eq
Lloh19:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
	ldr	w10, [x21]
	mov	w9, #4
	cbz	w10, LBB0_6
; %bb.3:
	mov	w11, #0
Lloh20:
	adrp	x10, lCPI0_1@PAGE
Lloh21:
	ldr	d0, [x10, lCPI0_1@PAGEOFF]
	mov	w12, #11
	mov	w10, #3
	b	LBB0_7
LBB0_4:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_17
LBB0_5:
	mov	x23, x0
	mov	x0, x21
	bl	_kfree
	b	LBB0_17
LBB0_6:
Lloh25:
	adrp	x10, lCPI0_0@PAGE
Lloh26:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	mov	w10, #7
	mov	w11, #4
	mov	w12, #7
LBB0_7:
	str	d0, [x21, #16]
	stp	w9, w11, [x21, #24]
	movi.2s	v0, #20
Lloh27:
	adrp	x9, _TEA6330T_SADDR_BASS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _TEA6330T_SADDR_BASS@GOTPAGEOFF]
	str	d0, [x21, #32]
Lloh29:
	ldr	x9, [x9]
	str	w12, [x8, x9, lsl #2]
Lloh30:
	adrp	x9, _TEA6330T_SADDR_TREBLE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _TEA6330T_SADDR_TREBLE@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	str	w10, [x8, x9, lsl #2]
Lloh33:
	adrp	x9, _TEA6330T_SADDR_VOLUME_LEFT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _TEA6330T_SADDR_VOLUME_LEFT@GOTPAGEOFF]
	ldrb	w9, [x9]
	strb	w9, [sp, #1]
	ldr	q0, [x8]
	xtn.4h	v0, v0
	xtn.8b	v0, v0
	stur	s0, [sp, #2]
	ldp	w9, w8, [x8, #16]
	strb	w9, [sp, #6]
	strb	w8, [sp, #7]
	ldr	x0, [sp, #8]
	add	x1, sp, #1
	mov	w2, #7
	bl	_snd_i2c_sendbytes
	tbnz	w0, #31, LBB0_15
; %bb.8:
	ldr	w0, [x20]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcat
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_snd_component_add
	tbnz	w0, #31, LBB0_15
; %bb.9:
Lloh39:
	adrp	x24, _snd_tea6330t_controls@GOTPAGE
Lloh40:
	ldr	x24, [x24, _snd_tea6330t_controls@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_16
; %bb.10:
	mov	x25, #0
	mov	x26, #0
Lloh41:
	adrp	x22, l_.str.2@PAGE
Lloh42:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x0, x23, x25
	mov	x1, x21
	bl	_snd_ctl_new1
	mov	x1, x0
	mov	x0, x20
	bl	_snd_ctl_add
	tbnz	w0, #31, LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x26, x26, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x25, x25, #4
	cmp	x26, w0, uxtw
	b.hs	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x24]
	ldr	w8, [x21, #28]
	cbnz	w8, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x23, x25]
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_11
	b	LBB0_12
LBB0_15:
	mov	x23, x0
	mov	x0, x19
	bl	_snd_i2c_unlock
	ldr	x0, [sp, #8]
	bl	_snd_i2c_device_free
	b	LBB0_17
LBB0_16:
	mov	x0, x19
	bl	_snd_i2c_unlock
	mov	w23, #0
LBB0_17:
	mov	x0, x23
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TEA6330T"

	.comm	_TEA6330T_ADDR,4,2              ; @TEA6330T_ADDR
	.comm	_snd_tea6330_free,4,2           ; @snd_tea6330_free
	.comm	_TEA6330T_SADDR_FADER,8,3       ; @TEA6330T_SADDR_FADER
	.comm	_TEA6330T_EQN,4,2               ; @TEA6330T_EQN
	.comm	_TEA6330T_SADDR_AUDIO_SWITCH,8,3 ; @TEA6330T_SADDR_AUDIO_SWITCH
	.comm	_TEA6330T_SADDR_BASS,8,3        ; @TEA6330T_SADDR_BASS
	.comm	_TEA6330T_SADDR_TREBLE,8,3      ; @TEA6330T_SADDR_TREBLE
	.comm	_TEA6330T_SADDR_VOLUME_LEFT,1,0 ; @TEA6330T_SADDR_VOLUME_LEFT
l_.str.1:                               ; @.str.1
	.asciz	",TEA6330T"

	.comm	_snd_tea6330t_controls,8,3      ; @snd_tea6330t_controls
l_.str.2:                               ; @.str.2
	.asciz	"Tone Control - Treble"

.subsections_via_symbols
