	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cube_contains_v0               ## -- Begin function cube_contains_v0
	.p2align	4, 0x90
_cube_contains_v0:                      ## @cube_contains_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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rdi, %r15
	callq	_DIM
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_DIM
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_DIM
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_DIM
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	testl	%eax, %eax
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_DIM
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_DIM
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Min
	movl	$1, %r14d
	testq	%rax, %rax
	jle	LBB0_15
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_Min
	movq	%rax, %r13
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_Min
	cmpq	%rax, %r13
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 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	_Max
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_LL_COORD
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_UR_COORD
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_Max
	cmpq	%rax, %r14
	jl	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	%r15, %rdi
	callq	_DIM
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_DIM
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_Min
	cmpq	%rbx, %rax
	jg	LBB0_7
## %bb.14:
	movl	$1, %r14d
	jmp	LBB0_15
LBB0_9:
	xorl	%r14d, %r14d
LBB0_15:
	movl	%r14d, %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_contains_v0               ; -- Begin function cube_contains_v0
	.p2align	2
_cube_contains_v0:                      ; @cube_contains_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, x0
	mov	w0, #0
	cbz	x20, LBB0_15
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_15
; %bb.2:
	mov	x0, x20
	bl	_DIM
	mov	x21, x0
	mov	x0, x19
	bl	_DIM
	cmp	w21, w0
	b.ge	LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_DIM
	mov	x21, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_DIM
	cmp	w21, w0
	b.ge	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_LL_COORD
	cbnz	w0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_UR_COORD
	cbnz	w0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	b	LBB0_4
LBB0_8:
	mov	x0, x20
	bl	_DIM
	mov	x21, x0
	mov	x0, x19
	bl	_DIM
	mov	x1, x0
	mov	x0, x21
	bl	_Min
	cmp	x0, #1
	b.lt	LBB0_13
; %bb.9:
	mov	x21, #0
LBB0_10:                                ; =>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
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_LL_COORD
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x23
	bl	_Min
	cmp	x22, x0
	b.gt	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 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	_Max
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_LL_COORD
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_UR_COORD
	mov	x1, x0
	mov	x0, x23
	bl	_Max
	cmp	x22, x0
	b.lt	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #1
	mov	x0, x20
	bl	_DIM
	mov	x22, x0
	mov	x0, x19
	bl	_DIM
	mov	x1, x0
	mov	x0, x22
	bl	_Min
	cmp	x0, x21
	b.gt	LBB0_10
LBB0_13:
	mov	w0, #1
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	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
