	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_untab_index                    ## -- Begin function untab_index
	.p2align	4, 0x90
_untab_index:                           ## @untab_index
	.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	%rdi, %r14
	movq	_cur_pwtab_num@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	decl	%r13d
	xorl	%r15d, %r15d
	movq	_untab@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %r15d
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r15), %eax
	cmpl	%eax, %r13d
	jle	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%r13), %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movq	(%r12), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %r13d
	jmp	LBB0_6
LBB0_2:
	movl	%ebx, %r13d
	jmp	LBB0_9
LBB0_7:
	movq	(%r12), %rax
	movslq	%r13d, %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_STREQ
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	(%r12), %rax
	movslq	%r15d, %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_STREQ
	xorl	%r13d, %r13d
	cmpq	$1, %rax
	sbbl	%r13d, %r13d
	orl	%r15d, %r13d
LBB0_9:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cur_pwtab_num,4,2              ## @cur_pwtab_num
	.comm	_untab,8,3                      ## @untab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_untab_index                    ; -- Begin function untab_index
	.p2align	2
_untab_index:                           ; @untab_index
	.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, x0
	mov	w21, #0
Lloh0:
	adrp	x8, _cur_pwtab_num@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cur_pwtab_num@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w20, w8, #1
Lloh3:
	adrp	x22, _untab@GOTPAGE
Lloh4:
	ldr	x22, [x22, _untab@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w20, w21
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w23, w8, #1
	ldr	x8, [x22]
	ldr	w0, [x8, w23, sxtw #2]
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #0
	csel	w21, w21, w23, gt
	csel	w20, w23, w20, gt
	add	w8, w21, #1
	cmp	w20, w8
	b.gt	LBB0_1
; %bb.3:
	ldr	x8, [x22]
	ldr	w0, [x8, w20, sxtw #2]
	mov	x1, x19
	bl	_STREQ
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	w0, [x8, w21, sxtw #2]
	mov	x1, x19
	bl	_STREQ
	cmp	x0, #0
	csinv	w20, w21, wzr, ne
	b	LBB0_6
LBB0_5:
	mov	x20, x23
LBB0_6:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cur_pwtab_num,4,2              ; @cur_pwtab_num
	.comm	_untab,8,3                      ; @untab
.subsections_via_symbols
