	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cube_cmp_v0                    ## -- Begin function cube_cmp_v0
	.p2align	4, 0x90
_cube_cmp_v0:                           ## @cube_cmp_v0
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_DIM
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_DIM
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Min
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_10
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_Min
	movq	%rax, %r14
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_Min
	movl	$1, %r12d
	cmpq	%rax, %r14
	jg	LBB0_39
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Min
	movq	%rax, %r14
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_Min
	cmpq	%rax, %r14
	jl	LBB0_38
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.5:
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Max
	movq	%rax, %r14
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_Max
	cmpq	%rax, %r14
	jg	LBB0_32
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Max
	movq	%rax, %r14
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_Max
	cmpq	%rax, %r14
	jl	LBB0_38
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	%ebx, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_7
LBB0_10:
	movq	%r13, %rdi
	callq	_DIM
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_DIM
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_DIM
	movl	%eax, %r14d
	cmpl	%ebx, %r12d
	jle	LBB0_20
## %bb.11:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	cmpl	%r15d, %r14d
	jle	LBB0_16
## %bb.12:
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Min
	testq	%rax, %rax
	jg	LBB0_32
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Min
	testq	%rax, %rax
	js	LBB0_38
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	incl	%ebx
	movq	%r13, %rdi
	callq	_DIM
	cmpl	%eax, %ebx
	jl	LBB0_13
LBB0_16:
	movq	%r13, %rdi
	callq	_DIM
	movl	$1, %r12d
	cmpl	%r15d, %eax
	jle	LBB0_39
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_LL_COORD
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_UR_COORD
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Max
	testq	%rax, %rax
	jg	LBB0_39
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_LL_COORD
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_UR_COORD
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Max
	testq	%rax, %rax
	js	LBB0_38
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	incl	%r15d
	movq	%r13, %rdi
	callq	_DIM
	cmpl	%eax, %r15d
	jl	LBB0_17
	jmp	LBB0_39
LBB0_20:
	movq	%r15, %rdi
	callq	_DIM
	xorl	%r12d, %r12d
	cmpl	%eax, %r14d
	jge	LBB0_39
## %bb.21:
	movq	%r15, %rdi
	callq	_DIM
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	cmpl	%r12d, %eax
	jle	LBB0_26
## %bb.22:
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Min
	testq	%rax, %rax
	jg	LBB0_38
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Min
	testq	%rax, %rax
	js	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	callq	_DIM
	cmpl	%eax, %ebx
	jl	LBB0_23
LBB0_26:
	movq	%r15, %rdi
	callq	_DIM
	cmpl	%r12d, %eax
	jle	LBB0_38
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_LL_COORD
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_UR_COORD
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Max
	testq	%rax, %rax
	jg	LBB0_38
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_LL_COORD
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_UR_COORD
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Max
	testq	%rax, %rax
	js	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	incl	%r12d
	movq	%r15, %rdi
	callq	_DIM
	cmpl	%eax, %r12d
	jl	LBB0_27
LBB0_38:
	movl	$-1, %r12d
	jmp	LBB0_39
LBB0_32:
	movl	$1, %r12d
LBB0_39:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cube_cmp_v0                    ; -- Begin function cube_cmp_v0
	.p2align	2
_cube_cmp_v0:                           ; @cube_cmp_v0
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	bl	_DIM
	mov	x19, x0
	mov	x0, x20
	bl	_DIM
	mov	x1, x0
	mov	x0, x19
	bl	_Min
	mov	x19, x0
	cmp	w19, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_LL_COORD
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x23
	bl	_Min
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_LL_COORD
	mov	x24, x0
	mov	x0, x20
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x24
	bl	_Min
	cmp	x23, x0
	b.gt	LBB0_30
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_LL_COORD
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x23
	bl	_Min
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_LL_COORD
	mov	x24, x0
	mov	x0, x20
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x24
	bl	_Min
	cmp	x23, x0
	b.lt	LBB0_31
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w22, w22, #1
	cmp	w19, w22
	b.ne	LBB0_2
; %bb.5:
	cmp	w19, #1
	b.lt	LBB0_10
; %bb.6:
	mov	w22, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_LL_COORD
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x23
	bl	_Max
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_LL_COORD
	mov	x24, x0
	mov	x0, x20
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x24
	bl	_Max
	cmp	x23, x0
	b.gt	LBB0_30
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_LL_COORD
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x23
	bl	_Max
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	bl	_LL_COORD
	mov	x24, x0
	mov	x0, x20
	mov	x1, x22
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x24
	bl	_Max
	cmp	x23, x0
	b.lt	LBB0_31
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w22, w22, #1
	cmp	w19, w22
	b.ne	LBB0_7
LBB0_10:
	mov	x0, x21
	bl	_DIM
	mov	x23, x0
	mov	x0, x20
	bl	_DIM
	mov	x24, x0
	mov	x0, x21
	bl	_DIM
	mov	x22, x0
	cmp	w23, w24
	b.le	LBB0_20
; %bb.11:
	cmp	w22, w19
	b.le	LBB0_16
; %bb.12:
	mov	x20, x19
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_LL_COORD
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x22
	bl	_Min
	cmp	x0, #0
	b.gt	LBB0_30
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_LL_COORD
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x22
	bl	_Min
	tbnz	x0, #63, LBB0_31
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	add	w20, w20, #1
	mov	x0, x21
	bl	_DIM
	cmp	w20, w0
	b.lt	LBB0_13
LBB0_16:
	mov	x0, x21
	bl	_DIM
	cmp	w0, w19
	b.le	LBB0_30
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_LL_COORD
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x20
	bl	_Max
	cmp	x0, #0
	b.gt	LBB0_30
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_LL_COORD
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x20
	bl	_Max
	tbnz	x0, #63, LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w19, w19, #1
	mov	x0, x21
	bl	_DIM
	mov	x8, x0
	mov	w0, #1
	cmp	w19, w8
	b.lt	LBB0_17
	b	LBB0_33
LBB0_20:
	mov	x0, x20
	bl	_DIM
	cmp	w22, w0
	b.ge	LBB0_32
; %bb.21:
	mov	x0, x20
	bl	_DIM
	cmp	w0, w19
	b.le	LBB0_26
; %bb.22:
	mov	x21, x19
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_LL_COORD
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x22
	bl	_Min
	cmp	x0, #0
	b.gt	LBB0_31
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_LL_COORD
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x22
	bl	_Min
	tbnz	x0, #63, LBB0_30
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	add	w21, w21, #1
	mov	x0, x20
	bl	_DIM
	cmp	w21, w0
	b.lt	LBB0_23
LBB0_26:
	mov	x0, x20
	bl	_DIM
	cmp	w0, w19
	b.le	LBB0_31
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_LL_COORD
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x21
	bl	_Max
	cmp	x0, #0
	b.gt	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_LL_COORD
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x21
	bl	_Max
	tbnz	x0, #63, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	add	w19, w19, #1
	mov	x0, x20
	bl	_DIM
	mov	x8, x0
	mov	w0, #-1
	cmp	w19, w8
	b.lt	LBB0_27
	b	LBB0_33
LBB0_30:
	mov	w0, #1
	b	LBB0_33
LBB0_31:
	mov	w0, #-1
	b	LBB0_33
LBB0_32:
	mov	w0, #0
LBB0_33:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
