	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function BG_TouchJumpPad
LCPI0_0:
	.long	0x42340000                      ## float 45
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BG_TouchJumpPad
	.p2align	4, 0x90
_BG_TouchJumpPad:                       ## @BG_TouchJumpPad
	.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), %rax
	movq	_PM_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	_PW_FLIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_2
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %r14
	movq	8(%rbx), %rax
	cmpq	(%rsi), %rax
	je	LBB0_4
## %bb.3:
	movl	8(%r14), %edi
	callq	_vectoangles
	callq	_AngleNormalize180
	movl	%eax, %edi
	callq	_fabs
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorl	%esi, %esi
	ucomiss	%xmm0, %xmm1
	setbe	%sil
	movq	_EV_JUMP_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rdx
	callq	_BG_AddPredictableEventToPlayerstate
	movq	(%r14), %rax
LBB0_4:
	movq	%rax, 8(%rbx)
	movl	16(%rbx), %esi
	movl	20(%rbx), %eax
	movl	%eax, 24(%rbx)
	movl	8(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_VectorCopy                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PM_NORMAL,8,3                  ## @PM_NORMAL
	.comm	_PW_FLIGHT,8,3                  ## @PW_FLIGHT
	.comm	_PITCH,8,3                      ## @PITCH
	.comm	_EV_JUMP_PAD,4,2                ## @EV_JUMP_PAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BG_TouchJumpPad                ; -- Begin function BG_TouchJumpPad
	.p2align	2
_BG_TouchJumpPad:                       ; @BG_TouchJumpPad
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PM_NORMAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PM_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #32]
Lloh3:
	adrp	x9, _PW_FLIGHT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PW_FLIGHT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x1
	ldr	x8, [x20, #8]
	ldr	x9, [x1]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
	bl	_vectoangles
	bl	_AngleNormalize180
	bl	_fabs
	mov	w8, #1110704128
	fmov	s1, w8
	fcmp	s0, s1
	cset	w1, pl
Lloh6:
	adrp	x8, _EV_JUMP_PAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_JUMP_PAD@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x2, x20
	bl	_BG_AddPredictableEventToPlayerstate
	ldr	x8, [x19]
LBB0_5:
	str	x8, [x20, #8]
	ldp	w1, w8, [x20, #16]
	str	w8, [x20, #24]
	ldr	w0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_VectorCopy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PM_NORMAL,8,3                  ; @PM_NORMAL
	.comm	_PW_FLIGHT,8,3                  ; @PW_FLIGHT
	.comm	_PITCH,8,3                      ; @PITCH
	.comm	_EV_JUMP_PAD,4,2                ; @EV_JUMP_PAD
.subsections_via_symbols
