	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClientLookAtTriggers           ## -- Begin function ClientLookAtTriggers
	.p2align	4, 0x90
_ClientLookAtTriggers:                  ## @ClientLookAtTriggers
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rax), %rcx
	movq	_STAT_HEALTH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	jle	LBB0_2
## %bb.6:
	movl	20(%rax), %edi
	callq	_AngleVectors
	movq	%rbx, %rdi
	callq	_CalcMuzzlePoint
	movl	$131072, %esi                   ## imm = 0x20000
	callq	_VectorMA
	movq	_vec3_origin@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rbx), %rax
	movl	16(%rax), %r9d
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rax
	movq	_CONTENTS_LOOKAT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	orl	(%rax), %edx
	movl	%edx, (%rsp)
	leaq	-24(%rbp), %rdi
	movl	%ecx, %edx
	callq	_trap_Trace
	movq	8(%rbx), %rax
	movslq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.7:
	cmpq	%rcx, -24(%rbp)
	je	LBB0_11
## %bb.8:
	movq	_g_entities@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rcx,2), %rsi
	movq	(%rdx,%rsi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	leaq	(%rdx,%rsi,8), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	*%rcx
	movq	8(%rbx), %rax
LBB0_10:
	movl	$0, (%rax)
LBB0_11:
	movq	-24(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.12:
	movq	_g_entities@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rcx,2), %rsi
	movl	(%r14), %edi
	testl	%edi, 16(%rdx,%rsi,8)
	je	LBB0_15
## %bb.13:
	leaq	(%rdx,%rsi,8), %rdi
	movl	%ecx, (%rax)
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rsi
	callq	*%rax
	jmp	LBB0_15
LBB0_2:
	movslq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.3:
	movq	_g_entities@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rcx,2), %rsi
	movq	(%rdx,%rsi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	leaq	(%rdx,%rsi,8), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	*%rcx
	movq	8(%rbx), %rax
LBB0_5:
	movl	$0, (%rax)
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STAT_HEALTH,8,3                ## @STAT_HEALTH
	.comm	_g_entities,8,3                 ## @g_entities
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_CONTENTS_LOOKAT,4,2            ## @CONTENTS_LOOKAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ClientLookAtTriggers           ; -- Begin function ClientLookAtTriggers
	.p2align	2
_ClientLookAtTriggers:                  ; @ClientLookAtTriggers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	x9, [x8, #8]
Lloh0:
	adrp	x10, _STAT_HEALTH@GOTPAGE
Lloh1:
	ldr	x10, [x10, _STAT_HEALTH@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	cmp	x9, #0
	b.le	LBB0_11
; %bb.2:
	ldr	w0, [x8, #20]
	bl	_AngleVectors
	mov	x0, x19
	bl	_CalcMuzzlePoint
	mov	w1, #131072
	bl	_VectorMA
Lloh3:
	adrp	x8, _vec3_origin@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vec3_origin@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _CONTENTS_SOLID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CONTENTS_SOLID@GOTPAGEOFF]
	ldr	w5, [x8, #16]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x20, _CONTENTS_LOOKAT@GOTPAGE
Lloh10:
	ldr	x20, [x20, _CONTENTS_LOOKAT@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w6, w9, w8
	add	x0, sp, #8
	mov	x3, x2
	bl	_trap_Trace
	ldr	x8, [x19, #8]
	ldrsw	x9, [x8]
Lloh11:
	adrp	x21, _g_entities@GOTPAGE
Lloh12:
	ldr	x21, [x21, _g_entities@GOTPAGEOFF]
	cbz	w9, LBB0_7
; %bb.3:
	ldr	x10, [sp, #8]
	cmp	x10, x9
	b.eq	LBB0_7
; %bb.4:
	ldr	x10, [x21]
	mov	w11, #24
	madd	x0, x9, x11, x10
	ldr	x9, [x0]
	cbz	x9, LBB0_6
; %bb.5:
	mov	x1, x19
	mov	x2, #0
	blr	x9
	ldr	x8, [x19, #8]
LBB0_6:
	str	wzr, [x8]
LBB0_7:
	ldr	x9, [sp, #8]
	cbz	x9, LBB0_15
; %bb.8:
	ldr	x10, [x21]
	mov	w11, #24
	madd	x11, x9, x11, x10
	ldr	w11, [x11, #16]
	ldr	w12, [x20]
	tst	w12, w11
	b.eq	LBB0_15
; %bb.9:
	mov	w11, #24
	madd	x0, x9, x11, x10
	str	w9, [x8]
	ldr	x8, [x0]
	cbz	x8, LBB0_15
; %bb.10:
	add	x2, sp, #8
	mov	x1, x19
	blr	x8
	b	LBB0_15
LBB0_11:
	ldrsw	x9, [x8]
	cbz	w9, LBB0_15
; %bb.12:
Lloh13:
	adrp	x10, _g_entities@GOTPAGE
Lloh14:
	ldr	x10, [x10, _g_entities@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	mov	w11, #24
	madd	x0, x9, x11, x10
	ldr	x9, [x0]
	cbz	x9, LBB0_14
; %bb.13:
	mov	x1, x19
	mov	x2, #0
	blr	x9
	ldr	x8, [x19, #8]
LBB0_14:
	str	wzr, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_STAT_HEALTH,8,3                ; @STAT_HEALTH
	.comm	_g_entities,8,3                 ; @g_entities
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_CONTENTS_LOOKAT,4,2            ; @CONTENTS_LOOKAT
.subsections_via_symbols
