	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_W_InitMultipleFiles            ## -- Begin function W_InitMultipleFiles
	.p2align	4, 0x90
_W_InitMultipleFiles:                   ## @W_InitMultipleFiles
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_numlumps@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movl	$1, %edi
	callq	_malloc
	movq	_lumpinfo@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	callq	_W_AddFile
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
LBB0_3:
	movl	(%r14), %ebx
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_I_Error
	movl	(%r14), %ebx
LBB0_5:
	movl	%ebx, %edi
	callq	_malloc
	movq	_lumpcache@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_I_Error
	movq	(%r14), %rax
LBB0_7:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_numlumps,4,2                   ## @numlumps
	.comm	_lumpinfo,8,3                   ## @lumpinfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"W_InitFiles: no files found"

	.comm	_lumpcache,8,3                  ## @lumpcache
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't allocate lumpcache"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_W_InitMultipleFiles            ; -- Begin function W_InitMultipleFiles
	.p2align	2
_W_InitMultipleFiles:                   ; @W_InitMultipleFiles
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _numlumps@GOTPAGE
Lloh1:
	ldr	x20, [x20, _numlumps@GOTPAGEOFF]
	str	wzr, [x20]
	mov	w0, #1
	bl	_malloc
Lloh2:
	adrp	x8, _lumpinfo@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lumpinfo@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	ldr	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	add	x19, x19, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_W_AddFile
	ldr	x0, [x19], #8
	cbnz	x0, LBB0_2
LBB0_3:
	ldr	w19, [x20]
	cbnz	w19, LBB0_5
; %bb.4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_I_Error
	ldr	w19, [x20]
LBB0_5:
	mov	x0, x19
	bl	_malloc
Lloh7:
	adrp	x20, _lumpcache@GOTPAGE
Lloh8:
	ldr	x20, [x20, _lumpcache@GOTPAGEOFF]
	str	x0, [x20]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_I_Error
	ldr	x0, [x20]
LBB0_7:
	mov	w1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_numlumps,4,2                   ; @numlumps
	.comm	_lumpinfo,8,3                   ; @lumpinfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"W_InitFiles: no files found"

	.comm	_lumpcache,8,3                  ; @lumpcache
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't allocate lumpcache"

.subsections_via_symbols
