	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kwval_lookup                   ## -- Begin function kwval_lookup
	.p2align	4, 0x90
_kwval_lookup:                          ## @kwval_lookup
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, (%r8)
	movq	_NKWINFO@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_kwinfo@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	16(%rax,%r14), %esi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	addq	$20, %r14
	cmpq	(%r15), %r13
	jb	LBB0_2
LBB0_13:
	xorl	%r12d, %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r12), %rax
	movl	(%rax,%r14), %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	movl	4(%rax,%r14), %ecx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%ecx, (%rbx)
	movl	8(%rax,%r14), %ecx
	movl	$1, %r12d
	cmpl	$128, %ecx
	je	LBB0_11
## %bb.4:
	cmpl	$130, %ecx
	je	LBB0_7
## %bb.5:
	cmpl	$129, %ecx
	jne	LBB0_14
## %bb.6:
	movl	12(%rax,%r14), %edi
	callq	_nl_langinfo
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_14
LBB0_11:
	movl	12(%rax,%r14), %edi
	callq	_kwval_ltime
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	jmp	LBB0_14
LBB0_7:
	movl	12(%rax,%r14), %edi
	callq	_kwval_lconv
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx)
	movb	(%rax), %al
	movq	_CHAR_MAX@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_14
## %bb.8:
	movl	(%rbx), %eax
	movq	_TYPE_NUM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movq	_TYPE_UNQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_10:
	leaq	_kwval_lookup.nastr(%rip), %rax
	movq	%rax, (%rdx)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
_kwval_lookup.nastr:                    ## @kwval_lookup.nastr
	.asciz	"-1"

	.comm	_NKWINFO,8,3                    ## @NKWINFO
	.comm	_kwinfo,8,3                     ## @kwinfo
	.comm	_CHAR_MAX,1,0                   ## @CHAR_MAX
	.comm	_TYPE_NUM,4,2                   ## @TYPE_NUM
	.comm	_TYPE_UNQ,4,2                   ## @TYPE_UNQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kwval_lookup                   ; -- Begin function kwval_lookup
	.p2align	2
_kwval_lookup:                          ; @kwval_lookup
	.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
	str	wzr, [x4]
Lloh0:
	adrp	x25, _NKWINFO@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NKWINFO@GOTPAGEOFF]
	ldr	x8, [x25]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	mov	x24, #0
	mov	x26, #0
Lloh2:
	adrp	x27, _kwinfo@GOTPAGE
Lloh3:
	ldr	x27, [x27, _kwinfo@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	add	x8, x8, x24
	ldr	w1, [x8, #16]
	mov	x0, x23
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x26, x26, #1
	ldr	x8, [x25]
	add	x24, x24, #20
	cmp	x26, x8
	b.lo	LBB0_2
LBB0_4:
	mov	w22, #0
LBB0_5:
	mov	x0, x22
	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
LBB0_6:
	ldr	x8, [x27]
	add	x9, x8, x24
	ldr	w10, [x9]
	str	w10, [x22]
	ldr	w10, [x9, #4]
	str	w10, [x20]
	ldr	w10, [x9, #8]
	mov	w22, #1
	cmp	w10, #128
	b.eq	LBB0_10
; %bb.7:
	cmp	w10, #130
	b.eq	LBB0_11
; %bb.8:
	cmp	w10, #129
	b.ne	LBB0_5
; %bb.9:
	add	x8, x8, x24
	ldr	w0, [x8, #12]
	bl	_nl_langinfo
	str	x0, [x19]
	mov	w22, #1
	b	LBB0_5
LBB0_10:
	ldr	w0, [x9, #12]
	bl	_kwval_ltime
	str	x0, [x19]
	str	w22, [x21]
	b	LBB0_5
LBB0_11:
	add	x8, x8, x24
	ldr	w0, [x8, #12]
	bl	_kwval_lconv
	str	x0, [x19]
	ldrb	w8, [x0]
Lloh4:
	adrp	x9, _CHAR_MAX@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CHAR_MAX@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.12:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _TYPE_NUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TYPE_NUM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.13:
Lloh9:
	adrp	x8, _TYPE_UNQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TYPE_UNQ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_14:
Lloh12:
	adrp	x8, _kwval_lookup.nastr@PAGE
Lloh13:
	add	x8, x8, _kwval_lookup.nastr@PAGEOFF
	str	x8, [x19]
LBB0_15:
	mov	w22, #1
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_kwval_lookup.nastr:                    ; @kwval_lookup.nastr
	.asciz	"-1"

	.comm	_NKWINFO,8,3                    ; @NKWINFO
	.comm	_kwinfo,8,3                     ; @kwinfo
	.comm	_CHAR_MAX,1,0                   ; @CHAR_MAX
	.comm	_TYPE_NUM,4,2                   ; @TYPE_NUM
	.comm	_TYPE_UNQ,4,2                   ; @TYPE_UNQ
.subsections_via_symbols
