	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function preservel
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_4:
	.long	0x3f800000                      ## float 1
LCPI0_7:
	.long	0x43b40000                      ## float 360
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x4010000000000000              ## double 4
LCPI0_2:
	.quad	0x404e000000000000              ## double 60
LCPI0_3:
	.quad	0x4000000000000000              ## double 2
LCPI0_5:
	.quad	0xbff0000000000000              ## double -1
LCPI0_6:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_preservel:                             ## @preservel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movss	(%rdi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	(%rsi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	(%rdx), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	callq	_FFMAX3
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	(%r15), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	(%r14), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	callq	_FFMIN3
	movss	-64(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movss	(%rbx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movss	(%r15), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm1
	jne	LBB0_2
	jp	LBB0_2
## %bb.1:
	xorps	%xmm3, %xmm3
	ucomiss	(%r14), %xmm2
	jne	LBB0_2
	jnp	LBB0_10
LBB0_2:
	ucomiss	%xmm1, %xmm4
	jne	LBB0_4
	jp	LBB0_4
## %bb.3:
	subss	(%r14), %xmm2
	movaps	%xmm4, %xmm1
	subss	%xmm0, %xmm1
	divss	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm2, %xmm1
	xorps	%xmm2, %xmm2
	addsd	%xmm1, %xmm2
	mulsd	LCPI0_2(%rip), %xmm2
	xorps	%xmm3, %xmm3
	cvtsd2ss	%xmm2, %xmm3
	jmp	LBB0_10
LBB0_4:
	ucomiss	%xmm2, %xmm4
	movss	(%r14), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	jne	LBB0_6
	jp	LBB0_6
## %bb.5:
	subss	%xmm1, %xmm3
	movaps	%xmm4, %xmm1
	subss	%xmm0, %xmm1
	divss	%xmm1, %xmm3
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm3, %xmm1
	addsd	LCPI0_3(%rip), %xmm1
	jmp	LBB0_9
LBB0_6:
	ucomiss	%xmm3, %xmm4
	jne	LBB0_7
	jp	LBB0_7
## %bb.8:
	subss	%xmm2, %xmm1
	movaps	%xmm4, %xmm2
	subss	%xmm0, %xmm2
	divss	%xmm2, %xmm1
	cvtss2sd	%xmm1, %xmm1
	addsd	LCPI0_1(%rip), %xmm1
LBB0_9:
	mulsd	LCPI0_2(%rip), %xmm1
	xorps	%xmm3, %xmm3
	cvtsd2ss	%xmm1, %xmm3
LBB0_10:
	movss	-28(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	LCPI0_0(%rip), %xmm2
	xorps	%xmm5, %xmm5
	ucomiss	%xmm5, %xmm4
	xorps	%xmm1, %xmm1
	movss	%xmm2, -28(%rbp)                ## 4-byte Spill
	jne	LBB0_11
	jnp	LBB0_13
LBB0_11:
	ucomiss	LCPI0_4(%rip), %xmm0
	xorps	%xmm1, %xmm1
	jne	LBB0_12
	jnp	LBB0_13
LBB0_12:
	subss	%xmm0, %xmm4
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm4, %xmm0
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm2, %xmm0
	addsd	%xmm0, %xmm0
	addsd	LCPI0_5(%rip), %xmm0
	cvttsd2si	%xmm0, %edi
	movaps	%xmm3, -64(%rbp)                ## 16-byte Spill
	callq	_FFABS
	xorps	%xmm5, %xmm5
	movaps	-64(%rbp), %xmm3                ## 16-byte Reload
	movss	-28(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	divsd	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm0, %xmm1
LBB0_13:
	movss	LCPI0_7(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	addss	%xmm3, %xmm4
	movaps	%xmm3, %xmm0
	cmpltss	%xmm5, %xmm0
	andps	%xmm0, %xmm4
	andnps	%xmm3, %xmm0
	orps	%xmm4, %xmm0
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	xorl	%edi, %edi
	movss	%xmm1, -40(%rbp)                ## 4-byte Spill
	callq	_hfun
	movss	%xmm0, (%rbx)
	movl	$8, %edi
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	movss	-40(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-28(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_hfun
	movss	%xmm0, (%r15)
	movl	$4, %edi
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	movss	-40(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movss	-28(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	callq	_hfun
	movss	%xmm0, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorps	%xmm3, %xmm3
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_preservel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preservel
_preservel:                             ; @preservel
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	fmov	s8, s0
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	s0, [x0]
	ldr	s1, [x1]
	ldr	s2, [x2]
	bl	_FFMAX3
	fmov	s9, s0
	ldr	s0, [x21]
	ldr	s1, [x20]
	ldr	s2, [x19]
	bl	_FFMIN3
	fmov	s1, #0.50000000
	ldr	s2, [x21]
	ldr	s3, [x20]
	fcmp	s2, s3
	b.ne	LBB0_2
; %bb.1:
	ldr	s4, [x19]
	movi	d11, #0000000000000000
	fcmp	s3, s4
	b.eq	LBB0_9
LBB0_2:
	fcmp	s9, s2
	b.ne	LBB0_4
; %bb.3:
	ldr	s2, [x19]
	fsub	s2, s3, s2
	fsub	s3, s9, s0
	fdiv	s2, s2, s3
	fcvt	d2, s2
	movi	d3, #0000000000000000
	b	LBB0_8
LBB0_4:
	ldr	s4, [x19]
	fcmp	s9, s3
	b.ne	LBB0_6
; %bb.5:
	fsub	s2, s4, s2
	fsub	s3, s9, s0
	fdiv	s2, s2, s3
	fcvt	d2, s2
	fmov	d3, #2.00000000
	b	LBB0_8
LBB0_6:
	fcmp	s9, s4
	b.ne	LBB0_12
; %bb.7:
	fsub	s2, s2, s3
	fsub	s3, s9, s0
	fdiv	s2, s2, s3
	fcvt	d2, s2
	fmov	d3, #4.00000000
LBB0_8:
	fadd	d2, d2, d3
	mov	x8, #4633641066610819072
	fmov	d3, x8
	fmul	d2, d2, d3
	fcvt	s11, d2
LBB0_9:
	fmul	s8, s8, s1
	movi	d10, #0000000000000000
	fcmp	s9, #0.0
	fmov	s1, #1.00000000
	fccmp	s0, s1, #4, ne
	b.eq	LBB0_11
; %bb.10:
	fsub	s0, s9, s0
	fcvt	d9, s0
	fcvt	d0, s8
	fmov	d1, #-1.00000000
	fmov	d2, #2.00000000
	fmadd	d0, d0, d2, d1
	fcvtzs	w0, d0
	bl	_FFABS
	scvtf	d0, w0
	fmov	d1, #1.00000000
	fsub	d0, d1, d0
	fdiv	d0, d9, d0
	fcvt	s10, d0
LBB0_11:
	mov	w8, #1135869952
	fmov	s0, w8
	fadd	s0, s11, s0
	fcmp	s11, #0.0
	fcsel	s9, s0, s11, mi
	mov	w0, #0
	fmov	s0, s9
	fmov	s1, s10
	fmov	s2, s8
	bl	_hfun
	str	s0, [x21]
	mov	w0, #8
	fmov	s0, s9
	fmov	s1, s10
	fmov	s2, s8
	bl	_hfun
	str	s0, [x20]
	mov	w0, #4
	fmov	s0, s9
	fmov	s1, s10
	fmov	s2, s8
	bl	_hfun
	str	s0, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	movi	d11, #0000000000000000
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_preservel
.subsections_via_symbols
