	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pmac_burgundy_put_switch_b
_snd_pmac_burgundy_put_switch_b:        ## @snd_pmac_burgundy_put_switch_b
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movzbl	2(%rbx), %edi
	callq	_BASE2ADDR
	movl	%eax, %r15d
	movl	(%rbx), %eax
	movzbl	%al, %ebx
	movzbl	%ah, %ecx
	movl	%ecx, %r12d
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_snd_pmac_burgundy_rcb
	movl	%r12d, %esi
	movl	%eax, %r12d
	movl	%esi, %edx
	orl	%ebx, %edx
	notl	%edx
	andl	%eax, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	cmovel	%eax, %ebx
	orl	%edx, %ebx
	testl	$16777216, %r13d                ## imm = 0x1000000
	je	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rcx)
	cmovel	%eax, %esi
	orl	%esi, %ebx
LBB0_2:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_snd_pmac_burgundy_wcb
	xorl	%eax, %eax
	cmpl	%r12d, %ebx
	setne	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_pmac_burgundy_put_switch_b
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_pmac_burgundy_put_switch_b
_snd_pmac_burgundy_put_switch_b:        ; @snd_pmac_burgundy_put_switch_b
	.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	x22, x1
	mov	x21, x0
	bl	_snd_kcontrol_chip
	mov	x19, x0
	ldrb	w0, [x21, #2]
	bl	_BASE2ADDR
	mov	x20, x0
	ldr	w24, [x21]
	and	w25, w24, #0xff
	ubfx	w23, w24, #8, #8
	mov	x0, x19
	mov	x1, x20
	bl	_snd_pmac_burgundy_rcb
	mov	x21, x0
	orr	w8, w23, w25
	bic	w9, w0, w8
	ldr	x8, [x22]
	ldr	x10, [x8]
	cmp	x10, #0
	csel	w10, wzr, w25, eq
	orr	w22, w10, w9
	tbz	w24, #24, LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	csel	w8, wzr, w23, eq
	orr	w22, w8, w22
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_snd_pmac_burgundy_wcb
	cmp	w22, w21
	cset	w0, ne
	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
	.no_dead_strip	_snd_pmac_burgundy_put_switch_b
.subsections_via_symbols
