	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loadlump                       ## -- Begin function loadlump
	.p2align	4, 0x90
_loadlump:                              ## @loadlump
	.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	%rsi, %r14
	movq	_numlumps@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$12, %ebx
	xorl	%r13d, %r13d
	movq	_lumpinfo@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx), %edi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jl	LBB0_3
	jmp	LBB0_6
LBB0_1:
	xorl	%r13d, %r13d
	cmpl	%eax, %r13d
	je	LBB0_8
LBB0_9:
	movq	_lumpinfo@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	%r13d, %ebx
	shlq	$4, %rbx
	movl	(%rax,%rbx), %edi
	callq	_malloc
	movq	%rax, %r12
	movq	(%r15), %rax
	movl	4(%rax,%rbx), %edi
	movl	8(%rax,%rbx), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lseek
	movq	(%r15), %rax
	movl	(%rax,%rbx), %edx
	movl	4(%rax,%rbx), %edi
	movq	%r12, %rsi
	callq	_read
	movq	(%r15), %rax
	movl	(%rax,%rbx), %eax
	movl	%eax, (%r14)
	jmp	LBB0_10
LBB0_4:
	movl	(%r12), %eax
LBB0_6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	%eax, %r13d
	jne	LBB0_9
LBB0_8:
	xorl	%r12d, %r12d
LBB0_10:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_numlumps,4,2                   ## @numlumps
	.comm	_lumpinfo,8,3                   ## @lumpinfo
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loadlump                       ; -- Begin function loadlump
	.p2align	2
_loadlump:                              ; @loadlump
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x23, _numlumps@GOTPAGE
Lloh1:
	ldr	x23, [x23, _numlumps@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x21, _lumpinfo@GOTPAGE
Lloh3:
	ldr	x21, [x21, _lumpinfo@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x22, #0
	mov	w24, #12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x24]
	mov	x1, x20
	mov	w2, #8
	bl	_strncasecmp
	cbz	w0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x23]
	add	x24, x24, #16
	cmp	x22, x8
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
	cmp	w22, w8
	b.ne	LBB0_8
LBB0_6:
	mov	x20, #0
	b	LBB0_9
LBB0_7:
	ldr	w8, [x23]
	cmp	w22, w8
	b.eq	LBB0_6
LBB0_8:
	ldr	x8, [x21]
	mov	w9, w22
	lsl	x22, x9, #4
	ldr	w0, [x8, x22]
	bl	_malloc
	mov	x20, x0
	ldr	x8, [x21]
	add	x8, x8, x22
	ldp	w0, w1, [x8, #4]
Lloh4:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_lseek
	ldr	x8, [x21]
	add	x8, x8, x22
	ldp	w2, w0, [x8]
	mov	x1, x20
	bl	_read
	ldr	x8, [x21]
	ldr	w8, [x8, x22]
	str	w8, [x19]
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_numlumps,4,2                   ; @numlumps
	.comm	_lumpinfo,8,3                   ; @lumpinfo
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
