	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function fixup
LCPI0_0:
	.quad	0x4076800000000000              ## double 360
LCPI0_1:
	.quad	0xc076800000000000              ## double -360
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fixup:                                 ## @fixup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_3
## %bb.1:
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addsd	%xmm2, %xmm0
	ucomisd	%xmm0, %xmm1
	ja	LBB0_2
	jmp	LBB0_6
LBB0_3:
	ucomisd	LCPI0_0(%rip), %xmm0
	jbe	LBB0_7
## %bb.4:
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addsd	%xmm1, %xmm0
	ucomisd	%xmm2, %xmm0
	ja	LBB0_5
LBB0_6:
	movsd	%xmm0, (%rdi)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup
_fixup:                                 ; @fixup
	.cfi_startproc
; %bb.0:
	ldr	d0, [x0]
	mov	x8, #140737488355328
	movk	x8, #16502, lsl #48
	fcmp	d0, #0.0
	b.pl	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	fmov	d1, x8
	fadd	d0, d0, d1
	fcmp	d0, #0.0
	b.mi	LBB0_1
	b	LBB0_5
LBB0_2:
	fmov	d1, x8
	fcmp	d0, d1
	b.le	LBB0_6
; %bb.3:
	mov	x8, #140737488355328
	movk	x8, #49270, lsl #48
	mov	x9, #140737488355328
	movk	x9, #16502, lsl #48
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	fmov	d1, x8
	fadd	d0, d0, d1
	fmov	d1, x9
	fcmp	d0, d1
	b.gt	LBB0_4
LBB0_5:
	str	d0, [x0]
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fixup
.subsections_via_symbols
