	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function AllocateLightmapForPatch
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AllocateLightmapForPatch
	.p2align	4, 0x90
_AllocateLightmapForPatch:              ## @AllocateLightmapForPatch
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LIGHTMAP_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_LIGHTMAP_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	(%r12), %rdi
	movq	48(%r12), %r15
	movq	%r15, %rsi
	movl	$8, %edx
	movl	$999, %ecx                      ## imm = 0x3E7
	callq	_SubdivideMesh
	movq	%rax, %r14
	movq	(%rax), %rdi
	movq	8(%rax), %rsi
	callq	_PutMeshOnCurve
	movq	%r14, %rdi
	callq	_RemoveLinearMeshColumnsRows
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_FreeMesh
	movq	40(%r12), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movq	_samplesize@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_2:
	movq	_LIGHTMAP_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_SubdivideMeshQuads
	movl	(%rax), %r14d
	movl	4(%rax), %ebx
	movq	%rax, %rdi
	callq	_FreeMesh
	movl	%ebx, %eax
	imull	%r14d, %eax
	movq	_c_exactLightmap@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	leaq	-56(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_AllocLMBlock
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	callq	_PrepareNewLightmap
	leaq	-56(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_AllocLMBlock
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	32(%r12), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_Error
LBB0_5:
	movq	_numLightmaps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	decq	%rax
	movq	%rax, 24(%r12)
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, 8(%r12)
	movl	%ebx, 12(%r12)
	movl	-56(%rbp), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%eax, 16(%r12)
	movl	-52(%rbp), %r9d
	movl	%r9d, 20(%r12)
	movl	(%r12), %r14d
	testl	%r14d, %r14d
	jle	LBB0_29
## %bb.6:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %r13
	movq	_originalWidths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leal	-1(%rcx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %r11d
	movq	_LIGHTMAP_WIDTH@GOTPCREL(%rip), %rax
	cvtsi2sdl	(%rax), %xmm0
	movq	_LIGHTMAP_HEIGHT@GOTPCREL(%rip), %rax
	cvtsi2sdl	(%rax), %xmm1
	leal	-1(%rbx), %esi
	xorl	%edi, %edi
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdi
	cmpq	%r14, %rdi
	je	LBB0_29
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##       Child Loop BB0_23 Depth 3
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movslq	(%r8), %rcx
	cmpq	%rcx, %rdi
	jle	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=2
	movslq	(%r8,%rcx,4), %rdx
	incq	%rcx
	cmpq	%rdx, %rdi
	jg	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	decq	%rcx
	cmpq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	setl	%r8b
	testl	%r11d, %r11d
	jg	LBB0_17
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	testl	%r11d, %r11d
	jg	LBB0_17
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movb	$1, %r8b
	xorl	%ecx, %ecx
	testl	%r11d, %r11d
	jg	LBB0_17
	jmp	LBB0_28
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	setl	%r8b
	movl	%eax, %ecx
	testl	%r11d, %r11d
	jle	LBB0_28
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	testb	%r8b, %r8b
	cmovel	-68(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	xorps	%xmm3, %xmm3
	cvtsi2ss	%ecx, %xmm3
	movq	_originalHeights@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	cvtss2sd	%xmm3, %xmm3
	addsd	%xmm2, %xmm3
	divsd	%xmm0, %xmm3
	cvtsd2ss	%xmm3, %xmm3
	xorl	%r12d, %r12d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=2
	movb	$1, %r10b
	xorl	%ecx, %ecx
LBB0_26:                                ##   in Loop: Header=BB0_18 Depth=2
	testb	%r10b, %r10b
	cmovel	%esi, %ecx
LBB0_27:                                ##   in Loop: Header=BB0_18 Depth=2
	addl	%r9d, %ecx
	xorps	%xmm4, %xmm4
	cvtsi2ss	%ecx, %xmm4
	movq	%r12, %rcx
	imulq	%r14, %rcx
	addq	%rdi, %rcx
	movq	(%r15,%rcx,8), %rcx
	cvtss2sd	%xmm4, %xmm4
	addsd	%xmm2, %xmm4
	divsd	%xmm1, %xmm4
	cvtsd2ss	%xmm4, %xmm4
	movss	%xmm3, (%rcx)
	movss	%xmm4, 4(%rcx)
	incq	%r12
	cmpq	%r11, %r12
	je	LBB0_28
LBB0_18:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_23 Depth 3
	movl	%esi, %ecx
	testl	%ebx, %ebx
	jle	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movslq	(%r8), %rcx
	cmpq	%rcx, %r12
	jle	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_18 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	%rcx, %rbx
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_23 Depth=3
	movslq	(%r8,%rcx,4), %rdx
	incq	%rcx
	cmpq	%rdx, %r12
	jg	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=2
	decq	%rcx
	cmpq	%r13, %rcx
	setl	%r10b
	jmp	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=2
	cmpq	%r13, %rcx
	setl	%r10b
	movl	%ebx, %ecx
	jmp	LBB0_26
LBB0_29:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.30:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LIGHTMAP_WIDTH,4,2             ## @LIGHTMAP_WIDTH
	.comm	_LIGHTMAP_HEIGHT,4,2            ## @LIGHTMAP_HEIGHT
	.comm	_samplesize,4,2                 ## @samplesize
	.comm	_c_exactLightmap,4,2            ## @c_exactLightmap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Entity %i, brush %i: Lightmap allocation failed"

	.comm	_numLightmaps,8,3               ## @numLightmaps
	.comm	_originalWidths,8,3             ## @originalWidths
	.comm	_originalHeights,8,3            ## @originalHeights
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AllocateLightmapForPatch       ; -- Begin function AllocateLightmapForPatch
	.p2align	2
_AllocateLightmapForPatch:              ; @AllocateLightmapForPatch
	.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
	sub	sp, sp, #16
	mov	x22, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _LIGHTMAP_WIDTH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _LIGHTMAP_WIDTH@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x27, _LIGHTMAP_HEIGHT@GOTPAGE
Lloh8:
	ldr	x27, [x27, _LIGHTMAP_HEIGHT@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x19, [x0, #48]
	ldr	x0, [x0]
	mov	x1, x19
	mov	w2, #8
	mov	w3, #999
	bl	_SubdivideMesh
	mov	x23, x0
	ldr	x0, [x0]
	ldr	x1, [x23, #8]
	bl	_PutMeshOnCurve
	mov	x0, x23
	bl	_RemoveLinearMeshColumnsRows
	mov	x24, x0
	mov	x0, x23
	bl	_FreeMesh
Lloh11:
	adrp	x8, _samplesize@GOTPAGE
Lloh12:
	ldr	x8, [x8, _samplesize@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x22, #40]
	ldr	w9, [x9]
	cmp	w9, #0
	csel	w1, w8, w9, eq
	ldr	w2, [x26]
	mov	x0, x24
	mov	x3, x20
	mov	x4, x21
	bl	_SubdivideMeshQuads
	ldp	w20, w21, [x0]
	bl	_FreeMesh
Lloh14:
	adrp	x8, _c_exactLightmap@GOTPAGE
Lloh15:
	ldr	x8, [x8, _c_exactLightmap@GOTPAGEOFF]
	ldr	w9, [x8]
	madd	w9, w21, w20, w9
	str	w9, [x8]
	sub	x2, x29, #92
	sub	x3, x29, #96
	mov	x0, x20
	mov	x1, x21
	bl	_AllocLMBlock
	cbnz	w0, LBB0_3
; %bb.1:
	bl	_PrepareNewLightmap
	sub	x2, x29, #92
	sub	x3, x29, #96
	mov	x0, x20
	mov	x1, x21
	bl	_AllocLMBlock
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x22, #32]
	ldp	w2, w1, [x8]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Error
LBB0_3:
Lloh18:
	adrp	x8, _numLightmaps@GOTPAGE
Lloh19:
	ldr	x8, [x8, _numLightmaps@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	sub	x8, x8, #1
	str	x8, [x22, #24]
	stp	w20, w21, [x22, #8]
	ldp	w9, w8, [x29, #-96]
	stp	w8, w9, [x22, #16]
	ldr	w10, [x22]
	cmp	w10, #1
	b.lt	LBB0_26
; %bb.4:
	mov	x11, #0
	mov	x12, x20
	mov	x13, x21
	sxtw	x12, w12
	sxtw	x13, w13
Lloh21:
	adrp	x14, _originalWidths@GOTPAGE
Lloh22:
	ldr	x14, [x14, _originalWidths@GOTPAGEOFF]
Lloh23:
	ldr	x14, [x14]
	sub	w15, w20, #1
	ldr	w16, [x22, #4]
	ldr	s0, [x26]
	sub	w17, w21, #1
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	ldr	s1, [x27]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
Lloh24:
	adrp	x0, _originalHeights@GOTPAGE
Lloh25:
	ldr	x0, [x0, _originalHeights@GOTPAGEOFF]
	fmov	d2, #0.50000000
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x11, x11, #1
	cmp	x11, x10
	b.eq	LBB0_26
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
                                        ;       Child Loop BB0_22 Depth 3
	cmp	w20, #1
	b.lt	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x1, [x14]
	cmp	x11, x1
	b.le	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #1
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x20, x1
	b.eq	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldrsw	x2, [x14, x1, lsl #2]
	add	x1, x1, #1
	cmp	x11, x2
	b.gt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x2, x1, #1
	cmp	x2, x12
	cset	w3, lt
	cmp	w16, #1
	b.ge	LBB0_15
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w2, #0
	mov	w3, #0
	cmp	w16, #1
	b.ge	LBB0_15
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x2, #0
	mov	w3, #1
	cmp	w16, #1
	b.ge	LBB0_15
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x1, x12
	cset	w3, lt
	mov	x2, x20
	cmp	w16, #1
	b.lt	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, #0
	cmp	w3, #0
	csel	w2, w2, w15, ne
	add	w2, w2, w8
	scvtf	s3, w2
	ldr	x2, [x0]
	fcvt	d3, s3
	fadd	d3, d3, d2
	fdiv	d3, d3, d0
	fcvt	s3, d3
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	x3, #0
	mov	w4, #1
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=2
	cmp	w4, #0
	csel	w3, w3, w17, ne
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	w3, w3, w9
	scvtf	s4, w3
	madd	x3, x1, x10, x11
	ldr	x3, [x19, x3, lsl #3]
	fcvt	d4, s4
	fadd	d4, d4, d2
	fdiv	d4, d4, d1
	fcvt	s4, d4
	stp	s3, s4, [x3]
	add	x1, x1, #1
	cmp	x1, x16
	b.eq	LBB0_5
LBB0_19:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_22 Depth 3
	mov	x3, x17
	cmp	w21, #1
	b.lt	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldrsw	x3, [x2]
	cmp	x1, x3
	b.le	LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	w3, #1
LBB0_22:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_19 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x21, x3
	b.eq	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=3
	ldrsw	x4, [x2, x3, lsl #2]
	add	x3, x3, #1
	cmp	x1, x4
	b.gt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=2
	sub	x3, x3, #1
	cmp	x3, x13
	cset	w4, lt
	b	LBB0_17
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=2
	cmp	x3, x13
	cset	w4, lt
	mov	x3, x21
	b	LBB0_17
LBB0_26:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	sub	sp, x29, #80
	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
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_LIGHTMAP_WIDTH,4,2             ; @LIGHTMAP_WIDTH
	.comm	_LIGHTMAP_HEIGHT,4,2            ; @LIGHTMAP_HEIGHT
	.comm	_samplesize,4,2                 ; @samplesize
	.comm	_c_exactLightmap,4,2            ; @c_exactLightmap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Entity %i, brush %i: Lightmap allocation failed"

	.comm	_numLightmaps,8,3               ; @numLightmaps
	.comm	_originalWidths,8,3             ; @originalWidths
	.comm	_originalHeights,8,3            ; @originalHeights
.subsections_via_symbols
