	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function get_cube_coord
LCPI0_0:
	.long	0xbf000000                      ## float -0.5
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_cube_coord:                        ## @get_cube_coord
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edi killed $edi def $rdi
	xorps	%xmm0, %xmm0
	addl	$-128, %edi
	cmpl	$5, %edi
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_7:
	subl	%edx, %ecx
	jmp	LBB0_5
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
	xorps	%xmm0, %xmm0
LBB0_10:
	popq	%rbp
	retq
LBB0_6:
	movl	%edx, %eax
	jmp	LBB0_3
LBB0_4:
	subl	%esi, %ecx
LBB0_5:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	addss	LCPI0_0(%rip), %xmm0
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %eax
LBB0_3:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	addss	LCPI0_1(%rip), %xmm0
	popq	%rbp
	retq
LBB0_8:
	movl	%ecx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected coordinate value\n"

	.no_dead_strip	_get_cube_coord
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cube_coord
_get_cube_coord:                        ; @get_cube_coord
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-32]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	movi	d8, #0000000000000000
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	sub	w8, w3, w2
	b	LBB0_6
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	b	LBB0_10
LBB0_4:
	ucvtf	s0, w2
	b	LBB0_8
LBB0_5:
	sub	w8, w3, w1
LBB0_6:
	ucvtf	s0, w8
	fmov	s1, #-0.50000000
	fadd	s8, s0, s1
	b	LBB0_10
LBB0_7:
	ucvtf	s0, w1
LBB0_8:
	fmov	s1, #0.50000000
	fadd	s8, s0, s1
	b	LBB0_10
LBB0_9:
	ucvtf	s8, w3
LBB0_10:
	fmov	s0, s8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected coordinate value\n"

	.no_dead_strip	_get_cube_coord
.subsections_via_symbols
