	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_StoreAreaSettings          ## -- Begin function AAS_StoreAreaSettings
	.p2align	4, 0x90
_AAS_StoreAreaSettings:                 ## @AAS_StoreAreaSettings
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_aasworld@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	movl	$1, %edx
	cmovnel	%ecx, %edx
	movq	8(%rax), %rcx
	leal	1(%rdx), %esi
	movl	%esi, (%rax)
	movslq	%edx, %rax
	movl	12(%rdi), %edx
	leaq	(%rax,%rax,2), %rsi
	leaq	(%rcx,%rsi,4), %r14
	movl	%edx, 8(%rcx,%rsi,4)
	movl	8(%rdi), %eax
	movl	%eax, 4(%rcx,%rsi,4)
	movl	(%rdi), %eax
	movl	%eax, (%rcx,%rsi,4)
	movl	4(%rdi), %ecx
	movq	_AREACONTENTS_MAXMODELNUM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	cmpl	%esi, %ecx
	jle	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_Log_Print
	movl	4(%rbx), %ecx
	movl	(%r15), %esi
	movl	(%r14), %eax
LBB0_2:
	andl	%ecx, %esi
	movq	_AREACONTENTS_MODELNUMSHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%eax, %esi
	movl	%esi, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,16,3                  ## @aasworld
	.comm	_AREACONTENTS_MAXMODELNUM,4,2   ## @AREACONTENTS_MAXMODELNUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING: more than %d mover models\n"

	.comm	_AREACONTENTS_MODELNUMSHIFT,4,2 ## @AREACONTENTS_MODELNUMSHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_StoreAreaSettings          ; -- Begin function AAS_StoreAreaSettings
	.p2align	2
_AAS_StoreAreaSettings:                 ; @AAS_StoreAreaSettings
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _aasworld@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aasworld@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	csinc	w9, w9, wzr, ne
	ldr	x10, [x8, #8]
	add	w11, w9, #1
	str	w11, [x8]
	mov	w8, #12
	smaddl	x20, w9, w8, x10
	ldr	d0, [x0, #8]
	stur	d0, [x20, #4]
	ldp	w8, w9, [x0]
	str	w8, [x20]
Lloh2:
	adrp	x21, _AREACONTENTS_MAXMODELNUM@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AREACONTENTS_MAXMODELNUM@GOTPAGEOFF]
	ldr	w1, [x21]
	cmp	w9, w1
	b.le	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Print
	ldr	w9, [x19, #4]
	ldr	w1, [x21]
	ldr	w8, [x20]
LBB0_2:
	and	w9, w1, w9
Lloh6:
	adrp	x10, _AREACONTENTS_MODELNUMSHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AREACONTENTS_MODELNUMSHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	str	w8, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,16,3                  ; @aasworld
	.comm	_AREACONTENTS_MAXMODELNUM,4,2   ; @AREACONTENTS_MAXMODELNUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING: more than %d mover models\n"

	.comm	_AREACONTENTS_MODELNUMSHIFT,4,2 ; @AREACONTENTS_MODELNUMSHIFT
.subsections_via_symbols
