	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function CG_DamageFeedback
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_2:
	.long	0x40a00000                      ## float 5
LCPI0_3:
	.long	0x41200000                      ## float 10
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x4044000000000000              ## double 40
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_4:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CG_DamageFeedback
	.p2align	4, 0x90
_CG_DamageFeedback:                     ## @CG_DamageFeedback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cg@GOTPCREL(%rip), %rax
	movq	24(%rax), %r8
	movq	40(%rax), %rsi
	movq	%rsi, 64(%rax)
	movq	8(%r8), %rdi
	movq	_STAT_HEALTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rdi,%rcx,4), %edi
	cmpl	$40, %edi
	jge	LBB0_2
## %bb.1:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_3
LBB0_2:
	cvtsi2sd	%edi, %xmm0
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
LBB0_3:
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edx, %xmm1
	mulss	%xmm0, %xmm1
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	maxss	%xmm1, %xmm0
	movss	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	minss	%xmm0, %xmm1
	movq	$0, (%rax)
	movl	$0, 8(%rax)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm1, %xmm0
	movss	%xmm0, 12(%rax)
	movq	_DAMAGE_TIME@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rsi
	movss	%xmm1, 16(%rax)
	movq	%rsi, 48(%rax)
	movl	(%r8), %ecx
	movl	%ecx, 32(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,72,3                        ## @cg
	.comm	_STAT_HEALTH,8,3                ## @STAT_HEALTH
	.comm	_PITCH,8,3                      ## @PITCH
	.comm	_YAW,8,3                        ## @YAW
	.comm	_ROLL,8,3                       ## @ROLL
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_DAMAGE_TIME,8,3                ## @DAMAGE_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_DamageFeedback              ; -- Begin function CG_DamageFeedback
	.p2align	2
_CG_DamageFeedback:                     ; @CG_DamageFeedback
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
	ldr	x10, [x8, #40]
	str	x10, [x8, #64]
	ldr	x9, [x8, #24]
Lloh2:
	adrp	x11, _STAT_HEALTH@GOTPAGE
Lloh3:
	ldr	x11, [x11, _STAT_HEALTH@GOTPAGEOFF]
	ldr	x12, [x9, #8]
Lloh4:
	ldr	x11, [x11]
	ldr	w11, [x12, x11, lsl #2]
	fmov	s0, #1.00000000
	cmp	w11, #40
	b.lt	LBB0_2
; %bb.1:
	scvtf	d0, w11
	mov	x11, #4630826316843712512
	fmov	d1, x11
	fdiv	d0, d1, d0
	fcvt	s0, d0
LBB0_2:
	scvtf	s1, w2
	fmul	s0, s0, s1
	fmov	s1, #5.00000000
	fmax	s0, s0, s1
	fmov	s1, #10.00000000
	fmin	s0, s0, s1
	str	xzr, [x8]
	str	wzr, [x8, #8]
	fneg	s1, s0
	str	s1, [x8, #12]
Lloh5:
	adrp	x11, _DAMAGE_TIME@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DAMAGE_TIME@GOTPAGEOFF]
	str	s0, [x8, #16]
Lloh7:
	ldr	x11, [x11]
	add	x10, x11, x10
	str	x10, [x8, #48]
	ldr	w9, [x9]
	str	w9, [x8, #32]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,72,3                        ; @cg
	.comm	_STAT_HEALTH,8,3                ; @STAT_HEALTH
	.comm	_PITCH,8,3                      ; @PITCH
	.comm	_YAW,8,3                        ; @YAW
	.comm	_ROLL,8,3                       ; @ROLL
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_DAMAGE_TIME,8,3                ; @DAMAGE_TIME
.subsections_via_symbols
