	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_FragmentBounceSound         ## -- Begin function CG_FragmentBounceSound
	.p2align	4, 0x90
_CG_FragmentBounceSound:                ## @CG_FragmentBounceSound
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_LEBS_BLOOD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	xorl	%eax, %eax
	callq	_rand
	testb	$1, %al
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_rand
	andl	$3, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sete	%cl
	shlq	$2, %rcx
	testl	%eax, %eax
	movl	$8, %eax
	cmovneq	%rcx, %rax
	movq	_cgs@GOTPCREL(%rip), %rcx
	movl	(%rcx,%rax), %ecx
	movl	(%r14), %edi
	movq	_ENTITYNUM_WORLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CHAN_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_trap_S_StartSound
LBB0_3:
	movq	_LEBS_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEBS_BLOOD,8,3                 ## @LEBS_BLOOD
	.comm	_cgs,12,2                       ## @cgs
	.comm	_ENTITYNUM_WORLD,4,2            ## @ENTITYNUM_WORLD
	.comm	_CHAN_AUTO,4,2                  ## @CHAN_AUTO
	.comm	_LEBS_BRASS,8,3                 ## @LEBS_BRASS
	.comm	_LEBS_NONE,8,3                  ## @LEBS_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_FragmentBounceSound         ; -- Begin function CG_FragmentBounceSound
	.p2align	2
_CG_FragmentBounceSound:                ; @CG_FragmentBounceSound
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _LEBS_BLOOD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LEBS_BLOOD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x1
	bl	_rand
	tbz	w0, #0, LBB0_3
; %bb.2:
	bl	_rand
	ands	w8, w0, #0x3
	cmp	w8, #1
	cset	w8, eq
	tst	w0, #0x3
	lsl	x8, x8, #2
	mov	w9, #8
	csel	x8, x9, x8, eq
Lloh3:
	adrp	x9, _cgs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cgs@GOTPAGEOFF]
	ldr	w3, [x9, x8]
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _ENTITYNUM_WORLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENTITYNUM_WORLD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _CHAN_AUTO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHAN_AUTO@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_trap_S_StartSound
LBB0_3:
Lloh11:
	adrp	x8, _LEBS_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LEBS_NONE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LEBS_BLOOD,8,3                 ; @LEBS_BLOOD
	.comm	_cgs,12,2                       ; @cgs
	.comm	_ENTITYNUM_WORLD,4,2            ; @ENTITYNUM_WORLD
	.comm	_CHAN_AUTO,4,2                  ; @CHAN_AUTO
	.comm	_LEBS_BRASS,8,3                 ; @LEBS_BRASS
	.comm	_LEBS_NONE,8,3                  ; @LEBS_NONE
.subsections_via_symbols
