	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_soc_get_volsw              ## -- Begin function snd_soc_get_volsw
	.p2align	4, 0x90
_snd_soc_get_volsw:                     ## @snd_soc_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	movl	(%r12), %r13d
	movl	4(%r12), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %r14d
	movl	12(%r12), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_fls
	movl	$-1, %r15d
	movl	%eax, %ecx
	shll	%cl, %r15d
	notl	%r15d
	movl	16(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	callq	_snd_soc_read
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	shrl	%cl, %eax
	andl	%r15d, %eax
	movq	(%r12), %rdi
	movl	%eax, (%rdi)
	cmpl	%r14d, %ecx
	jne	LBB0_2
## %bb.1:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_snd_soc_read
	movl	%r14d, %ecx
	shrl	%cl, %eax
	andl	%r15d, %eax
	movq	(%r12), %rdx
	movl	%eax, 4(%rdx)
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.3:
	leaq	4(%rdx), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	subl	(%rdx), %esi
	movl	%esi, (%rdx)
LBB0_4:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	subl	%eax, %edx
	movl	%edx, (%rdi)
LBB0_5:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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_get_volsw              ; -- Begin function snd_soc_get_volsw
	.p2align	2
_snd_soc_get_volsw:                     ; @snd_soc_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	x20, x1
	ldr	x24, [x0]
	bl	_snd_kcontrol_chip
	mov	x21, x0
	ldp	w22, w26, [x24]
	ldp	w23, w19, [x24, #8]
	mov	x0, x19
	bl	_fls
	mov	w8, #-1
	lsl	w25, w8, w0
	ldr	w24, [x24, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_snd_soc_read
	lsr	w8, w0, w26
	bic	w8, w8, w25
	ldr	x9, [x20]
	str	w8, [x9]
	cmp	w26, w23
	b.ne	LBB0_2
; %bb.1:
	cbnz	w24, LBB0_4
	b	LBB0_5
LBB0_2:
	mvn	w25, w25
	mov	x0, x21
	mov	x1, x22
	bl	_snd_soc_read
	lsr	w8, w0, w23
	and	w8, w8, w25
	ldr	x10, [x20]
	mov	x9, x10
	str	w8, [x9, #4]!
	cbz	w24, LBB0_5
; %bb.3:
	ldr	w11, [x10]
	sub	w11, w19, w11
	str	w11, [x10]
LBB0_4:
	sub	w8, w19, w8
	str	w8, [x9]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
