	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CreateAreaSettings         ## -- Begin function AAS_CreateAreaSettings
	.p2align	4, 0x90
_AAS_CreateAreaSettings:                ## @AAS_CreateAreaSettings
	.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
	leaq	L_.str(%rip), %rdi
	callq	_Log_Write
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_qprintf
	movq	_tmpaasworld@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.1:
	movq	_AREACONTENTS_SLIME@GOTPCREL(%rip), %r13
	movq	_AREACONTENTS_LAVA@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %ecx
	movl	%ecx, 4(%rax)
	incl	%r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_qprintf
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpq	$0, 32(%rbx)
	jne	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$16, %edi
	callq	_GetClearedMemory
	movq	%rax, 8(%rbx)
	movl	(%rbx), %r8d
	movl	%r8d, (%rax)
	movl	24(%rbx), %edx
	movl	%edx, 12(%rax)
	movq	16(%rbx), %rdi
	xorl	%r9d, %r9d
	movl	$0, %esi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rdi), %rcx
	xorl	%edx, %edx
	cmpq	%rbx, 8(%rdi)
	setne	%dl
	orl	(%rdi), %esi
	movq	(%rcx,%rdx,8), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, 8(%rax)
	movq	_FACE_GROUND@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_AREA_GROUNDED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%r9d, 8(%rax)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_FACE_LADDER@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_AREA_LADDER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r9d
	movl	%r9d, 8(%rax)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %ecx
	movq	_AREACONTENTS_WATER@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	orl	(%r12), %ecx
	testl	%r8d, %ecx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_AREA_LIQUID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r9d
	movl	%r9d, 8(%rax)
	jmp	LBB0_12
LBB0_14:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AAS_CreateAreaSettings\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"%6d areas provided with settings"

	.comm	_tmpaasworld,8,3                ## @tmpaasworld
	.comm	_FACE_GROUND,4,2                ## @FACE_GROUND
	.comm	_AREA_GROUNDED,4,2              ## @AREA_GROUNDED
	.comm	_FACE_LADDER,4,2                ## @FACE_LADDER
	.comm	_AREA_LADDER,4,2                ## @AREA_LADDER
	.comm	_AREACONTENTS_WATER,4,2         ## @AREACONTENTS_WATER
	.comm	_AREACONTENTS_SLIME,4,2         ## @AREACONTENTS_SLIME
	.comm	_AREACONTENTS_LAVA,4,2          ## @AREACONTENTS_LAVA
	.comm	_AREA_LIQUID,4,2                ## @AREA_LIQUID
L_.str.2:                               ## @.str.2
	.asciz	"\r%6d"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CreateAreaSettings         ; -- Begin function AAS_CreateAreaSettings
	.p2align	2
_AAS_CreateAreaSettings:                ; @AAS_CreateAreaSettings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Write
	str	xzr, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_qprintf
Lloh4:
	adrp	x8, _tmpaasworld@GOTPAGE
Lloh5:
	ldr	x8, [x8, _tmpaasworld@GOTPAGEOFF]
Lloh6:
	ldr	x20, [x8]
	cbz	x20, LBB0_16
; %bb.1:
	mov	w21, #0
Lloh7:
	adrp	x22, _FACE_GROUND@GOTPAGE
Lloh8:
	ldr	x22, [x22, _FACE_GROUND@GOTPAGEOFF]
Lloh9:
	adrp	x23, _FACE_LADDER@GOTPAGE
Lloh10:
	ldr	x23, [x23, _FACE_LADDER@GOTPAGEOFF]
Lloh11:
	adrp	x24, _AREACONTENTS_WATER@GOTPAGE
Lloh12:
	ldr	x24, [x24, _AREACONTENTS_WATER@GOTPAGEOFF]
Lloh13:
	adrp	x25, _AREACONTENTS_SLIME@GOTPAGE
Lloh14:
	ldr	x25, [x25, _AREACONTENTS_SLIME@GOTPAGEOFF]
Lloh15:
	adrp	x26, _AREACONTENTS_LAVA@GOTPAGE
Lloh16:
	ldr	x26, [x26, _AREACONTENTS_LAVA@GOTPAGEOFF]
Lloh17:
	adrp	x19, l_.str.2@PAGE
Lloh18:
	add	x19, x19, l_.str.2@PAGEOFF
Lloh19:
	adrp	x28, _AREA_LADDER@GOTPAGE
Lloh20:
	ldr	x28, [x28, _AREA_LADDER@GOTPAGEOFF]
Lloh21:
	adrp	x27, _AREA_GROUNDED@GOTPAGE
Lloh22:
	ldr	x27, [x27, _AREA_GROUNDED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #4]
	str	w8, [x0, #4]
	add	w21, w21, #1
	str	x21, [sp]
	mov	x0, x19
	bl	_qprintf
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20, #40]
	cbz	x20, LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #16
	bl	_GetClearedMemory
	str	x0, [x20, #8]
	ldr	w8, [x20]
	str	w8, [x0]
	ldr	w9, [x20, #24]
	str	w9, [x0, #12]
	ldr	x10, [x20, #16]
	cbz	x10, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x11, x12, [x10, #8]
	cmp	x11, x20
	cset	w11, ne
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	x10, [x12, w11, uxtw #3]
	cbnz	x10, LBB0_7
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x0, #8]
	ldr	w10, [x22]
	tst	w10, w9
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x27]
	str	w10, [x0, #8]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #0
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x23]
	tst	w11, w9
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x28]
	orr	w10, w10, w9
	str	w10, [x0, #8]
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x24]
	ldr	w11, [x25]
	orr	w9, w11, w9
	ldr	w11, [x26]
	orr	w9, w9, w11
	tst	w9, w8
	b.eq	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh23:
	adrp	x8, _AREA_LIQUID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AREA_LIQUID@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	orr	w8, w10, w8
	str	w8, [x0, #8]
	b	LBB0_2
LBB0_16:
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_qprintf
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AAS_CreateAreaSettings\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"%6d areas provided with settings"

	.comm	_tmpaasworld,8,3                ; @tmpaasworld
	.comm	_FACE_GROUND,4,2                ; @FACE_GROUND
	.comm	_AREA_GROUNDED,4,2              ; @AREA_GROUNDED
	.comm	_FACE_LADDER,4,2                ; @FACE_LADDER
	.comm	_AREA_LADDER,4,2                ; @AREA_LADDER
	.comm	_AREACONTENTS_WATER,4,2         ; @AREACONTENTS_WATER
	.comm	_AREACONTENTS_SLIME,4,2         ; @AREACONTENTS_SLIME
	.comm	_AREACONTENTS_LAVA,4,2          ; @AREACONTENTS_LAVA
	.comm	_AREA_LIQUID,4,2                ; @AREA_LIQUID
l_.str.2:                               ; @.str.2
	.asciz	"\r%6d"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

.subsections_via_symbols
