	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_map_init_charpp            ## -- Begin function atf_map_init_charpp
	.p2align	4, 0x90
_atf_map_init_charpp:                   ## @atf_map_init_charpp
	.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, %rbx
	movq	%rdi, %r14
	callq	_atf_map_init
	movl	%eax, %r15d
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	movl	%r15d, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	je	LBB0_2
LBB0_8:
	movl	%r15d, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_atf_map_fini
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_8
## %bb.3:
	addq	$16, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_INV
	movq	-8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_strdup
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_atf_map_insert
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %r12
	addq	$16, %rbx
	testq	%r12, %r12
	jne	LBB0_5
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_atf_libc_error
	movl	%eax, %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"List too short; no value for key '%s' provided"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_map_init_charpp            ; -- Begin function atf_map_init_charpp
	.p2align	2
_atf_map_init_charpp:                   ; @atf_map_init_charpp
	.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	x22, x1
	mov	x19, x0
	bl	_atf_map_init
	mov	x20, x0
	cbz	x22, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_atf_is_error
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_atf_is_error
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_atf_map_fini
LBB0_4:
	mov	x0, x20
	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
LBB0_5:
	ldr	x21, [x22]
	cbz	x21, LBB0_2
; %bb.6:
	add	x22, x22, #16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_INV
	ldur	x0, [x22, #-8]
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_strdup
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	bl	_atf_map_insert
	mov	x20, x0
	bl	_atf_is_error
	cbnz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x21, [x22], #16
	cbnz	x21, LBB0_7
	b	LBB0_2
LBB0_10:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_atf_libc_error
	mov	x20, x0
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"List too short; no value for key '%s' provided"

.subsections_via_symbols
