	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_InitBoxHull                 ## -- Begin function CM_InitBoxHull
	.p2align	4, 0x90
_CM_InitBoxHull:                        ## @CM_InitBoxHull
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cm@GOTPCREL(%rip), %rbx
	movq	40(%rbx), %r10
	movq	(%rbx), %rcx
	movq	8(%rbx), %r8
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%r10,%rcx,8), %rcx
	movq	_box_planes@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	56(%rbx), %r9
	movq	%r8, %rsi
	shlq	$4, %rsi
	leaq	(%r9,%rsi), %rcx
	movq	_box_brush@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	$6, (%r9,%rsi)
	movq	48(%rbx), %rcx
	movslq	16(%rbx), %rdi
	movq	%rdi, %rdx
	shlq	$4, %rdx
	addq	%rcx, %rdx
	movq	%rdx, 8(%r9,%rsi)
	movq	_CONTENTS_BODY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%r9,%rsi)
	movq	_box_model@GOTPCREL(%rip), %r9
	movl	$1, (%r9)
	movq	24(%rbx), %rsi
	movq	32(%rbx), %rdx
	movq	%rsi, 8(%r9)
	movq	%r8, (%rdx,%rsi,8)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edx
	andl	$1, %edx
	movslq	%edi, %rsi
	addq	%r13, %rsi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	orq	%rax, %rdx
	movq	%rbx, %r12
	addq	(%rbx), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%r10,%rdx,8), %rax
	shlq	$4, %rsi
	movq	%rax, 8(%rcx,%rsi)
	movq	$0, (%rcx,%rsi)
	movq	_box_planes@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r13d, %r15d
	shrl	%r15d
	movl	%r15d, (%rbx,%r14)
	movq	$0, 16(%rbx,%r14)
	movq	8(%rbx,%r14), %rdi
	callq	_VectorClear
	movq	8(%rbx,%r14), %rax
	movl	$1, (%rax,%r15,4)
	movq	_box_planes@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	(%rbx,%r14), %rax
	addq	$24, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	addl	$3, %eax
	movl	%eax, 24(%rbx,%r14)
	movq	$0, 40(%rbx,%r14)
	movq	32(%rbx,%r14), %rdi
	callq	_VectorClear
	movq	32(%rbx,%r14), %rax
	movl	$-1, (%rax,%r15,4)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_SetPlaneSignbits
	cmpq	$5, %r13
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rbx
	movq	48(%r12), %rcx
	movl	16(%r12), %edi
	movq	40(%r12), %r10
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$2, %rax
	addq	$48, %r14
	incq	%r13
	jmp	LBB0_1
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cm,64,3                        ## @cm
	.comm	_box_planes,8,3                 ## @box_planes
	.comm	_box_brush,8,3                  ## @box_brush
	.comm	_CONTENTS_BODY,4,2              ## @CONTENTS_BODY
	.comm	_box_model,16,3                 ## @box_model
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_InitBoxHull                 ; -- Begin function CM_InitBoxHull
	.p2align	2
_CM_InitBoxHull:                        ; @CM_InitBoxHull
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, #0
	mov	x21, #0
Lloh0:
	adrp	x22, _cm@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cm@GOTPAGEOFF]
	mov	w12, #24
	ldp	x10, x11, [x22]
	ldp	x8, x9, [x22, #40]
	madd	x10, x10, x12, x8
Lloh2:
	adrp	x24, _box_planes@GOTPAGE
Lloh3:
	ldr	x24, [x24, _box_planes@GOTPAGEOFF]
Lloh4:
	adrp	x12, _box_model@GOTPAGE
Lloh5:
	ldr	x12, [x12, _box_model@GOTPAGEOFF]
	str	x10, [x24]
	ldp	x10, x13, [x22, #24]
	str	x10, [x12, #8]
	str	x11, [x13, x10, lsl #3]
	ldr	x10, [x22, #56]
	add	x11, x10, x11, lsl #4
Lloh6:
	adrp	x10, _box_brush@GOTPAGE
Lloh7:
	ldr	x10, [x10, _box_brush@GOTPAGEOFF]
Lloh8:
	str	x11, [x10]
	mov	w10, #6
	str	w10, [x11]
	ldrsw	x10, [x22, #16]
	add	x13, x9, x10, lsl #4
	str	x13, [x11, #8]
Lloh9:
	adrp	x13, _CONTENTS_BODY@GOTPAGE
Lloh10:
	ldr	x13, [x13, _CONTENTS_BODY@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
	str	w13, [x11, #4]
	mov	w25, #1
	str	w25, [x12]
	mov	w26, #40
	mov	w27, #-1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	and	x11, x21, #0x1
	add	x10, x21, w10, sxtw
	ldr	x12, [x22]
	orr	x11, x11, x20
	add	x11, x12, x11
	mov	w12, #24
	madd	x8, x11, x12, x8
	add	x9, x9, x10, lsl #4
	stp	xzr, x8, [x9]
	ldr	x8, [x24]
	ubfx	x9, x21, #1, #31
	mov	x23, x9
	add	x28, x8, x26
	stur	w9, [x28, #-40]
	stur	xzr, [x28, #-24]
	ldur	x0, [x28, #-32]
	bl	_VectorClear
	ldur	x8, [x28, #-32]
	lsl	x28, x23, #2
	str	w25, [x8, x28]
	ldr	x8, [x24]
	add	x19, x8, x26
	add	w8, w23, #3
	mov	x23, x19
	str	w8, [x23, #-16]!
	str	xzr, [x19]
	ldur	x0, [x19, #-8]
	bl	_VectorClear
	ldur	x8, [x19, #-8]
	str	w27, [x8, x28]
	mov	x0, x23
	bl	_SetPlaneSignbits
	cmp	x26, #280
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w10, [x22, #16]
	add	x20, x20, #2
	add	x26, x26, #48
	add	x21, x21, #1
	ldp	x8, x9, [x22, #40]
	b	LBB0_1
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cm,64,3                        ; @cm
	.comm	_box_planes,8,3                 ; @box_planes
	.comm	_box_brush,8,3                  ; @box_brush
	.comm	_CONTENTS_BODY,4,2              ; @CONTENTS_BODY
	.comm	_box_model,16,3                 ; @box_model
.subsections_via_symbols
