	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs4236_put_master_digital
_snd_cs4236_put_master_digital:         ## @snd_cs4236_put_master_digital
	.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	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movq	(%rbx), %rax
	movl	(%rax), %edi
	andl	$127, %edi
	callq	_snd_cs4236_mixer_master_digital_invert_volume
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	andl	$127, %edi
	callq	_snd_cs4236_mixer_master_digital_invert_volume
	movl	%eax, %r15d
	leaq	8(%r14), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	(%r14), %rbx
	movq	_CS4236_LEFT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CS4236_REG
	movl	(%rbx,%rax,4), %r13d
	andl	$-128, %r13d
	orl	%r12d, %r13d
	movq	(%r14), %r12
	movq	_CS4236_RIGHT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CS4236_REG
	movl	(%r12,%rax,4), %ebx
	andl	$-128, %ebx
	orl	%r15d, %ebx
	movzwl	%r13w, %r15d
	movq	(%r14), %r13
	movq	_CS4236_LEFT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CS4236_REG
	movl	$1, %r12d
	movzwl	%bx, %ebx
	cmpl	%r15d, (%r13,%rax,4)
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %r13
	movq	_CS4236_RIGHT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CS4236_REG
	xorl	%r12d, %r12d
	cmpl	%ebx, (%r13,%rax,4)
	setne	%r12b
LBB0_2:
	movq	_CS4236_LEFT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_snd_cs4236_ext_out
	movq	_CS4236_RIGHT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_snd_cs4236_ext_out
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CS4236_LEFT_MASTER,4,2         ## @CS4236_LEFT_MASTER
	.comm	_CS4236_RIGHT_MASTER,4,2        ## @CS4236_RIGHT_MASTER
	.no_dead_strip	_snd_cs4236_put_master_digital
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_cs4236_put_master_digital
_snd_cs4236_put_master_digital:         ; @snd_cs4236_put_master_digital
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	x8, [x20]
	ldr	w8, [x8]
	and	w0, w8, #0x7f
	bl	_snd_cs4236_mixer_master_digital_invert_volume
	mov	x21, x0
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
	and	w0, w8, #0x7f
	bl	_snd_cs4236_mixer_master_digital_invert_volume
	mov	x22, x0
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x24, [x19]
Lloh0:
	adrp	x23, _CS4236_LEFT_MASTER@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CS4236_LEFT_MASTER@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_CS4236_REG
	ldr	w8, [x24, x0, lsl #2]
	and	w8, w8, #0xffffff80
	orr	w25, w8, w21
	ldr	x21, [x19]
Lloh2:
	adrp	x24, _CS4236_RIGHT_MASTER@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CS4236_RIGHT_MASTER@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_CS4236_REG
	ldr	w8, [x21, x0, lsl #2]
	and	w8, w8, #0xffffff80
	orr	w22, w8, w22
	ldr	x21, [x19]
	ldr	w0, [x23]
	bl	_CS4236_REG
	ldr	w8, [x21, x0, lsl #2]
	cmp	w8, w25, uxth
	b.ne	LBB0_2
; %bb.1:
	ldr	x21, [x19]
	ldr	w0, [x24]
	bl	_CS4236_REG
	ldr	w8, [x21, x0, lsl #2]
	cmp	w8, w22, uxth
	cset	w21, ne
	b	LBB0_3
LBB0_2:
	mov	w21, #1
LBB0_3:
	ldr	w1, [x23]
	and	w2, w25, #0xffff
	mov	x0, x19
	bl	_snd_cs4236_ext_out
	ldr	w1, [x24]
	and	w2, w22, #0xffff
	mov	x0, x19
	bl	_snd_cs4236_ext_out
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CS4236_LEFT_MASTER,4,2         ; @CS4236_LEFT_MASTER
	.comm	_CS4236_RIGHT_MASTER,4,2        ; @CS4236_RIGHT_MASTER
	.no_dead_strip	_snd_cs4236_put_master_digital
.subsections_via_symbols
