	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function prepare_flat_out
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_1:
	.long	0x43340000                      ## float 180
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_prepare_flat_out:                      ## @prepare_flat_out
	.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), %rbx
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_0(%rip), %xmm0
	movq	_M_PI@GOTPCREL(%rip), %r14
	mulss	(%r14), %xmm0
	divss	LCPI0_1(%rip), %xmm0
	callq	_tanf
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%rbx), %xmm0
	mulss	(%r14), %xmm0
	divss	LCPI0_1(%rip), %xmm0
	callq	_tanf
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_prepare_flat_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_flat_out
_prepare_flat_out:                      ; @prepare_flat_out
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	ldr	x19, [x0]
	ldr	s0, [x19]
	fmov	s8, #0.50000000
Lloh0:
	adrp	x20, _M_PI@GOTPAGE
Lloh1:
	ldr	x20, [x20, _M_PI@GOTPAGEOFF]
	fmul	s0, s0, s8
	ldr	s1, [x20]
	fmul	s0, s0, s1
	mov	w8, #1127481344
	fmov	s9, w8
	fdiv	s0, s0, s9
	bl	_tanf
	ldr	x8, [x19, #8]
	str	x0, [x8]
	ldr	s0, [x19, #4]
	fmul	s0, s0, s8
	ldr	s1, [x20]
	fmul	s0, s0, s1
	fdiv	s0, s0, s9
	bl	_tanf
	ldr	x8, [x19, #8]
	str	x0, [x8, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_prepare_flat_out
.subsections_via_symbols
