	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_str_to_val
_map_str_to_val:                        ## @map_str_to_val
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	leaq	-1(%rdx), %r15
	cmpb	$10, -1(%rsi,%rdx)
	cmovneq	%rdx, %r15
	movq	8(%rdi), %rsi
	movq	_AIPTEK_INVALID_VALUE@GOTPCREL(%rip), %r12
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %r12
LBB0_5:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AIPTEK_INVALID_VALUE,4,2       ## @AIPTEK_INVALID_VALUE
	.no_dead_strip	_map_str_to_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_str_to_val
_map_str_to_val:                        ; @map_str_to_val
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	sub	x8, x2, #1
	ldrb	w9, [x1, x8]
	cmp	w9, #10
	csel	x21, x8, x2, eq
	ldr	x1, [x0, #8]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _AIPTEK_INVALID_VALUE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AIPTEK_INVALID_VALUE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x2, x21
	bl	_strncmp
	cbz	w0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19, #24]
	add	x19, x19, #16
	cbnz	x1, LBB0_2
; %bb.4:
	mov	x19, x22
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x19, _AIPTEK_INVALID_VALUE@GOTPAGE
Lloh3:
	ldr	x19, [x19, _AIPTEK_INVALID_VALUE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AIPTEK_INVALID_VALUE,4,2       ; @AIPTEK_INVALID_VALUE
	.no_dead_strip	_map_str_to_val
.subsections_via_symbols
