	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tumbler_put_master_switch
_tumbler_put_master_switch:             ## @tumbler_put_master_switch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	(%rax), %rdi
	movq	(%rdi), %rcx
	movq	(%rbx), %rdx
	movq	(%rdx), %rsi
	cmpq	%rsi, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	8(%rcx), %rbx
	xorl	%eax, %eax
	cmpq	8(%rdx), %rbx
	je	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	testq	%rsi, %rsi
	setne	%al
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	cmpq	$0, 8(%rdx)
	setne	%al
	movq	%rax, 8(%rcx)
	callq	_tumbler_set_master_volume
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tumbler_put_master_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tumbler_put_master_switch
_tumbler_put_master_switch:             ; @tumbler_put_master_switch
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_snd_kcontrol_chip
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x11, [x8]
	ldr	x9, [x19]
	ldr	x10, [x9]
	cmp	x11, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x11, [x8, #8]
	ldr	x12, [x9, #8]
	cmp	x11, x12
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	cmp	x10, #0
	cset	w10, ne
	str	x10, [x8]
	ldr	x9, [x9, #8]
	cmp	x9, #0
	cset	w9, ne
	str	x9, [x8, #8]
	bl	_tumbler_set_master_volume
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tumbler_put_master_switch
.subsections_via_symbols
