	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q1_ParseEntities               ## -- Begin function Q1_ParseEntities
	.p2align	4, 0x90
_Q1_ParseEntities:                      ## @Q1_ParseEntities
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_num_entities@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_q1_dentdata@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_q1_entdatasize@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_LoadScriptMemory
	movq	%rax, %rbx
	movq	_SCFL_NOSTRINGWHITESPACES@GOTPCREL(%rip), %rax
	movq	_SCFL_NOSTRINGESCAPECHARS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SetScriptFlags
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ParseEntity
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_FreeScript                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_num_entities,8,3               ## @num_entities
	.comm	_q1_dentdata,4,2                ## @q1_dentdata
	.comm	_q1_entdatasize,4,2             ## @q1_entdatasize
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*Quake1 bsp file"

	.comm	_SCFL_NOSTRINGWHITESPACES,4,2   ## @SCFL_NOSTRINGWHITESPACES
	.comm	_SCFL_NOSTRINGESCAPECHARS,4,2   ## @SCFL_NOSTRINGESCAPECHARS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q1_ParseEntities               ; -- Begin function Q1_ParseEntities
	.p2align	2
_Q1_ParseEntities:                      ; @Q1_ParseEntities
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _num_entities@GOTPAGE
Lloh1:
	ldr	x8, [x8, _num_entities@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _q1_dentdata@GOTPAGE
Lloh4:
	ldr	x8, [x8, _q1_dentdata@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _q1_entdatasize@GOTPAGE
Lloh7:
	ldr	x8, [x8, _q1_entdatasize@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_LoadScriptMemory
	mov	x19, x0
Lloh11:
	adrp	x8, _SCFL_NOSTRINGWHITESPACES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCFL_NOSTRINGWHITESPACES@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _SCFL_NOSTRINGESCAPECHARS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SCFL_NOSTRINGESCAPECHARS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_SetScriptFlags
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ParseEntity
	cbnz	x0, LBB0_1
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FreeScript
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_num_entities,8,3               ; @num_entities
	.comm	_q1_dentdata,4,2                ; @q1_dentdata
	.comm	_q1_entdatasize,4,2             ; @q1_entdatasize
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*Quake1 bsp file"

	.comm	_SCFL_NOSTRINGWHITESPACES,4,2   ; @SCFL_NOSTRINGWHITESPACES
	.comm	_SCFL_NOSTRINGESCAPECHARS,4,2   ; @SCFL_NOSTRINGESCAPECHARS
.subsections_via_symbols
