	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function speaker_gain_put
_speaker_gain_put:                      ## @speaker_gain_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movl	(%rax), %edi
	movq	_spk_gain@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_spk_unmute@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	callq	_speaker_gain_set
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_spk_gain,4,2                   ## @spk_gain
	.comm	_spk_unmute,4,2                 ## @spk_unmute
	.no_dead_strip	_speaker_gain_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function speaker_gain_put
_speaker_gain_put:                      ; @speaker_gain_put
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _spk_gain@GOTPAGE
Lloh1:
	ldr	x8, [x8, _spk_gain@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, _spk_unmute@GOTPAGE
Lloh4:
	ldr	x8, [x8, _spk_unmute@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_speaker_gain_set
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_spk_gain,4,2                   ; @spk_gain
	.comm	_spk_unmute,4,2                 ; @spk_unmute
	.no_dead_strip	_speaker_gain_put
.subsections_via_symbols
