	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_GetAreaContentsTravelFlags ## -- Begin function AAS_GetAreaContentsTravelFlags
	.p2align	4, 0x90
_AAS_GetAreaContentsTravelFlags:        ## @AAS_GetAreaContentsTravelFlags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_aasworld@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movslq	%edi, %rdx
	movl	(%r8,%rdx,8), %esi
	movq	_AREACONTENTS_WATER@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_TFL_WATER@GOTPCREL(%rip), %rdi
	jmp	LBB0_7
LBB0_2:
	movq	_AREACONTENTS_SLIME@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_TFL_SLIME@GOTPCREL(%rip), %rdi
	jmp	LBB0_7
LBB0_4:
	movq	_AREACONTENTS_LAVA@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_5
## %bb.6:
	movq	_TFL_AIR@GOTPCREL(%rip), %rdi
	jmp	LBB0_7
LBB0_5:
	movq	_TFL_LAVA@GOTPCREL(%rip), %rdi
LBB0_7:
	movq	_AREACONTENTS_DONOTENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	je	LBB0_9
## %bb.8:
	movq	_TFL_DONOTENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movq	_AREACONTENTS_NOTTEAM1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%esi, %ecx
	je	LBB0_11
## %bb.10:
	movq	_TFL_NOTTEAM1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_11:
	orl	(%rdi), %eax
	movq	_AREACONTENTS_NOTTEAM2@GOTPCREL(%rip), %rdi
	andl	(%rdi), %esi
	je	LBB0_13
## %bb.12:
	movq	_TFL_NOTTEAM2@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_13:
	orl	%esi, %ecx
	orl	%ecx, %eax
	movq	_AREA_BRIDGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	4(%r8,%rdx,8), %ecx
	je	LBB0_15
## %bb.14:
	movq	_TFL_BRIDGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_15:
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,8,3                   ## @aasworld
	.comm	_AREACONTENTS_WATER,4,2         ## @AREACONTENTS_WATER
	.comm	_TFL_WATER,4,2                  ## @TFL_WATER
	.comm	_AREACONTENTS_SLIME,4,2         ## @AREACONTENTS_SLIME
	.comm	_TFL_SLIME,4,2                  ## @TFL_SLIME
	.comm	_AREACONTENTS_LAVA,4,2          ## @AREACONTENTS_LAVA
	.comm	_TFL_LAVA,4,2                   ## @TFL_LAVA
	.comm	_TFL_AIR,4,2                    ## @TFL_AIR
	.comm	_AREACONTENTS_DONOTENTER,4,2    ## @AREACONTENTS_DONOTENTER
	.comm	_TFL_DONOTENTER,4,2             ## @TFL_DONOTENTER
	.comm	_AREACONTENTS_NOTTEAM1,4,2      ## @AREACONTENTS_NOTTEAM1
	.comm	_TFL_NOTTEAM1,4,2               ## @TFL_NOTTEAM1
	.comm	_AREACONTENTS_NOTTEAM2,4,2      ## @AREACONTENTS_NOTTEAM2
	.comm	_TFL_NOTTEAM2,4,2               ## @TFL_NOTTEAM2
	.comm	_AREA_BRIDGE,4,2                ## @AREA_BRIDGE
	.comm	_TFL_BRIDGE,4,2                 ## @TFL_BRIDGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_GetAreaContentsTravelFlags ; -- Begin function AAS_GetAreaContentsTravelFlags
	.p2align	2
_AAS_GetAreaContentsTravelFlags:        ; @AAS_GetAreaContentsTravelFlags
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _aasworld@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aasworld@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sxtw	x9, w0
	sbfiz	x10, x0, #3, #32
	ldr	w10, [x8, x10]
Lloh3:
	adrp	x11, _AREACONTENTS_WATER@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AREACONTENTS_WATER@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x11, _TFL_WATER@GOTPAGE
Lloh7:
	ldr	x11, [x11, _TFL_WATER@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x11, _AREACONTENTS_SLIME@GOTPAGE
Lloh9:
	ldr	x11, [x11, _AREACONTENTS_SLIME@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x11, _TFL_SLIME@GOTPAGE
Lloh12:
	ldr	x11, [x11, _TFL_SLIME@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x11, _AREACONTENTS_LAVA@GOTPAGE
Lloh14:
	ldr	x11, [x11, _AREACONTENTS_LAVA@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
Lloh16:
	adrp	x12, _TFL_LAVA@GOTPAGE
Lloh17:
	ldr	x12, [x12, _TFL_LAVA@GOTPAGEOFF]
Lloh18:
	adrp	x13, _TFL_AIR@GOTPAGE
Lloh19:
	ldr	x13, [x13, _TFL_AIR@GOTPAGEOFF]
	tst	w11, w10
	csel	x11, x13, x12, eq
LBB0_5:
	ldr	w11, [x11]
Lloh20:
	adrp	x12, _AREACONTENTS_DONOTENTER@GOTPAGE
Lloh21:
	ldr	x12, [x12, _AREACONTENTS_DONOTENTER@GOTPAGEOFF]
Lloh22:
	ldr	w12, [x12]
Lloh23:
	adrp	x13, _TFL_DONOTENTER@GOTPAGE
Lloh24:
	ldr	x13, [x13, _TFL_DONOTENTER@GOTPAGEOFF]
Lloh25:
	ldr	w13, [x13]
	tst	w12, w10
	csel	w12, wzr, w13, eq
	orr	w11, w12, w11
Lloh26:
	adrp	x12, _AREACONTENTS_NOTTEAM1@GOTPAGE
Lloh27:
	ldr	x12, [x12, _AREACONTENTS_NOTTEAM1@GOTPAGEOFF]
Lloh28:
	ldr	w12, [x12]
Lloh29:
	adrp	x13, _TFL_NOTTEAM1@GOTPAGE
Lloh30:
	ldr	x13, [x13, _TFL_NOTTEAM1@GOTPAGEOFF]
Lloh31:
	ldr	w13, [x13]
	tst	w12, w10
	csel	w12, wzr, w13, eq
	orr	w11, w11, w12
Lloh32:
	adrp	x12, _AREACONTENTS_NOTTEAM2@GOTPAGE
Lloh33:
	ldr	x12, [x12, _AREACONTENTS_NOTTEAM2@GOTPAGEOFF]
Lloh34:
	ldr	w12, [x12]
Lloh35:
	adrp	x13, _TFL_NOTTEAM2@GOTPAGE
Lloh36:
	ldr	x13, [x13, _TFL_NOTTEAM2@GOTPAGEOFF]
Lloh37:
	ldr	w13, [x13]
	tst	w12, w10
	csel	w10, wzr, w13, eq
	orr	w10, w11, w10
	add	x8, x8, x9, lsl #3
	ldr	w8, [x8, #4]
Lloh38:
	adrp	x9, _AREA_BRIDGE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _AREA_BRIDGE@GOTPAGEOFF]
Lloh40:
	adrp	x11, _TFL_BRIDGE@GOTPAGE
Lloh41:
	ldr	x11, [x11, _TFL_BRIDGE@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	ldr	w11, [x11]
	tst	w9, w8
	csel	w8, wzr, w11, eq
	orr	w0, w10, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh42
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,8,3                   ; @aasworld
	.comm	_AREACONTENTS_WATER,4,2         ; @AREACONTENTS_WATER
	.comm	_TFL_WATER,4,2                  ; @TFL_WATER
	.comm	_AREACONTENTS_SLIME,4,2         ; @AREACONTENTS_SLIME
	.comm	_TFL_SLIME,4,2                  ; @TFL_SLIME
	.comm	_AREACONTENTS_LAVA,4,2          ; @AREACONTENTS_LAVA
	.comm	_TFL_LAVA,4,2                   ; @TFL_LAVA
	.comm	_TFL_AIR,4,2                    ; @TFL_AIR
	.comm	_AREACONTENTS_DONOTENTER,4,2    ; @AREACONTENTS_DONOTENTER
	.comm	_TFL_DONOTENTER,4,2             ; @TFL_DONOTENTER
	.comm	_AREACONTENTS_NOTTEAM1,4,2      ; @AREACONTENTS_NOTTEAM1
	.comm	_TFL_NOTTEAM1,4,2               ; @TFL_NOTTEAM1
	.comm	_AREACONTENTS_NOTTEAM2,4,2      ; @AREACONTENTS_NOTTEAM2
	.comm	_TFL_NOTTEAM2,4,2               ; @TFL_NOTTEAM2
	.comm	_AREA_BRIDGE,4,2                ; @AREA_BRIDGE
	.comm	_TFL_BRIDGE,4,2                 ; @TFL_BRIDGE
.subsections_via_symbols
