	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_es18xx_put_double
_snd_es18xx_put_double:                 ## @snd_es18xx_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movl	(%rbx), %ecx
	movl	%ecx, %r8d
	shrl	$16, %r8d
	movl	%ecx, %edx
	shrl	$19, %edx
	movl	%ecx, %ebx
	movl	%ecx, %r9d
	shrl	$24, %ebx
	movq	(%r14), %rcx
	movl	(%rcx), %esi
	andl	%ebx, %esi
	movl	4(%rcx), %ecx
	andl	%ebx, %ecx
	movl	%ebx, %edi
	subl	%esi, %edi
	movl	%ebx, %r12d
	subl	%ecx, %r12d
	testl	$4194304, %r9d                  ## imm = 0x400000
	cmovel	%ecx, %r12d
	movq	%rax, %r14
	cmovel	%esi, %edi
	andb	$7, %r8b
	movl	%r8d, %ecx
	shll	%cl, %edi
	andb	$7, %dl
	movl	%edx, %ecx
	shll	%cl, %r12d
	movl	%r9d, %eax
	movzbl	%al, %r9d
	movzbl	%ah, %esi
	movl	%ebx, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	movl	%edx, %ecx
	shll	%cl, %ebx
	cmpl	%esi, %r9d
	jne	LBB0_1
## %bb.2:
	orl	%ebx, %eax
	orl	%edi, %r12d
	movzbl	%al, %edx
	movzbl	%r12b, %ebx
	movq	%r14, %rdi
	movl	%r9d, %esi
	movl	%ebx, %ecx
	callq	_snd_es18xx_reg_bits
	cmpb	%bl, %al
	jmp	LBB0_3
LBB0_1:
	movl	%esi, %r13d
	movzbl	%al, %edx
	movzbl	%dil, %r15d
	movq	%r14, %rdi
	movl	%r9d, %esi
	movl	%r15d, %ecx
	callq	_snd_es18xx_reg_bits
	xorb	%al, %r15b
	movzbl	%bl, %edx
	movzbl	%r12b, %ebx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%ebx, %ecx
	callq	_snd_es18xx_reg_bits
	xorb	%al, %bl
	orb	%r15b, %bl
LBB0_3:
	setne	%al
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_es18xx_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_es18xx_put_double
_snd_es18xx_put_double:                 ; @snd_es18xx_put_double
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldr	w9, [x20]
	ubfx	w20, w9, #8, #8
	ubfx	w10, w9, #16, #3
	ubfx	w11, w9, #19, #3
	lsr	w12, w9, #24
	ldr	x8, [x21]
	ldp	w13, w8, [x8]
	and	w13, w13, w12
	and	w8, w8, w12
	sub	w14, w12, w13
	sub	w15, w12, w8
	tst	w9, #0x400000
	csel	w15, w8, w15, eq
	csel	w8, w13, w14, eq
	lsl	w8, w8, w10
	lsl	w23, w15, w11
	and	w1, w9, #0xff
	lsl	w9, w12, w10
	lsl	w24, w12, w11
	cmp	w1, w20
	b.ne	LBB0_2
; %bb.1:
	orr	w9, w9, w24
	orr	w8, w23, w8
	and	w2, w9, #0xff
	and	w20, w8, #0xff
	mov	x0, x19
	mov	x3, x20
	bl	_snd_es18xx_reg_bits
	cmp	w0, w20
	b	LBB0_3
LBB0_2:
	and	w2, w9, #0xff
	and	w21, w8, #0xff
	mov	x0, x19
	mov	x3, x21
	bl	_snd_es18xx_reg_bits
	mov	x22, x0
	and	w2, w24, #0xff
	and	w23, w23, #0xff
	mov	x0, x19
	mov	x1, x20
	mov	x3, x23
	bl	_snd_es18xx_reg_bits
	cmp	w0, w23
	ccmp	w22, w21, #0, eq
LBB0_3:
	cset	w0, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_es18xx_put_double
.subsections_via_symbols
