	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function SP_misc_portal_camera
LCPI0_0:
	.quad	0x4076800000000000              ## double 360
LCPI0_1:
	.quad	0x4070000000000000              ## double 256
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_SP_misc_portal_camera
	.p2align	4, 0x90
_SP_misc_portal_camera:                 ## @SP_misc_portal_camera
	.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
	movl	8(%rdi), %edi
	callq	_VectorClear
	movl	4(%rbx), %edi
	callq	_VectorClear
	movq	%rbx, %rdi
	callq	_trap_LinkEntity
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-12(%rbp), %rdx
	callq	_G_SpawnFloat
	movss	-12(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	mulsd	LCPI0_1(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"roll"

L_.str.1:                               ## @.str.1
	.asciz	"0"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SP_misc_portal_camera          ; -- Begin function SP_misc_portal_camera
	.p2align	2
_SP_misc_portal_camera:                 ; @SP_misc_portal_camera
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	w0, [x0, #8]
	bl	_VectorClear
	ldr	w0, [x19, #4]
	bl	_VectorClear
	mov	x0, x19
	bl	_trap_LinkEntity
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_G_SpawnFloat
	ldr	s0, [sp, #12]
	fcvt	d0, s0
	mov	x8, #140737488355328
	movk	x8, #16502, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	mov	x8, #4643211215818981376
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvt	s0, d0
	str	s0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"roll"

l_.str.1:                               ; @.str.1
	.asciz	"0"

.subsections_via_symbols
