	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessModels                  ## -- Begin function ProcessModels
	.p2align	4, 0x90
_ProcessModels:                         ## @ProcessModels
	.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
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_BeginBSPFile
	movq	_entity_num@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	movq	_num_entities@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_10
## %bb.1:
	movq	_entities@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %r12
	movq	_verboseentities@GOTPCREL(%rip), %r14
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	cmpq	(%r13), %rax
	jae	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpl	$0, 4(%rcx,%rax,8)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%rcx,%rax,8)
	je	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_nummodels@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_qprintf
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ProcessSubModel
	cmpl	$0, (%r14)
	jne	LBB0_9
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ProcessWorldModel
	cmpl	$0, (%r14)
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_verbose@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_9
LBB0_10:
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_entity_num,8,3                 ## @entity_num
	.comm	_num_entities,8,3               ## @num_entities
	.comm	_entities,8,3                   ## @entities
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"############### model %i ###############\n"

	.comm	_nummodels,4,2                  ## @nummodels
	.comm	_verboseentities,4,2            ## @verboseentities
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcessModels                  ; -- Begin function ProcessModels
	.p2align	2
_ProcessModels:                         ; @ProcessModels
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, _verbose@GOTPAGE
Lloh1:
	ldr	x20, [x20, _verbose@GOTPAGEOFF]
	ldr	w21, [x20]
	bl	_BeginBSPFile
Lloh2:
	adrp	x22, _entity_num@GOTPAGE
Lloh3:
	ldr	x22, [x22, _entity_num@GOTPAGEOFF]
	str	xzr, [x22]
Lloh4:
	adrp	x23, _num_entities@GOTPAGE
Lloh5:
	ldr	x23, [x23, _num_entities@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x8, #0
Lloh6:
	adrp	x24, _entities@GOTPAGE
Lloh7:
	ldr	x24, [x24, _entities@GOTPAGEOFF]
Lloh8:
	adrp	x25, _nummodels@GOTPAGE
Lloh9:
	ldr	x25, [x25, _nummodels@GOTPAGEOFF]
Lloh10:
	adrp	x19, l_.str@PAGE
Lloh11:
	add	x19, x19, l_.str@PAGEOFF
Lloh12:
	adrp	x26, _verboseentities@GOTPAGE
Lloh13:
	ldr	x26, [x26, _verboseentities@GOTPAGEOFF]
Lloh14:
	adrp	x27, _qfalse@GOTPAGE
Lloh15:
	ldr	x27, [x27, _qfalse@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	add	x8, x8, #1
	str	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.hs	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	add	x10, x9, x8, lsl #3
	ldr	w10, [x10, #4]
	cbnz	w10, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x8, x8, #3
	ldr	w8, [x9, x8]
	cbz	w8, LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	bl	_qprintf
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_ProcessSubModel
	ldr	w8, [x26]
	cbnz	w8, LBB0_2
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_ProcessWorldModel
	ldr	w8, [x26]
	cbnz	w8, LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	str	w8, [x20]
	b	LBB0_2
LBB0_9:
	str	w21, [x20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_entity_num,8,3                 ; @entity_num
	.comm	_num_entities,8,3               ; @num_entities
	.comm	_entities,8,3                   ; @entities
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"############### model %i ###############\n"

	.comm	_nummodels,4,2                  ; @nummodels
	.comm	_verboseentities,4,2            ; @verboseentities
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
