	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_W_CheckNumForName              ## -- Begin function W_CheckNumForName
	.p2align	4, 0x90
_W_CheckNumForName:                     ## @W_CheckNumForName
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rsi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_strncpy
	movb	$0, -16(%rbp)
	movq	%rbx, %rdi
	callq	_strupr
	movq	_numlumps@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %esi
	movq	_lumpinfo@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	leaq	-8(,%rcx,8), %rcx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$-8, %rcx
	cmpq	$-8, %rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rcx), %rbx
	cmpl	%edx, (%rbx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, 16(%rbx)
	jne	LBB0_5
## %bb.4:
	shrq	$3, %rcx
	movl	%ecx, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lumpinfo,8,3                   ## @lumpinfo
	.comm	_numlumps,4,2                   ## @numlumps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_W_CheckNumForName              ; -- Begin function W_CheckNumForName
	.p2align	2
_W_CheckNumForName:                     ; @W_CheckNumForName
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x1, x0
	mov	x0, sp
	mov	w2, #8
	bl	_strncpy
	strb	wzr, [sp, #8]
	mov	x0, sp
	bl	_strupr
Lloh0:
	adrp	x8, _numlumps@GOTPAGE
Lloh1:
	ldr	x8, [x8, _numlumps@GOTPAGEOFF]
Lloh2:
	ldrsw	x11, [x8]
	cbz	w11, LBB0_6
; %bb.1:
	ldp	w8, w9, [sp]
Lloh3:
	adrp	x10, _lumpinfo@GOTPAGE
Lloh4:
	ldr	x10, [x10, _lumpinfo@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	lsl	x11, x11, #3
	sub	x11, x11, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x11, x11, #8
	cmn	x11, #8
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x11]
	ldr	w13, [x12]
	cmp	w13, w8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [x12, #16]
	cmp	w12, w9
	b.ne	LBB0_2
; %bb.5:
	lsr	x0, x11, #3
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_lumpinfo,8,3                   ; @lumpinfo
	.comm	_numlumps,4,2                   ; @numlumps
.subsections_via_symbols
