	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_pmac_burgundy_put_volume_2b
_snd_pmac_burgundy_put_volume_2b:       ## @snd_pmac_burgundy_put_volume_2b
	.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, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movzbl	(%r13), %edi
	callq	_BASE2ADDR
	movl	%eax, %r12d
	movl	$768, %ebx                      ## imm = 0x300
	andl	(%r13), %ebx
	movq	(%r14), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %ecx
	callq	_snd_pmac_burgundy_write_volume_2b
	leaq	-64(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %ecx
	callq	_snd_pmac_burgundy_read_volume_2b
	movq	-64(%rbp), %rdx
	movq	(%r14), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rdx
	jne	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rdx
	xorl	%eax, %eax
	cmpq	8(%rcx), %rdx
	setne	%al
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_pmac_burgundy_put_volume_2b
.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_volume_2b
_snd_pmac_burgundy_put_volume_2b:       ; @snd_pmac_burgundy_put_volume_2b
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_snd_kcontrol_chip
	mov	x21, x0
	ldrb	w0, [x20]
	bl	_BASE2ADDR
	mov	x22, x0
	ldr	w8, [x20]
	and	w20, w8, #0x300
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	bl	_snd_pmac_burgundy_write_volume_2b
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	bl	_snd_pmac_burgundy_read_volume_2b
	ldr	x9, [sp, #8]
	ldr	x8, [x19]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [sp, #16]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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
	add	sp, sp, #80
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_pmac_burgundy_put_volume_2b
.subsections_via_symbols
