	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Use_Target_Speaker             ## -- Begin function Use_Target_Speaker
	.p2align	4, 0x90
_Use_Target_Speaker:                    ## @Use_Target_Speaker
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testb	$3, %al
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rdi)
	je	LBB0_8
## %bb.2:
	movq	$0, 16(%rdi)
	popq	%rbp
	retq
LBB0_3:
	testb	$8, %al
	jne	LBB0_10
## %bb.4:
	testb	$4, %al
	jne	LBB0_5
## %bb.7:
	movq	_EV_GENERAL_SOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	8(%rdi), %rax
	movq	%rax, 16(%rdi)
	popq	%rbp
	retq
LBB0_10:
	movq	_EV_GENERAL_SOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rdi), %rax
	movq	%rdx, %rdi
	movq	%rax, %rdx
	popq	%rbp
	jmp	_G_AddEvent                     ## TAILCALL
LBB0_5:
	movq	_EV_GLOBAL_SOUND@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	8(%rdi), %rdx
	popq	%rbp
	jmp	_G_AddEvent                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_GENERAL_SOUND,4,2           ## @EV_GENERAL_SOUND
	.comm	_EV_GLOBAL_SOUND,4,2            ## @EV_GLOBAL_SOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Use_Target_Speaker             ; -- Begin function Use_Target_Speaker
	.p2align	2
_Use_Target_Speaker:                    ; @Use_Target_Speaker
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	tst	w8, #0x3
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.2:
	str	xzr, [x0, #16]
	ret
LBB0_3:
	tbnz	w8, #3, LBB0_7
; %bb.4:
	tbnz	w8, #2, LBB0_8
; %bb.5:
Lloh0:
	adrp	x8, _EV_GENERAL_SOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_GENERAL_SOUND@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	x8, [x0, #8]
	str	x8, [x0, #16]
	ret
LBB0_7:
Lloh2:
	adrp	x8, _EV_GENERAL_SOUND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EV_GENERAL_SOUND@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	x8, [x0, #8]
	mov	x0, x2
	mov	x2, x8
	b	_G_AddEvent
LBB0_8:
Lloh5:
	adrp	x8, _EV_GLOBAL_SOUND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EV_GLOBAL_SOUND@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	ldr	x2, [x0, #8]
	b	_G_AddEvent
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_GENERAL_SOUND,4,2           ; @EV_GENERAL_SOUND
	.comm	_EV_GLOBAL_SOUND,4,2            ; @EV_GLOBAL_SOUND
.subsections_via_symbols
