	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ice1712_pro_route_analog_get
_snd_ice1712_pro_route_analog_get:      ## @snd_ice1712_pro_route_analog_get
	.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
	movq	%rax, %r13
	leaq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	_snd_ctl_get_ioffidx
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_spin_lock_irq
	movq	_ROUTE_PSDOUT03@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ICEMT
	movl	%eax, %edi
	callq	_inw
	movl	%eax, %ebx
	movq	_ROUTE_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ICEMT
	movl	%eax, %edi
	callq	_inl
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_spin_unlock_irq
	movl	%r15d, %eax
	shrl	$31, %eax
	addl	%r15d, %eax
	movl	%eax, %edx
	andl	$-2, %eax
	movl	%r15d, %esi
	subl	%eax, %esi
	leal	(%rax,%rsi,8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %ebx
	sarl	%edx
	andl	$3, %ebx
	shll	$2, %esi
	leal	(%rsi,%rdx,8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r12d
	cmpl	$1, %ebx
	jne	LBB0_2
## %bb.1:
	movl	$11, %eax
	cmpl	$2, %r15d
	jl	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	cmpl	$3, %ebx
	je	LBB0_5
## %bb.3:
	cmpl	$2, %ebx
	jne	LBB0_6
## %bb.4:
	andl	$7, %r12d
	incl	%r12d
	movl	%r12d, %eax
	jmp	LBB0_6
LBB0_5:
	btl	$3, %r12d
	adcl	$9, %eax
LBB0_6:
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROUTE_PSDOUT03,4,2             ## @ROUTE_PSDOUT03
	.comm	_ROUTE_CAPTURE,4,2              ## @ROUTE_CAPTURE
	.no_dead_strip	_snd_ice1712_pro_route_analog_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ice1712_pro_route_analog_get
_snd_ice1712_pro_route_analog_get:      ; @snd_ice1712_pro_route_analog_get
	.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	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	mov	x21, x0
	add	x1, x19, #8
	mov	x0, x20
	bl	_snd_ctl_get_ioffidx
	mov	x22, x0
	mov	x0, x21
	bl	_spin_lock_irq
Lloh0:
	adrp	x8, _ROUTE_PSDOUT03@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROUTE_PSDOUT03@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ICEMT
	bl	_inw
	mov	x23, x0
Lloh3:
	adrp	x8, _ROUTE_CAPTURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROUTE_CAPTURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ICEMT
	bl	_inl
	mov	x20, x0
	mov	x0, x21
	bl	_spin_unlock_irq
	cmp	w22, #0
	cinc	w9, w22, lt
	and	w8, w9, #0xfffffffe
	sub	w10, w22, w8
	add	w8, w8, w10, lsl #3
	lsr	w8, w23, w8
	and	w8, w8, #0x3
	cmp	w8, #1
	ccmp	w22, #2, #0, eq
	b.lt	LBB0_4
; %bb.1:
	lsl	w9, w9, #2
	and	w9, w9, #0xfffffff8
	add	w9, w9, w10, lsl #2
	lsr	w9, w20, w9
	cmp	w8, #3
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #2
	b.ne	LBB0_6
; %bb.3:
	and	w8, w9, #0x7
	add	w8, w8, #1
	b	LBB0_7
LBB0_4:
	mov	w8, #11
	b	LBB0_7
LBB0_5:
	ubfx	w8, w9, #3, #1
	add	w8, w8, #9
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	ldr	x9, [x19]
	str	w8, [x9]
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ROUTE_PSDOUT03,4,2             ; @ROUTE_PSDOUT03
	.comm	_ROUTE_CAPTURE,4,2              ; @ROUTE_CAPTURE
	.no_dead_strip	_snd_ice1712_pro_route_analog_get
.subsections_via_symbols
