	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es1688_put_double
_snd_es1688_put_double:                 ## @snd_es1688_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	$24, %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, %rdi
	movl	(%rbx), %eax
	movl	%eax, %ecx
	shrl	$16, %ecx
	andl	$7, %ecx
	movl	%eax, %esi
	shrl	$19, %esi
	andl	$7, %esi
	movl	%eax, %r13d
	shrl	$24, %r13d
	movq	(%r15), %rbx
	movl	(%rbx), %edx
	andl	%r13d, %edx
	movl	4(%rbx), %ebx
	andl	%r13d, %ebx
	movl	%r13d, %r15d
	subl	%edx, %r15d
	movl	%r13d, %r14d
	subl	%ebx, %r14d
	testl	$4194304, %eax                  ## imm = 0x400000
	cmovel	%edx, %r15d
	cmovel	%ebx, %r14d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	movzbl	%al, %r12d
	movzbl	%ah, %ebx
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, %ecx
	shll	%cl, %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	cmpl	%ebx, %r12d
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	jne	LBB0_1
## %bb.15:
	cmpl	$159, %r12d
	ja	LBB0_17
## %bb.16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_snd_es1688_mixer_read
	jmp	LBB0_18
LBB0_1:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	cmpl	$159, %r12d
	ja	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_snd_es1688_mixer_read
	jmp	LBB0_4
LBB0_17:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_snd_es1688_read
LBB0_18:
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movzbl	%al, %eax
	movl	%esi, %ecx
	shll	%cl, %r13d
	orl	%edx, %r13d
	notl	%r13d
	andl	%eax, %r13d
	orl	%r15d, %r14d
	orl	%r13d, %r14d
	movzbl	%r14b, %edx
	xorl	%ebx, %ebx
	cmpl	%eax, %edx
	je	LBB0_25
## %bb.19:
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	cmpl	$159, %esi
	ja	LBB0_22
## %bb.20:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_snd_es1688_mixer_write
	jmp	LBB0_24
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_snd_es1688_read
LBB0_4:
	movl	%eax, %ebx
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	cmpl	$159, %esi
	ja	LBB0_6
## %bb.5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_snd_es1688_mixer_read
	jmp	LBB0_7
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_snd_es1688_read
LBB0_7:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movzbl	%bl, %edx
	movl	%r13d, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	notl	%esi
	movl	%edi, %ecx
	shll	%cl, %r13d
	andl	%edx, %esi
	orl	%r15d, %esi
	movzbl	%sil, %r12d
	cmpl	%edx, %r12d
	jne	LBB0_9
## %bb.8:
	movzbl	%al, %eax
	notl	%r13d
	andl	%eax, %r13d
	movzbl	%r14b, %ecx
	orl	%r13d, %ecx
	xorl	%ebx, %ebx
	cmpl	%eax, %ecx
	je	LBB0_25
LBB0_9:
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	cmpl	$159, %esi
	ja	LBB0_11
## %bb.10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_snd_es1688_mixer_write
	jmp	LBB0_12
LBB0_22:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_snd_es1688_write
LBB0_12:
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	cmpl	$159, %esi
	ja	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_snd_es1688_mixer_write
	jmp	LBB0_24
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
LBB0_23:
	callq	_snd_es1688_write
LBB0_24:
	movl	$1, %ebx
LBB0_25:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_es1688_put_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_es1688_put_double
_snd_es1688_put_double:                 ; @snd_es1688_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	x22, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	w8, [x20]
	and	w20, w8, #0xff
	ubfx	w21, w8, #8, #8
	ubfx	w25, w8, #16, #3
	ubfx	w23, w8, #19, #3
	lsr	w24, w8, #24
	ldr	x9, [x22]
	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
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	x1, x20
	cmp	w20, w21
	b.ne	LBB0_3
; %bb.1:
	cmp	w20, #159
	b.hi	LBB0_5
; %bb.2:
	bl	_snd_es1688_mixer_read
	b	LBB0_6
LBB0_3:
	cmp	w20, #159
	b.hi	LBB0_9
; %bb.4:
	bl	_snd_es1688_mixer_read
	b	LBB0_10
LBB0_5:
	bl	_snd_es1688_read
LBB0_6:
	lsl	w8, w24, w25
	lsl	w9, w24, w23
	orr	w8, w8, w9
	bic	w8, w0, w8
	orr	w9, w26, w27
	orr	w8, w9, w8
	cmp	w0, w8, uxtb
	b.eq	LBB0_16
; %bb.7:
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x20
	cmp	w20, #159
	b.ls	LBB0_19
LBB0_8:
	bl	_snd_es1688_write
	b	LBB0_20
LBB0_9:
	bl	_snd_es1688_read
LBB0_10:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	cmp	w21, #159
	b.hi	LBB0_12
; %bb.11:
	bl	_snd_es1688_mixer_read
	b	LBB0_13
LBB0_12:
	bl	_snd_es1688_read
LBB0_13:
	lsl	w8, w24, w25
	bic	w8, w22, w8
	orr	w25, w8, w27
	lsl	w8, w24, w23
	bic	w8, w0, w8
	and	w9, w26, #0xff
	orr	w8, w8, w9
	cmp	w22, w25, uxtb
	ccmp	w8, w0, #0, eq
	b.eq	LBB0_16
; %bb.14:
	and	w2, w25, #0xff
	mov	x0, x19
	mov	x1, x20
	cmp	w20, #159
	b.hi	LBB0_17
; %bb.15:
	bl	_snd_es1688_mixer_write
	b	LBB0_18
LBB0_16:
	mov	w20, #0
	b	LBB0_21
LBB0_17:
	bl	_snd_es1688_write
LBB0_18:
	and	w2, w25, #0xff
	mov	x0, x19
	mov	x1, x21
	cmp	w21, #159
	b.hi	LBB0_8
LBB0_19:
	bl	_snd_es1688_mixer_write
LBB0_20:
	mov	w20, #1
LBB0_21:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	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
	.no_dead_strip	_snd_es1688_put_double
.subsections_via_symbols
