	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_wss_put_double             ## -- Begin function snd_wss_put_double
	.p2align	4, 0x90
_snd_wss_put_double:                    ## @snd_wss_put_double
	.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, %r12
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %rsi
	movl	(%rbx), %eax
	movzbl	%al, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	shrl	$16, %ebx
	andl	$7, %ebx
	movl	%eax, %r13d
	shrl	$19, %r13d
	andl	$7, %r13d
	movl	%eax, %r14d
	shrl	$24, %r14d
	movq	(%r12), %rcx
	movl	(%rcx), %edx
	andl	%r14d, %edx
	movl	4(%rcx), %ecx
	andl	%r14d, %ecx
	movl	%r14d, %r12d
	subl	%edx, %r12d
	movl	%r14d, %r15d
	subl	%ecx, %r15d
	testl	$4194304, %eax                  ## imm = 0x400000
	cmovel	%edx, %r12d
	cmovel	%ecx, %r15d
	movzbl	%ah, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ecx
	shll	%cl, %r12d
	movl	%r13d, %ecx
	shll	%cl, %r15d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	%eax, %esi
	jne	LBB0_1
## %bb.2:
	movl	%r14d, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movl	%r13d, %ecx
	shll	%cl, %r14d
	orl	%eax, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %eax
	notl	%r14d
	andl	%eax, %r14d
	orl	%r12d, %r15d
	orl	%r14d, %r15d
	movzwl	%r15w, %edx
	cmpl	%eax, %edx
	setne	%r15b
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_3
LBB0_1:
	movq	%rax, %r8
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%rax, %r9
	movl	(%rdi,%rsi,4), %eax
	movl	%r14d, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	orl	%r12d, %edx
	movq	%r8, %r12
	movl	(%rdi,%r8,4), %edi
	movl	%r13d, %ecx
	shll	%cl, %r14d
	notl	%r14d
	andl	%edi, %r14d
	orl	%r15d, %r14d
	movzwl	%dx, %edx
	xorl	%edx, %eax
	movzwl	%r14w, %r14d
	xorl	%r14d, %edi
	orl	%eax, %edi
	setne	%r15b
	movq	%r9, %rbx
	movq	%r9, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_snd_wss_out
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
LBB0_3:
	callq	_snd_wss_out
	movzbl	%r15b, %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_wss_put_double             ; -- Begin function snd_wss_put_double
	.p2align	2
_snd_wss_put_double:                    ; @snd_wss_put_double
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	w8, [x20]
	and	x20, x8, #0xff
	ubfx	x22, x8, #8, #8
	ubfx	w25, w8, #16, #3
	ubfx	w23, w8, #19, #3
	ubfx	x24, x8, #24, #8
	ldr	x9, [x21]
	ldp	w10, w9, [x9]
	and	w10, w10, w24
	and	w9, w9, w24
	sub	w11, w24, w10
	sub	w12, w24, w9
	tst	w8, #0x400000
	csel	w8, w10, w11, eq
	csel	w9, w9, w12, eq
	lsl	w27, w8, w25
	lsl	w26, w9, w23
	add	x21, x0, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	cmp	w20, w22
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w24, w25
	lsl	w9, w24, w23
	orr	w8, w8, w9
	ldr	x9, [x19]
	ldr	w9, [x9, w20, uxtw #2]
	bic	w8, w9, w8
	orr	w10, w26, w27
	orr	w8, w10, w8
	and	w2, w8, #0xffff
	cmp	w2, w9
	cset	w23, ne
	mov	x0, x19
	mov	x1, x20
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	ldr	w9, [x8, x20, lsl #2]
	lsl	w10, w24, w25
	bic	w10, w9, w10
	orr	w10, w10, w27
	ldr	w8, [x8, x22, lsl #2]
	lsl	w11, w24, w23
	bic	w11, w8, w11
	orr	w11, w11, w26
	and	w2, w10, #0xffff
	cmp	w2, w9
	and	w24, w11, #0xffff
	ccmp	w24, w8, #0, eq
	cset	w23, ne
	mov	x0, x19
	mov	x1, x20
	bl	_snd_wss_out
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
LBB0_3:
	bl	_snd_wss_out
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
