	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _snd_cmipci_uswitch_get
__snd_cmipci_uswitch_get:               ## @_snd_cmipci_uswitch_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock_irq
	cmpq	$0, 24(%rbx)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movl	$0, (%rax)
	jmp	LBB0_7
LBB0_3:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	addq	8(%r15), %rdi
	callq	_inb
	jmp	LBB0_6
LBB0_5:
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_snd_cmipci_read
LBB0_6:
	andl	(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	4(%rbx), %eax
	sete	%cl
	movq	(%r14), %rax
	movl	%ecx, (%rax)
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__snd_cmipci_uswitch_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _snd_cmipci_uswitch_get
__snd_cmipci_uswitch_get:               ; @_snd_cmipci_uswitch_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	bl	_snd_kcontrol_chip
	mov	x19, x0
	bl	_spin_lock_irq
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	str	wzr, [x8]
	b	LBB0_7
LBB0_3:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #8]
	add	x0, x9, x8
	bl	_inb
	b	LBB0_6
LBB0_5:
	ldr	x1, [x21, #8]
	mov	x0, x19
	bl	_snd_cmipci_read
LBB0_6:
	ldp	w8, w9, [x21]
	and	w8, w8, w0
	cmp	w8, w9
	cset	w8, eq
	ldr	x9, [x20]
	str	w8, [x9]
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__snd_cmipci_uswitch_get
.subsections_via_symbols
