	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function check_values
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0x401f99999999999a              ## double 7.9000000000000004
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x7fffffffffffffff              ## double NaN
	.quad	0x7fffffffffffffff              ## double NaN
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_check_values:                          ## @check_values
	.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
	ucomisd	LCPI0_0(%rip), %xmm0
	jne	LBB0_4
	jp	LBB0_4
## %bb.1:
	movsd	8(%rdi), %xmm1                  ## xmm1 = mem[0],zero
	xorpd	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm1
	jne	LBB0_4
	jp	LBB0_4
## %bb.2:
	movsd	16(%rdi), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm1
	jne	LBB0_4
	jp	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	andpd	LCPI0_1(%rip), %xmm0
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	movq	_apply_lut@GOTPCREL(%rip), %rax
	cmovbeq	%rax, %rsi
	movsd	16(%rdi), %xmm0                 ## xmm0 = mem[0],zero
	ucomisd	LCPI0_0(%rip), %xmm0
	cmovneq	%rax, %rsi
	cmovpq	%rax, %rsi
	movq	(%rsi), %rax
LBB0_5:
	movq	%rax, 24(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_apply_lut,8,3                  ## @apply_lut
	.no_dead_strip	_check_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_values
_check_values:                          ; @check_values
	.cfi_startproc
; %bb.0:
	ldr	d1, [x0]
	fmov	d0, #1.00000000
	fcmp	d1, d0
	b.ne	LBB0_4
; %bb.1:
	ldr	d2, [x0, #8]
	fcmp	d2, #0.0
	b.ne	LBB0_4
; %bb.2:
	ldr	d2, [x0, #16]
	fmov	d3, #1.00000000
	fcmp	d2, d3
	b.ne	LBB0_4
; %bb.3:
	str	xzr, [x0, #24]
	ret
LBB0_4:
	ldr	d2, [x0, #16]
	fabs	d1, d1
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16415, lsl #48
	fmov	d3, x8
	fcmp	d1, d3
	fccmp	d2, d0, #0, mi
Lloh0:
	adrp	x8, _apply_lut@GOTPAGE
Lloh1:
	ldr	x8, [x8, _apply_lut@GOTPAGEOFF]
	csel	x8, x1, x8, eq
	ldr	x8, [x8]
	str	x8, [x0, #24]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_apply_lut,8,3                  ; @apply_lut
	.no_dead_strip	_check_values
.subsections_via_symbols
