	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_soc_dapm_get_value_enum_double ## -- Begin function snd_soc_dapm_get_value_enum_double
	.p2align	4, 0x90
_snd_soc_dapm_get_value_enum_double:    ## @snd_soc_dapm_get_value_enum_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	(%rbx), %rbx
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	_snd_soc_read
	movb	(%rbx), %cl
	movl	%eax, %esi
	shrl	%cl, %esi
	movl	8(%rbx), %edx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	andl	4(%rbx), %esi
	movq	16(%rbx), %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdi,%rcx,4), %esi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_3
## %bb.5:
	movl	%edx, %ecx
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
LBB0_6:
	movq	(%r14), %rdx
	movl	%ecx, (%rdx)
	movl	24(%rbx), %ecx
	cmpl	%ecx, (%rbx)
	je	LBB0_14
## %bb.7:
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movl	8(%rbx), %ecx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.9:
	andl	4(%rbx), %eax
	movq	16(%rbx), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdi,%rsi,4), %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_10
## %bb.12:
	movl	%ecx, %esi
	jmp	LBB0_13
LBB0_8:
	xorl	%esi, %esi
LBB0_13:
	movl	%esi, 4(%rdx)
LBB0_14:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	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_soc_dapm_get_value_enum_double ; -- Begin function snd_soc_dapm_get_value_enum_double
	.p2align	2
_snd_soc_dapm_get_value_enum_double:    ; @snd_soc_dapm_get_value_enum_double
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	ldr	x20, [x20]
	ldr	w0, [x0]
	ldr	w1, [x20, #28]
	bl	_snd_soc_read
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x9, #0
	ldp	w10, w11, [x20]
	lsr	w10, w0, w10
	and	w10, w10, w11
	ldr	x11, [x20, #16]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x9, lsl #2]
	cmp	w10, w12
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.4:
	mov	x9, x8
	b	LBB0_6
LBB0_5:
	mov	w9, #0
LBB0_6:
	ldr	x8, [x19]
	str	w9, [x8]
	ldr	w9, [x20]
	ldr	w11, [x20, #24]
	cmp	w9, w11
	b.eq	LBB0_14
; %bb.7:
	ldr	w10, [x20, #8]
	cbz	w10, LBB0_12
; %bb.8:
	mov	x9, #0
	lsr	w11, w0, w11
	ldr	w12, [x20, #4]
	and	w11, w12, w11
	ldr	x12, [x20, #16]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12, x9, lsl #2]
	cmp	w11, w13
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x9, #1
	cmp	x10, x9
	b.ne	LBB0_9
; %bb.11:
	mov	x9, x10
	b	LBB0_13
LBB0_12:
	mov	w9, #0
LBB0_13:
	str	w9, [x8, #4]
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
