	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CreateArea                 ## -- Begin function AAS_CreateArea
	.p2align	4, 0x90
_AAS_CreateArea:                        ## @AAS_CreateArea
	.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	%rdi, %r13
	xorl	%eax, %eax
	callq	_AAS_AllocTmpArea
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 16(%rax)
	movq	16(%r13), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r14d, %r14d
	cmpq	%r13, %r12
	sete	%r14b
	movl	$1, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_AAS_AddFaceSideToArea
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%r15), %rax
	movq	(%rax,%r14,8), %r15
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_19
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	movq	24(%r15), %rdi
	movq	8(%rax), %r12
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	cmpq	%r13, %r12
	sete	%bl
	xorl	%eax, %eax
	callq	_AAS_AllocTmpFace
	movq	%r13, %rcx
	movq	%rax, %r13
	xorl	(%r15), %ebx
	movq	%rax, 24(%r15)
	movl	%ebx, (%rax)
	movl	16(%r15), %edi
	movq	%rcx, %rbx
	cmpq	%rcx, %r12
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_CopyWinding
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_ReverseWinding
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	cmpq	%rbx, %r12
	setne	%cl
	movl	%eax, 16(%r13)
	movq	8(%r15), %rax
	movq	(%rax,%rcx,8), %rcx
	movl	(%rcx), %ecx
	movq	_CONTENTS_PLAYERCLIP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	testl	%ecx, %edx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_FACE_SOLID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	%r13, %rsi
	addq	$4, %rsi
	movq	%rsi, %rdi
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	orl	(%rsi), %edx
	movl	%edx, (%rdi)
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r14d, %r14d
	cmpq	%rbx, %r12
	sete	%r14b
	movq	(%rax,%r14,8), %rax
	orl	(%rax), %ecx
	movq	_CONTENTS_LADDER@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_FACE_LADDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_AAS_GroundFace
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_FACE_GROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 8(%r13)
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_AAS_AddFaceSideToArea
	movq	%rbx, %r13
	jmp	LBB0_18
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	_CONTENTS_SLIME@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_CONTENTS_WATER@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movq	_CONTENTS_LAVA@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	testl	%esi, (%rbx)
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r13), %edx
	movq	_FACE_LIQUID@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	movl	%edx, 4(%r13)
	testl	%ecx, %esi
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	addq	$4, %rdi
	movq	_FACE_LIQUIDSURFACE@GOTPCREL(%rip), %rsi
	jmp	LBB0_12
LBB0_19:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	12(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_qprintf
	movl	4(%r13), %eax
	notl	%eax
	movq	_cfg@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rbx)
	movl	$0, 8(%rbx)
	movl	(%r13), %eax
	movq	_CONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movl	$0, %edx
	je	LBB0_21
## %bb.20:
	movq	_AREACONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_21:
	movq	_CONTENTS_MOVER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movq	_AREACONTENTS_MOVER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_23:
	movq	_CONTENTS_TELEPORTER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	movq	_AREACONTENTS_TELEPORTER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_25:
	movq	_CONTENTS_JUMPPAD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:
	movq	_AREACONTENTS_JUMPPAD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_27:
	movq	_CONTENTS_DONOTENTER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.28:
	movq	_AREACONTENTS_DONOTENTER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_29:
	movq	_CONTENTS_WATER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.30:
	movq	_AREACONTENTS_WATER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_31:
	movq	_CONTENTS_LAVA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.32:
	movq	_AREACONTENTS_LAVA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_33:
	movq	_CONTENTS_SLIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_35
## %bb.34:
	movq	_AREACONTENTS_SLIME@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_35:
	movq	_CONTENTS_NOTTEAM1@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.36:
	movq	_AREACONTENTS_NOTTEAM1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, 8(%rcx)
LBB0_37:
	movq	_CONTENTS_NOTTEAM2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_39
## %bb.38:
	movq	_AREACONTENTS_NOTTEAM2@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, 8(%rax)
LBB0_39:
	movl	8(%r13), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_AAS_FlipAreaFaces
	movq	%rbx, %rdi
	callq	_AAS_CheckArea
	xorl	%eax, %eax
	callq	_AAS_AllocTmpNode
	movq	$0, 16(%rax)
	movq	8(%rax), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	%rbx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_CONTENTS_PLAYERCLIP,4,2        ## @CONTENTS_PLAYERCLIP
	.comm	_FACE_SOLID,4,2                 ## @FACE_SOLID
	.comm	_CONTENTS_WATER,4,2             ## @CONTENTS_WATER
	.comm	_CONTENTS_SLIME,4,2             ## @CONTENTS_SLIME
	.comm	_CONTENTS_LAVA,4,2              ## @CONTENTS_LAVA
	.comm	_FACE_LIQUID,4,2                ## @FACE_LIQUID
	.comm	_FACE_LIQUIDSURFACE,4,2         ## @FACE_LIQUIDSURFACE
	.comm	_CONTENTS_LADDER,4,2            ## @CONTENTS_LADDER
	.comm	_FACE_LADDER,4,2                ## @FACE_LADDER
	.comm	_FACE_GROUND,4,2                ## @FACE_GROUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r%6d"

	.comm	_cfg,4,2                        ## @cfg
	.comm	_CONTENTS_CLUSTERPORTAL,4,2     ## @CONTENTS_CLUSTERPORTAL
	.comm	_AREACONTENTS_CLUSTERPORTAL,4,2 ## @AREACONTENTS_CLUSTERPORTAL
	.comm	_CONTENTS_MOVER,4,2             ## @CONTENTS_MOVER
	.comm	_AREACONTENTS_MOVER,4,2         ## @AREACONTENTS_MOVER
	.comm	_CONTENTS_TELEPORTER,4,2        ## @CONTENTS_TELEPORTER
	.comm	_AREACONTENTS_TELEPORTER,4,2    ## @AREACONTENTS_TELEPORTER
	.comm	_CONTENTS_JUMPPAD,4,2           ## @CONTENTS_JUMPPAD
	.comm	_AREACONTENTS_JUMPPAD,4,2       ## @AREACONTENTS_JUMPPAD
	.comm	_CONTENTS_DONOTENTER,4,2        ## @CONTENTS_DONOTENTER
	.comm	_AREACONTENTS_DONOTENTER,4,2    ## @AREACONTENTS_DONOTENTER
	.comm	_AREACONTENTS_WATER,4,2         ## @AREACONTENTS_WATER
	.comm	_AREACONTENTS_LAVA,4,2          ## @AREACONTENTS_LAVA
	.comm	_AREACONTENTS_SLIME,4,2         ## @AREACONTENTS_SLIME
	.comm	_CONTENTS_NOTTEAM1,4,2          ## @CONTENTS_NOTTEAM1
	.comm	_AREACONTENTS_NOTTEAM1,4,2      ## @AREACONTENTS_NOTTEAM1
	.comm	_CONTENTS_NOTTEAM2,4,2          ## @CONTENTS_NOTTEAM2
	.comm	_AREACONTENTS_NOTTEAM2,4,2      ## @AREACONTENTS_NOTTEAM2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CreateArea                 ; -- Begin function AAS_CreateArea
	.p2align	2
_AAS_CreateArea:                        ; @AAS_CreateArea
	.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, x0
	bl	_AAS_AllocTmpArea
	mov	x19, x0
	str	xzr, [x0, #16]
	ldr	x25, [x20, #16]
	cbz	x25, LBB0_19
; %bb.1:
Lloh0:
	adrp	x26, _CONTENTS_SOLID@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CONTENTS_SOLID@GOTPAGEOFF]
Lloh2:
	adrp	x27, _CONTENTS_PLAYERCLIP@GOTPAGE
Lloh3:
	ldr	x27, [x27, _CONTENTS_PLAYERCLIP@GOTPAGEOFF]
Lloh4:
	adrp	x28, _CONTENTS_LADDER@GOTPAGE
Lloh5:
	ldr	x28, [x28, _CONTENTS_LADDER@GOTPAGEOFF]
Lloh6:
	adrp	x22, _FACE_GROUND@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FACE_GROUND@GOTPAGEOFF]
Lloh8:
	adrp	x24, _FACE_SOLID@GOTPAGE
Lloh9:
	ldr	x24, [x24, _FACE_SOLID@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, x20
	cset	w23, eq
	mov	w1, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x19
	bl	_AAS_AddFaceSideToArea
	ldr	x8, [x25, #32]
	ldr	x25, [x8, x23, lsl #3]
	cbz	x25, LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #8]
	ldr	x23, [x8, #8]
	ldr	x0, [x25, #24]
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_AAS_AllocTmpFace
	mov	x21, x0
	str	x0, [x25, #24]
	ldr	w0, [x25, #16]
	cmp	x23, x20
	cset	w8, eq
	ldr	w9, [x25]
	eor	w8, w9, w8
	str	w8, [x21]
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_CopyWinding
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_ReverseWinding
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, x20
	cset	w8, ne
	str	w0, [x21, #16]
	ldr	x9, [x25, #8]
	ldr	x8, [x9, w8, uxtw #3]
	ldr	w8, [x8]
	ldr	w10, [x26]
	ldr	w11, [x27]
	orr	w10, w11, w10
	tst	w10, w8
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x24]
	add	x12, x21, #4
	mov	x11, x12
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w12, [x12]
	orr	w10, w12, w10
	str	w10, [x11]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, x20
	cset	w23, eq
	ldr	x9, [x9, w23, uxtw #3]
	ldr	w9, [x9]
	ldr	w10, [x28]
	orr	w8, w9, w8
	tst	w10, w8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x8, _FACE_LADDER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FACE_LADDER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x21, #4]
	orr	w8, w9, w8
	str	w8, [x21, #4]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_AAS_GroundFace
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x21, #4]
	orr	w8, w9, w8
	str	w8, [x21, #4]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x21, #8]
	mov	x0, x21
	mov	w1, #0
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x20]
Lloh13:
	adrp	x11, _CONTENTS_WATER@GOTPAGE
Lloh14:
	ldr	x11, [x11, _CONTENTS_WATER@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
Lloh16:
	adrp	x12, _CONTENTS_SLIME@GOTPAGE
Lloh17:
	ldr	x12, [x12, _CONTENTS_SLIME@GOTPAGEOFF]
Lloh18:
	ldr	w12, [x12]
	orr	w11, w12, w11
Lloh19:
	adrp	x12, _CONTENTS_LAVA@GOTPAGE
Lloh20:
	ldr	x12, [x12, _CONTENTS_LAVA@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
	orr	w12, w11, w12
	tst	w12, w10
	b.eq	LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh22:
	adrp	x10, _FACE_LIQUID@GOTPAGE
Lloh23:
	ldr	x10, [x10, _FACE_LIQUID@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	mov	x11, x21
	ldr	w13, [x11, #4]!
	orr	w10, w13, w10
	str	w10, [x11]
	tst	w12, w8
	b.ne	LBB0_11
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh25:
	adrp	x12, _FACE_LIQUIDSURFACE@GOTPAGE
Lloh26:
	ldr	x12, [x12, _FACE_LIQUIDSURFACE@GOTPAGEOFF]
	b	LBB0_10
LBB0_19:
	ldr	w1, [x19, #12]
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	_qprintf
Lloh29:
	adrp	x8, _cfg@GOTPAGE
Lloh30:
	ldr	x8, [x8, _cfg@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x8]
	ldp	w8, w10, [x20]
	bic	w9, w9, w10
	str	w9, [x19]
	str	wzr, [x19, #8]
Lloh32:
	adrp	x9, _CONTENTS_CLUSTERPORTAL@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CONTENTS_CLUSTERPORTAL@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
Lloh35:
	adrp	x9, _AREACONTENTS_CLUSTERPORTAL@GOTPAGE
Lloh36:
	ldr	x9, [x9, _AREACONTENTS_CLUSTERPORTAL@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	str	w9, [x19, #8]
	b	LBB0_22
LBB0_21:
	mov	w9, #0
LBB0_22:
Lloh38:
	adrp	x10, _CONTENTS_MOVER@GOTPAGE
Lloh39:
	ldr	x10, [x10, _CONTENTS_MOVER@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_24
; %bb.23:
Lloh41:
	adrp	x10, _AREACONTENTS_MOVER@GOTPAGE
Lloh42:
	ldr	x10, [x10, _AREACONTENTS_MOVER@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_24:
Lloh44:
	adrp	x10, _CONTENTS_TELEPORTER@GOTPAGE
Lloh45:
	ldr	x10, [x10, _CONTENTS_TELEPORTER@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_26
; %bb.25:
Lloh47:
	adrp	x10, _AREACONTENTS_TELEPORTER@GOTPAGE
Lloh48:
	ldr	x10, [x10, _AREACONTENTS_TELEPORTER@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_26:
Lloh50:
	adrp	x10, _CONTENTS_JUMPPAD@GOTPAGE
Lloh51:
	ldr	x10, [x10, _CONTENTS_JUMPPAD@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_28
; %bb.27:
Lloh53:
	adrp	x10, _AREACONTENTS_JUMPPAD@GOTPAGE
Lloh54:
	ldr	x10, [x10, _AREACONTENTS_JUMPPAD@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_28:
Lloh56:
	adrp	x10, _CONTENTS_DONOTENTER@GOTPAGE
Lloh57:
	ldr	x10, [x10, _CONTENTS_DONOTENTER@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_30
; %bb.29:
Lloh59:
	adrp	x10, _AREACONTENTS_DONOTENTER@GOTPAGE
Lloh60:
	ldr	x10, [x10, _AREACONTENTS_DONOTENTER@GOTPAGEOFF]
Lloh61:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_30:
Lloh62:
	adrp	x10, _CONTENTS_WATER@GOTPAGE
Lloh63:
	ldr	x10, [x10, _CONTENTS_WATER@GOTPAGEOFF]
Lloh64:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_32
; %bb.31:
Lloh65:
	adrp	x10, _AREACONTENTS_WATER@GOTPAGE
Lloh66:
	ldr	x10, [x10, _AREACONTENTS_WATER@GOTPAGEOFF]
Lloh67:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_32:
Lloh68:
	adrp	x10, _CONTENTS_LAVA@GOTPAGE
Lloh69:
	ldr	x10, [x10, _CONTENTS_LAVA@GOTPAGEOFF]
Lloh70:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_34
; %bb.33:
Lloh71:
	adrp	x10, _AREACONTENTS_LAVA@GOTPAGE
Lloh72:
	ldr	x10, [x10, _AREACONTENTS_LAVA@GOTPAGEOFF]
Lloh73:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_34:
Lloh74:
	adrp	x10, _CONTENTS_SLIME@GOTPAGE
Lloh75:
	ldr	x10, [x10, _CONTENTS_SLIME@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_36
; %bb.35:
Lloh77:
	adrp	x10, _AREACONTENTS_SLIME@GOTPAGE
Lloh78:
	ldr	x10, [x10, _AREACONTENTS_SLIME@GOTPAGEOFF]
Lloh79:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_36:
Lloh80:
	adrp	x10, _CONTENTS_NOTTEAM1@GOTPAGE
Lloh81:
	ldr	x10, [x10, _CONTENTS_NOTTEAM1@GOTPAGEOFF]
Lloh82:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_38
; %bb.37:
Lloh83:
	adrp	x10, _AREACONTENTS_NOTTEAM1@GOTPAGE
Lloh84:
	ldr	x10, [x10, _AREACONTENTS_NOTTEAM1@GOTPAGEOFF]
Lloh85:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #8]
LBB0_38:
Lloh86:
	adrp	x10, _CONTENTS_NOTTEAM2@GOTPAGE
Lloh87:
	ldr	x10, [x10, _CONTENTS_NOTTEAM2@GOTPAGEOFF]
Lloh88:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_40
; %bb.39:
Lloh89:
	adrp	x8, _AREACONTENTS_NOTTEAM2@GOTPAGE
Lloh90:
	ldr	x8, [x8, _AREACONTENTS_NOTTEAM2@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_40:
	ldr	w8, [x20, #8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_AAS_FlipAreaFaces
	mov	x0, x19
	bl	_AAS_CheckArea
	bl	_AAS_AllocTmpNode
	str	xzr, [x0, #16]
	ldr	x8, [x0, #8]
	stp	xzr, xzr, [x8]
	str	x19, [x0]
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_CONTENTS_PLAYERCLIP,4,2        ; @CONTENTS_PLAYERCLIP
	.comm	_FACE_SOLID,4,2                 ; @FACE_SOLID
	.comm	_CONTENTS_WATER,4,2             ; @CONTENTS_WATER
	.comm	_CONTENTS_SLIME,4,2             ; @CONTENTS_SLIME
	.comm	_CONTENTS_LAVA,4,2              ; @CONTENTS_LAVA
	.comm	_FACE_LIQUID,4,2                ; @FACE_LIQUID
	.comm	_FACE_LIQUIDSURFACE,4,2         ; @FACE_LIQUIDSURFACE
	.comm	_CONTENTS_LADDER,4,2            ; @CONTENTS_LADDER
	.comm	_FACE_LADDER,4,2                ; @FACE_LADDER
	.comm	_FACE_GROUND,4,2                ; @FACE_GROUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r%6d"

	.comm	_cfg,4,2                        ; @cfg
	.comm	_CONTENTS_CLUSTERPORTAL,4,2     ; @CONTENTS_CLUSTERPORTAL
	.comm	_AREACONTENTS_CLUSTERPORTAL,4,2 ; @AREACONTENTS_CLUSTERPORTAL
	.comm	_CONTENTS_MOVER,4,2             ; @CONTENTS_MOVER
	.comm	_AREACONTENTS_MOVER,4,2         ; @AREACONTENTS_MOVER
	.comm	_CONTENTS_TELEPORTER,4,2        ; @CONTENTS_TELEPORTER
	.comm	_AREACONTENTS_TELEPORTER,4,2    ; @AREACONTENTS_TELEPORTER
	.comm	_CONTENTS_JUMPPAD,4,2           ; @CONTENTS_JUMPPAD
	.comm	_AREACONTENTS_JUMPPAD,4,2       ; @AREACONTENTS_JUMPPAD
	.comm	_CONTENTS_DONOTENTER,4,2        ; @CONTENTS_DONOTENTER
	.comm	_AREACONTENTS_DONOTENTER,4,2    ; @AREACONTENTS_DONOTENTER
	.comm	_AREACONTENTS_WATER,4,2         ; @AREACONTENTS_WATER
	.comm	_AREACONTENTS_LAVA,4,2          ; @AREACONTENTS_LAVA
	.comm	_AREACONTENTS_SLIME,4,2         ; @AREACONTENTS_SLIME
	.comm	_CONTENTS_NOTTEAM1,4,2          ; @CONTENTS_NOTTEAM1
	.comm	_AREACONTENTS_NOTTEAM1,4,2      ; @AREACONTENTS_NOTTEAM1
	.comm	_CONTENTS_NOTTEAM2,4,2          ; @CONTENTS_NOTTEAM2
	.comm	_AREACONTENTS_NOTTEAM2,4,2      ; @AREACONTENTS_NOTTEAM2
.subsections_via_symbols
