	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_cs4236_put_double1
_snd_cs4236_put_double1:                ## @snd_cs4236_put_double1
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %rsi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movzbl	%al, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	shrl	$16, %ebx
	movl	%eax, %edi
	shrl	$19, %edi
	movl	%eax, %r14d
	shrl	$24, %r14d
	movq	(%r15), %rcx
	movl	(%rcx), %edx
	andl	%r14d, %edx
	movl	4(%rcx), %ecx
	andl	%r14d, %ecx
	movl	%r14d, %r13d
	subl	%edx, %r13d
	movl	%r14d, %r12d
	subl	%ecx, %r12d
	testl	$4194304, %eax                  ## imm = 0x400000
	cmovel	%edx, %r13d
	movzbl	%ah, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmovel	%ecx, %r12d
	andb	$7, %bl
	movl	%ebx, %ecx
	shll	%cl, %r13d
	movl	%edi, %ecx
	andb	$7, %cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	leaq	16(%rsi), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movl	%r14d, %r15d
	movl	%ebx, %ecx
	shll	%cl, %r15d
	notl	%r15d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	andl	(%rax,%rcx,4), %r15d
	orl	%r13d, %r15d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_CS4236_REG
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r14d
	notl	%r14d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	andl	(%rcx,%rax,4), %r14d
	orl	%r12d, %r14d
	movzwl	%r15w, %eax
	movq	(%rbx), %rcx
	movl	$1, %r12d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r13
	cmpl	(%rcx,%rdx,4), %eax
	jne	LBB0_2
## %bb.1:
	movzwl	%r14w, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_CS4236_REG
	xorl	%r12d, %r12d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpl	(%rdx,%rax,4), %ecx
	setne	%r12b
LBB0_2:
	movzwl	%r15w, %edx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_snd_wss_out
	movzwl	%r14w, %edx
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_snd_cs4236_ext_out
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_cs4236_put_double1
.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_double1
_snd_cs4236_put_double1:                ; @snd_cs4236_put_double1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	w8, [x20]
	and	x21, x8, #0xff
	ubfx	w20, w8, #8, #8
	ubfx	w23, w8, #16, #3
	ubfx	w25, w8, #19, #3
	ubfx	x26, x8, #24, #8
	ldr	x9, [x22]
	ldp	w10, w9, [x9]
	and	w10, w10, w26
	and	w9, w9, w26
	sub	w11, w26, w10
	sub	w12, w26, w9
	tst	w8, #0x400000
	csel	w8, w10, w11, eq
	csel	w9, w9, w12, eq
	lsl	w24, w8, w23
	lsl	w27, w9, w25
	add	x22, x0, #16
	mov	x0, x22
	bl	_spin_lock_irqsave
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	lsl	x28, x21, #2
	ldp	x8, x21, [x19]
	ldr	w8, [x8, x28]
	lsl	w9, w26, w23
	bic	w8, w8, w9
	orr	w24, w8, w24
	mov	x0, x20
	bl	_CS4236_REG
	ldr	w8, [x21, x0, lsl #2]
	lsl	w9, w26, w25
	bic	w8, w8, w9
	orr	w25, w8, w27
	ldr	x8, [x19]
	ldr	w8, [x8, x28]
	cmp	w8, w24, uxth
	b.ne	LBB0_2
; %bb.1:
	ldr	x21, [x19, #8]
	mov	x0, x20
	bl	_CS4236_REG
	ldr	w8, [x21, x0, lsl #2]
	cmp	w8, w25, uxth
	cset	w23, ne
	b	LBB0_3
LBB0_2:
	mov	w23, #1
LBB0_3:
	and	w2, w24, #0xffff
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snd_wss_out
	and	w2, w25, #0xffff
	mov	x0, x19
	mov	x1, x20
	bl	_snd_cs4236_ext_out
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_cs4236_put_double1
.subsections_via_symbols
