	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_key_names
_parse_key_names:                       ## @parse_key_names
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	$0, 8(%rsi)
	xorl	%edi, %edi
	movl	$8, %esi
	callq	_realloc
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r13
	movl	$1, %r14d
	movl	$16, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	_read_uint32
	movl	%eax, -4(%r13,%r14,8)
	leaq	8(%rbx), %rdi
	addq	8(%r15), %rdi
	callq	_strdup
	movl	%eax, -8(%r13,%r14,8)
	movl	%eax, %edi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_get_walk_size
	addq	%rax, %rbx
	addq	$8, %rbx
	cmpq	(%r15), %rbx
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rdi
	incq	%r14
	movl	%r12d, %esi
	callq	_realloc
	movq	%rax, %r13
	movq	%rax, 8(%r15)
	addl	$8, %r12d
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: memory allocation failed!\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.no_dead_strip	_parse_key_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_key_names
_parse_key_names:                       ; @parse_key_names
	.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, x1
	mov	x20, x0
	str	xzr, [x1, #8]
	mov	x0, #0
	mov	w1, #8
	bl	_realloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	mov	x23, #0
	mov	x21, #0
	mov	w24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_read_uint32
	add	x22, x22, x23
	str	w0, [x22, #4]
	add	x21, x21, #8
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_strdup
	str	w0, [x22]
	bl	_strlen
	add	x0, x0, #1
	bl	_get_walk_size
	ldr	x8, [x20]
	add	x21, x0, x21
	cmp	x21, x8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #8]
	add	x24, x24, #1
	add	w1, w23, #16
	bl	_realloc
	mov	x22, x0
	str	x0, [x19, #8]
	add	x23, x23, #8
	cbnz	x0, LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh5:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_exit
LBB0_5:
	str	x24, [x19]
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: memory allocation failed!\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.no_dead_strip	_parse_key_names
.subsections_via_symbols
