	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_soc_dapm_get_volsw         ## -- Begin function snd_soc_dapm_get_volsw
	.p2align	4, 0x90
_snd_soc_dapm_get_volsw:                ## @snd_soc_dapm_get_volsw
	.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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movq	(%rbx), %rax
	movl	(%rax), %r13d
	movl	4(%rax), %r14d
	movl	8(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	12(%rax), %r12d
	movl	16(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_fls
	movl	$-1, %ebx
	movl	%eax, %ecx
	shll	%cl, %ebx
	movq	(%r15), %rax
	movq	_snd_soc_dapm_pga@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpl	$0, 16(%r15)
	je	LBB0_2
LBB0_3:
	notl	%ebx
	movl	12(%r15), %edi
	movl	%r13d, %esi
	callq	_snd_soc_read
	movl	%r14d, %ecx
	shrl	%cl, %eax
	andl	%ebx, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movl	%eax, (%rcx)
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %r14d
	jne	LBB0_6
## %bb.4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.5:
	subl	%eax, %r12d
	movl	%r12d, (%rcx)
	jmp	LBB0_8
LBB0_6:
	movl	12(%r15), %edi
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%r13d, %esi
	callq	_snd_soc_read
	movl	%r15d, %ecx
	shrl	%cl, %eax
	andl	%ebx, %eax
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movl	%r12d, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rcx)
	subl	%eax, %r12d
	movl	%r12d, 4(%rcx)
	jmp	LBB0_8
LBB0_2:
	movl	8(%r15), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
LBB0_8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_soc_dapm_pga,8,3           ## @snd_soc_dapm_pga
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_soc_dapm_get_volsw         ; -- Begin function snd_soc_dapm_get_volsw
	.p2align	2
_snd_soc_dapm_get_volsw:                ; @snd_soc_dapm_get_volsw
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x21, x0
	ldr	x8, [x20]
	ldp	w22, w25, [x8]
	ldp	w24, w20, [x8, #8]
	ldr	w23, [x8, #16]
	mov	x0, x20
	bl	_fls
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _snd_soc_dapm_pga@GOTPAGE
Lloh1:
	ldr	x9, [x9, _snd_soc_dapm_pga@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_7
LBB0_2:
	mov	w8, #-1
	lsl	w8, w8, w0
	mvn	w26, w8
	ldr	w0, [x21, #12]
	mov	x1, x22
	bl	_snd_soc_read
	lsr	w8, w0, w25
	and	w8, w8, w26
	ldr	x9, [x19]
	str	w8, [x9]
	cmp	w25, w24
	b.ne	LBB0_5
; %bb.3:
	cbz	w23, LBB0_9
; %bb.4:
	sub	w8, w20, w8
	b	LBB0_8
LBB0_5:
	ldr	w0, [x21, #12]
	mov	x1, x22
	bl	_snd_soc_read
	lsr	w8, w0, w24
	and	w8, w8, w26
	ldr	x9, [x19]
	str	w8, [x9, #4]
	cbz	w23, LBB0_9
; %bb.6:
	ldr	w10, [x9]
	sub	w10, w20, w10
	sub	w8, w20, w8
	stp	w10, w8, [x9]
	b	LBB0_9
LBB0_7:
	ldr	w8, [x21, #8]
	ldr	x9, [x19]
LBB0_8:
	str	w8, [x9]
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_soc_dapm_pga,8,3           ; @snd_soc_dapm_pga
.subsections_via_symbols
