	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IniCacheInsertKey              ## -- Begin function IniCacheInsertKey
	.p2align	4, 0x90
_IniCacheInsertKey:                     ## @IniCacheInsertKey
	.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
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rcx, %r14
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.2:
	movq	%r8, %rbx
	testq	%r8, %r8
	je	LBB0_11
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_11
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_11
## %bb.5:
	movq	%rdx, %r12
	movq	%rdi, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_RtlAllocateHeap
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	movq	%rax, %r13
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	shll	$5, %eax
	leal	32(%rax), %edx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_RtlAllocateHeap
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_wcscpy
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	shll	$5, %eax
	leal	32(%rax), %edx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_RtlAllocateHeap
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_wcscpy
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	movq	_INSERT_FIRST@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_20
LBB0_10:
	movq	%r13, 8(%rax)
	movq	%rax, (%r13)
	movq	%r13, 8(%r15)
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str(%rip), %rdi
LBB0_12:
	callq	_DPRINT
LBB0_13:
	xorl	%r13d, %r13d
LBB0_14:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_12
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	callq	_DPRINT
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
	callq	_DPRINT
	movq	_ProcessHeap@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	24(%r13), %rdx
	xorl	%esi, %esi
	callq	_RtlFreeHeap
	movl	(%rbx), %edi
LBB0_18:
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_RtlFreeHeap
	jmp	LBB0_13
LBB0_19:
	movq	%r13, 8(%r15)
	movq	%r13, (%r15)
	jmp	LBB0_14
LBB0_20:
	movq	_INSERT_BEFORE@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	jne	LBB0_24
## %bb.21:
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.22:
	cmpq	%rdx, %rax
	je	LBB0_10
## %bb.23:
	movq	%rdx, (%r13)
	movq	8(%rdx), %rax
	movq	%rax, 8(%r13)
	movq	8(%rdx), %rax
	movq	%r13, (%rax)
	movq	%r13, 8(%rdx)
	jmp	LBB0_14
LBB0_24:
	movq	_INSERT_LAST@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_26
LBB0_25:
	movq	(%r15), %rax
	movq	%r13, (%rax)
	movq	%rax, 8(%r13)
	movq	%r13, (%r15)
	jmp	LBB0_14
LBB0_26:
	movq	_INSERT_AFTER@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_14
## %bb.27:
	testq	%rdx, %rdx
	je	LBB0_25
## %bb.28:
	cmpq	%rdx, (%r15)
	je	LBB0_25
## %bb.29:
	movq	(%rdx), %rax
	movq	%rax, (%r13)
	movq	%rdx, 8(%r13)
	movq	(%rdx), %rax
	movq	%r13, 8(%rax)
	movq	%r13, (%rdx)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid parameter\n"

	.comm	_ProcessHeap,4,2                ## @ProcessHeap
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
L_.str.1:                               ## @.str.1
	.asciz	"RtlAllocateHeap() failed\n"

	.comm	_INSERT_FIRST,8,3               ## @INSERT_FIRST
	.comm	_INSERT_BEFORE,8,3              ## @INSERT_BEFORE
	.comm	_INSERT_LAST,8,3                ## @INSERT_LAST
	.comm	_INSERT_AFTER,8,3               ## @INSERT_AFTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IniCacheInsertKey              ; -- Begin function IniCacheInsertKey
	.p2align	2
_IniCacheInsertKey:                     ; @IniCacheInsertKey
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x24, x3
	cbz	x3, LBB0_11
; %bb.2:
	mov	x23, x4
	cbz	x4, LBB0_11
; %bb.3:
	ldr	x8, [x24]
	cbz	x8, LBB0_11
; %bb.4:
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.5:
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x26, _ProcessHeap@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ProcessHeap@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh2:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_RtlAllocateHeap
	mov	x19, x0
	cbz	x0, LBB0_14
; %bb.6:
	ldr	w25, [x26]
	mov	x0, x24
	bl	_wcslen
	lsl	w8, w0, #5
	add	w2, w8, #32
	mov	x0, x25
	mov	w1, #0
	bl	_RtlAllocateHeap
	str	x0, [x19, #24]
	cbz	x0, LBB0_15
; %bb.7:
	mov	x1, x24
	bl	_wcscpy
	ldr	w24, [x26]
	mov	x0, x23
	bl	_wcslen
	lsl	w8, w0, #5
	add	w2, w8, #32
	mov	x0, x24
	mov	w1, #0
	bl	_RtlAllocateHeap
	str	x0, [x19, #16]
	cbz	x0, LBB0_16
; %bb.8:
	mov	x1, x23
	bl	_wcscpy
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_18
; %bb.9:
Lloh5:
	adrp	x9, _INSERT_FIRST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INSERT_FIRST@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_19
LBB0_10:
	str	x19, [x8, #8]
	str	x8, [x19]
	str	x19, [x21, #8]
	b	LBB0_13
LBB0_11:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINT
LBB0_12:
	mov	x19, #0
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINT
	b	LBB0_13
LBB0_15:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINT
	b	LBB0_17
LBB0_16:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINT
	ldr	w0, [x26]
	ldr	x2, [x19, #24]
	mov	w1, #0
	bl	_RtlFreeHeap
LBB0_17:
	ldr	w0, [x26]
	mov	w1, #0
	mov	x2, x19
	bl	_RtlFreeHeap
	b	LBB0_12
LBB0_18:
	stp	x19, x19, [x21]
	b	LBB0_13
LBB0_19:
Lloh16:
	adrp	x9, _INSERT_BEFORE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _INSERT_BEFORE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x22
	b.ne	LBB0_23
; %bb.20:
	cbz	x20, LBB0_10
; %bb.21:
	cmp	x8, x20
	b.eq	LBB0_10
; %bb.22:
	ldr	x8, [x20, #8]
	stp	x20, x8, [x19]
	ldr	x8, [x20, #8]
	str	x19, [x8]
	str	x19, [x20, #8]
	b	LBB0_13
LBB0_23:
Lloh19:
	adrp	x8, _INSERT_LAST@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INSERT_LAST@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_25
LBB0_24:
	ldr	x8, [x21]
	str	x19, [x8]
	str	x8, [x19, #8]
	str	x19, [x21]
	b	LBB0_13
LBB0_25:
Lloh22:
	adrp	x8, _INSERT_AFTER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _INSERT_AFTER@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_13
; %bb.26:
	cbz	x20, LBB0_24
; %bb.27:
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_24
; %bb.28:
	ldr	x8, [x20]
	stp	x8, x20, [x19]
	ldr	x8, [x20]
	str	x19, [x8, #8]
	str	x19, [x20]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid parameter\n"

	.comm	_ProcessHeap,4,2                ; @ProcessHeap
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
l_.str.1:                               ; @.str.1
	.asciz	"RtlAllocateHeap() failed\n"

	.comm	_INSERT_FIRST,8,3               ; @INSERT_FIRST
	.comm	_INSERT_BEFORE,8,3              ; @INSERT_BEFORE
	.comm	_INSERT_LAST,8,3                ; @INSERT_LAST
	.comm	_INSERT_AFTER,8,3               ; @INSERT_AFTER
.subsections_via_symbols
