	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ak4531_get_double
_snd_ak4531_get_double:                 ## @snd_ak4531_get_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, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movl	(%rbx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movzbl	%al, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	shrl	$16, %ebx
	movl	%eax, %r12d
	shrl	$19, %r12d
	movl	%eax, %r14d
	shrl	$24, %r14d
	leaq	8(%r15), %r13
	movq	%r13, %rdi
	callq	_mutex_lock
	movq	(%r15), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %r15d
	andb	$7, %bl
	movl	%ebx, %ecx
	sarl	%cl, %r15d
	andl	%r14d, %r15d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movzbl	%ch, %ecx
	movl	(%rax,%rcx,4), %ebx
	andb	$7, %r12b
	movl	%r12d, %ecx
	sarl	%cl, %ebx
	andl	%r14d, %ebx
	movq	%r13, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	subl	%r15d, %eax
	subl	%ebx, %r14d
	testl	$4194304, -48(%rbp)             ## 4-byte Folded Reload
                                        ## imm = 0x400000
	cmovel	%r15d, %eax
	cmovel	%ebx, %r14d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, 4(%rcx)
	xorl	%eax, %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_ak4531_get_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function snd_ak4531_get_double
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967277                      ; 0xffffffed
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_snd_ak4531_get_double:                 ; @snd_ak4531_get_double
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	mov	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x21, x0
	ldr	w22, [x20]
	and	x23, x22, #0xff
	lsr	x24, x22, #8
	ubfx	x25, x22, #24, #8
	add	x20, x0, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x21]
	add	x9, x8, w24, uxtb #2
	tst	w22, #0x400000
	dup.2s	v0, w22
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x10, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi.2s	v1, #7
	and.8b	v0, v0, v1
	ldr	s1, [x8, x23, lsl #2]
	ld1.s	{ v1 }[1], [x9]
	cset	w21, eq
	neg.2s	v0, v0
	sshl.2s	v0, v1, v0
	dup.2s	v8, w25
	and.8b	v9, v0, v8
	mov	x0, x20
	bl	_mutex_unlock
	sub.2s	v0, v8, v9
	dup.2s	v1, w21
	shl.2s	v1, v1, #31
	cmlt.2s	v1, v1, #0
	bit.8b	v0, v9, v1
	ldr	x8, [x19]
	str	d0, [x8]
	mov	w0, #0
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_ak4531_get_double
.subsections_via_symbols
