	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ValidEntity                ## -- Begin function AAS_ValidEntity
	.p2align	4, 0x90
_AAS_ValidEntity:                       ## @AAS_ValidEntity
	.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	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_entities@GOTPCREL(%rip), %r12
	movl	$1, %r14d
	cmpq	%rdi, (%r12)
	je	LBB0_18
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str.1(%rip), %rsi
	callq	_ValueForKey
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.14:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	L_.str.10(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	L_.str.11(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_18
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	movq	_SPAWNFLAG_NOT_DEATHMATCH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_17
	jmp	LBB0_18
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	movl	%eax, %edi
	callq	_atoi
	movq	_SPAWNFLAG_NOT_DEATHMATCH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_17:
	xorl	%r14d, %r14d
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%r14d, %eax
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	movl	%eax, %edi
	callq	_AAS_AlwaysTriggered
	testq	%rax, %rax
	jne	LBB0_18
	jmp	LBB0_17
LBB0_9:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ValueForKey
	leaq	-1072(%rbp), %rdi
	movl	%eax, %esi
	callq	_strcpy
	movq	_num_entities@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_17
## %bb.10:
	xorl	%r13d, %r13d
	leaq	-1072(%rbp), %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	movq	_num_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r13
	cmpq	%rax, %r15
	jge	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_ValueForKey
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12), %rdi
	addq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_ValueForKey
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_entities,8,3                   ## @entities
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"func_wall"

L_.str.1:                               ## @.str.1
	.asciz	"classname"

L_.str.2:                               ## @.str.2
	.asciz	"spawnflags"

	.comm	_SPAWNFLAG_NOT_DEATHMATCH,4,2   ## @SPAWNFLAG_NOT_DEATHMATCH
L_.str.3:                               ## @.str.3
	.asciz	"func_door_rotating"

L_.str.4:                               ## @.str.4
	.asciz	"targetname"

L_.str.5:                               ## @.str.5
	.asciz	"trigger_hurt"

L_.str.6:                               ## @.str.6
	.asciz	"trigger_push"

L_.str.7:                               ## @.str.7
	.asciz	"trigger_multiple"

L_.str.8:                               ## @.str.8
	.asciz	"target"

	.comm	_num_entities,4,2               ## @num_entities
L_.str.9:                               ## @.str.9
	.asciz	"target_teleporter"

L_.str.10:                              ## @.str.10
	.asciz	"trigger_teleport"

L_.str.11:                              ## @.str.11
	.asciz	"func_static"

L_.str.12:                              ## @.str.12
	.asciz	"func_door"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ValidEntity                ; -- Begin function AAS_ValidEntity
	.p2align	2
_AAS_ValidEntity:                       ; @AAS_ValidEntity
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #1040
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x22, _entities@GOTPAGE
Lloh4:
	ldr	x22, [x22, _entities@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x0
	b.eq	LBB0_13
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ValueForKey
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.2:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.3:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.4:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
Lloh19:
	adrp	x0, l_.str.6@PAGE
Lloh20:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.5:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.6:
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
Lloh27:
	adrp	x0, l_.str.10@PAGE
Lloh28:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.7:
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
Lloh31:
	adrp	x0, l_.str.11@PAGE
Lloh32:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.8:
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
Lloh35:
	adrp	x0, l_.str.12@PAGE
Lloh36:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_11
	b	LBB0_13
LBB0_9:
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	bl	_atoi
Lloh39:
	adrp	x8, _SPAWNFLAG_NOT_DEATHMATCH@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SPAWNFLAG_NOT_DEATHMATCH@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_11
	b	LBB0_13
LBB0_10:
Lloh42:
	adrp	x1, l_.str.2@PAGE
Lloh43:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	bl	_atoi
Lloh44:
	adrp	x8, _SPAWNFLAG_NOT_DEATHMATCH@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SPAWNFLAG_NOT_DEATHMATCH@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
LBB0_11:
	mov	w0, #0
	b	LBB0_14
LBB0_12:
Lloh47:
	adrp	x1, l_.str.4@PAGE
Lloh48:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	bl	_AAS_AlwaysTriggered
	cbz	x0, LBB0_11
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldur	x8, [x29, #-72]
Lloh49:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh50:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.15:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
Lloh52:
	adrp	x1, l_.str.8@PAGE
Lloh53:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_ValueForKey
	mov	x1, x0
	add	x0, sp, #8
	bl	_strcpy
Lloh54:
	adrp	x23, _num_entities@GOTPAGE
Lloh55:
	ldr	x23, [x23, _num_entities@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.17:
	mov	x24, #0
	mov	x25, #0
Lloh56:
	adrp	x19, l_.str.4@PAGE
Lloh57:
	add	x19, x19, l_.str.4@PAGEOFF
Lloh58:
	adrp	x20, l_.str.1@PAGE
Lloh59:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh60:
	adrp	x21, l_.str.9@PAGE
Lloh61:
	add	x21, x21, l_.str.9@PAGEOFF
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #4
	cmp	x25, x8
	b.ge	LBB0_11
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x0, x8, x24
	mov	x1, x19
	bl	_ValueForKey
	mov	x1, x0
	add	x0, sp, #8
	bl	_strcmp
	cbnz	w0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x22]
	add	x0, x8, x24
	mov	x1, x20
	bl	_ValueForKey
	mov	x1, x0
	mov	x0, x21
	bl	_strcmp
	cbnz	w0, LBB0_18
	b	LBB0_13
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_entities,8,3                   ; @entities
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"func_wall"

l_.str.1:                               ; @.str.1
	.asciz	"classname"

l_.str.2:                               ; @.str.2
	.asciz	"spawnflags"

	.comm	_SPAWNFLAG_NOT_DEATHMATCH,4,2   ; @SPAWNFLAG_NOT_DEATHMATCH
l_.str.3:                               ; @.str.3
	.asciz	"func_door_rotating"

l_.str.4:                               ; @.str.4
	.asciz	"targetname"

l_.str.5:                               ; @.str.5
	.asciz	"trigger_hurt"

l_.str.6:                               ; @.str.6
	.asciz	"trigger_push"

l_.str.7:                               ; @.str.7
	.asciz	"trigger_multiple"

l_.str.8:                               ; @.str.8
	.asciz	"target"

	.comm	_num_entities,4,2               ; @num_entities
l_.str.9:                               ; @.str.9
	.asciz	"target_teleporter"

l_.str.10:                              ; @.str.10
	.asciz	"trigger_teleport"

l_.str.11:                              ; @.str.11
	.asciz	"func_static"

l_.str.12:                              ; @.str.12
	.asciz	"func_door"

.subsections_via_symbols
