	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_tea6330t_put_treble
_snd_tea6330t_put_treble:               ## @snd_tea6330t_put_treble
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	(%r15), %ecx
	movl	16(%r15), %edi
	incl	%ecx
	cltd
	idivl	%ecx
	movl	%edx, %ebx
	callq	_snd_i2c_lock
	movb	%bl, 4(%r15)
	addb	$3, %bl
	movq	8(%r15), %rax
	movq	_TEA6330T_SADDR_TREBLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%r14d, %r14d
	cmpb	%bl, (%rax,%rcx)
	setne	%r14b
	movb	%cl, -26(%rbp)
	movb	%bl, (%rax,%rcx)
	movb	%bl, -25(%rbp)
	movl	20(%r15), %edi
	leaq	-26(%rbp), %rsi
	movl	$2, %edx
	callq	_snd_i2c_sendbytes
	movl	%eax, %ebx
	testl	%eax, %eax
	cmovnsl	%r14d, %ebx
	movl	16(%r15), %edi
	callq	_snd_i2c_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA6330T_SADDR_TREBLE,8,3      ## @TEA6330T_SADDR_TREBLE
	.no_dead_strip	_snd_tea6330t_put_treble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_tea6330t_put_treble
_snd_tea6330t_put_treble:               ; @snd_tea6330t_put_treble
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
	ldr	x8, [x19]
	ldr	w8, [x8]
	ldr	w9, [x0]
	add	w9, w9, #1
	sdiv	w10, w8, w9
	msub	w19, w10, w9, w8
	ldr	w0, [x0, #16]
	bl	_snd_i2c_lock
	strb	w19, [x20, #4]
	add	w8, w19, #3
	ldr	x9, [x20, #8]
Lloh0:
	adrp	x10, _TEA6330T_SADDR_TREBLE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TEA6330T_SADDR_TREBLE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldrb	w11, [x9, x10]
	cmp	w11, w8, uxtb
	cset	w19, ne
	strb	w10, [sp, #14]
	strb	w8, [x9, x10]
	strb	w8, [sp, #15]
	ldr	w0, [x20, #20]
	add	x1, sp, #14
	mov	w2, #2
	bl	_snd_i2c_sendbytes
	cmp	w0, #0
	csel	w19, w0, w19, lt
	ldr	w0, [x20, #16]
	bl	_snd_i2c_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA6330T_SADDR_TREBLE,8,3      ; @TEA6330T_SADDR_TREBLE
	.no_dead_strip	_snd_tea6330t_put_treble
.subsections_via_symbols
