	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SP_target_push                 ## -- Begin function SP_target_push
	.p2align	4, 0x90
_SP_target_push:                        ## @SP_target_push
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	movl	$1000, (%rbx)                   ## imm = 0x3E8
LBB0_2:
	movl	40(%rbx), %esi
	movl	44(%rbx), %edi
	callq	_G_SetMovedir
	movl	(%rbx), %esi
	movl	40(%rbx), %edi
	movl	%edi, %edx
	callq	_VectorScale
	testb	$1, 4(%rbx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_G_SoundIndex
	movq	%rax, 56(%rbx)
	cmpq	$0, 48(%rbx)
	je	LBB0_4
## %bb.3:
	movl	32(%rbx), %esi
	movl	36(%rbx), %edi
	callq	_VectorCopy
	movl	28(%rbx), %esi
	movl	36(%rbx), %edi
	callq	_VectorCopy
	movq	_AimAtTarget@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_level@GOTPCREL(%rip), %rax
	movq	_FRAMETIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%rbx)
LBB0_4:
	movq	_Use_target_push@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sound/world/jumppad.wav"

L_.str.1:                               ## @.str.1
	.asciz	"sound/misc/windfly.wav"

	.comm	_AimAtTarget,4,2                ## @AimAtTarget
	.comm	_level,8,3                      ## @level
	.comm	_FRAMETIME,8,3                  ## @FRAMETIME
	.comm	_Use_target_push,4,2            ## @Use_target_push
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SP_target_push                 ; -- Begin function SP_target_push
	.p2align	2
_SP_target_push:                        ; @SP_target_push
	.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	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w8, #1000
	str	w8, [x19]
LBB0_2:
	ldp	w1, w0, [x19, #40]
	bl	_G_SetMovedir
	ldr	w0, [x19, #40]
	ldr	w1, [x19]
	mov	x2, x0
	bl	_VectorScale
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
Lloh2:
	adrp	x10, l_.str.1@PAGE
Lloh3:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, #0x1
	csel	x0, x10, x9, eq
	bl	_G_SoundIndex
	str	x0, [x19, #56]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	w1, w0, [x19, #32]
	bl	_VectorCopy
	ldr	w0, [x19, #36]
	ldr	w1, [x19, #28]
	bl	_VectorCopy
Lloh4:
	adrp	x8, _AimAtTarget@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AimAtTarget@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh7:
	adrp	x8, _level@GOTPAGE
Lloh8:
	ldr	x8, [x8, _level@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _FRAMETIME@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FRAMETIME@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x19, #16]
LBB0_4:
Lloh13:
	adrp	x8, _Use_target_push@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Use_target_push@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sound/world/jumppad.wav"

l_.str.1:                               ; @.str.1
	.asciz	"sound/misc/windfly.wav"

	.comm	_AimAtTarget,4,2                ; @AimAtTarget
	.comm	_level,8,3                      ; @level
	.comm	_FRAMETIME,8,3                  ; @FRAMETIME
	.comm	_Use_target_push,4,2            ; @Use_target_push
.subsections_via_symbols
