	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function calc_yaw
LCPI0_0:
	.quad	0x3f60000000000000              ## double 0.001953125
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_calc_yaw
	.p2align	4, 0x90
_calc_yaw:                              ## @calc_yaw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-512, %eax                     ## imm = 0xFE00
	addl	(%rdi), %eax
	cvtsi2ss	%eax, %xmm0
	movq	_WIIMOTE_FOV_COEFFICIENT@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm1
	cvtss2sd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm0
	cvtsd2ss	%xmm0, %xmm0
	callq	_atanf
	movl	%eax, %edi
	popq	%rbp
	jmp	_RAD_TO_DEGREE                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WIIMOTE_FOV_COEFFICIENT,8,3    ## @WIIMOTE_FOV_COEFFICIENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_calc_yaw                       ; -- Begin function calc_yaw
	.p2align	2
_calc_yaw:                              ; @calc_yaw
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	sub	w8, w8, #512
	scvtf	s0, w8
Lloh0:
	adrp	x8, _WIIMOTE_FOV_COEFFICIENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WIIMOTE_FOV_COEFFICIENT@GOTPAGEOFF]
Lloh2:
	ldr	d1, [x8]
	mov	x8, #4566650022153682944
	fmov	d2, x8
	fmul	d1, d1, d2
	fcvt	d0, s0
	fmul	d0, d1, d0
	fcvt	s0, d0
	bl	_atanf
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_RAD_TO_DEGREE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WIIMOTE_FOV_COEFFICIENT,8,3    ; @WIIMOTE_FOV_COEFFICIENT
.subsections_via_symbols
