	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IniCacheSave                   ## -- Begin function IniCacheSave
	.p2align	4, 0x90
_IniCacheSave:                          ## @IniCacheSave
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_RtlInitUnicodeString
	movq	_OBJ_CASE_INSENSITIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_InitializeObjectAttributes
	movq	_FILE_GENERIC_WRITE@GOTPCREL(%rip), %rax
	movq	_SYNCHRONIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_FILE_SUPERSEDE@GOTPCREL(%rip), %rax
	movq	_FILE_SYNCHRONOUS_IO_NONALERT@GOTPCREL(%rip), %rcx
	movq	_FILE_SEQUENTIAL_ONLY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movl	(%rax), %eax
	movq	_FILE_NON_DIRECTORY_FILE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	subq	$8, %rsp
	leaq	-28(%rbp), %rdi
	leaq	-32(%rbp), %rcx
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	pushq	$0
	pushq	$0
	pushq	%rbx
	pushq	%rax
	pushq	$0
	callq	_NtCreateFile
	addq	$48, %rsp
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_NT_SUCCESS
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-28(%rbp), %esi
	movl	%r14d, %edi
	callq	_IniCacheSaveByHandle
	movl	%eax, %ebx
	movl	-28(%rbp), %edi
	callq	_NtClose
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_DPRINT
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_CASE_INSENSITIVE,4,2       ## @OBJ_CASE_INSENSITIVE
	.comm	_FILE_GENERIC_WRITE,4,2         ## @FILE_GENERIC_WRITE
	.comm	_SYNCHRONIZE,4,2                ## @SYNCHRONIZE
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ## @FILE_ATTRIBUTE_NORMAL
	.comm	_FILE_SUPERSEDE,4,2             ## @FILE_SUPERSEDE
	.comm	_FILE_SYNCHRONOUS_IO_NONALERT,4,2 ## @FILE_SYNCHRONOUS_IO_NONALERT
	.comm	_FILE_SEQUENTIAL_ONLY,4,2       ## @FILE_SEQUENTIAL_ONLY
	.comm	_FILE_NON_DIRECTORY_FILE,4,2    ## @FILE_NON_DIRECTORY_FILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NtCreateFile() failed (Status %lx)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IniCacheSave                   ; -- Begin function IniCacheSave
	.p2align	2
_IniCacheSave:                          ; @IniCacheSave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	sub	x0, x29, #20
	bl	_RtlInitUnicodeString
Lloh0:
	adrp	x8, _OBJ_CASE_INSENSITIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJ_CASE_INSENSITIVE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	sub	x0, x29, #24
	sub	x1, x29, #20
	mov	x3, #0
	mov	x4, #0
	bl	_InitializeObjectAttributes
Lloh3:
	adrp	x8, _FILE_GENERIC_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_GENERIC_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SYNCHRONIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SYNCHRONIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh9:
	adrp	x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x8, _FILE_SUPERSEDE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FILE_SUPERSEDE@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
Lloh15:
	adrp	x8, _FILE_SYNCHRONOUS_IO_NONALERT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FILE_SYNCHRONOUS_IO_NONALERT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _FILE_SEQUENTIAL_ONLY@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FILE_SEQUENTIAL_ONLY@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _FILE_NON_DIRECTORY_FILE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FILE_NON_DIRECTORY_FILE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	wzr, [sp, #16]
	str	xzr, [sp, #8]
	add	x0, sp, #32
	sub	x2, x29, #24
	sub	x3, x29, #28
	str	w8, [sp]
	mov	x4, #0
	mov	w6, #0
	bl	_NtCreateFile
	mov	x20, x0
	bl	_NT_SUCCESS
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [sp, #32]
	mov	x0, x19
	bl	_IniCacheSaveByHandle
	mov	x20, x0
	ldr	w0, [sp, #32]
	bl	_NtClose
	b	LBB0_3
LBB0_2:
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_DPRINT
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_CASE_INSENSITIVE,4,2       ; @OBJ_CASE_INSENSITIVE
	.comm	_FILE_GENERIC_WRITE,4,2         ; @FILE_GENERIC_WRITE
	.comm	_SYNCHRONIZE,4,2                ; @SYNCHRONIZE
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ; @FILE_ATTRIBUTE_NORMAL
	.comm	_FILE_SUPERSEDE,4,2             ; @FILE_SUPERSEDE
	.comm	_FILE_SYNCHRONOUS_IO_NONALERT,4,2 ; @FILE_SYNCHRONOUS_IO_NONALERT
	.comm	_FILE_SEQUENTIAL_ONLY,4,2       ; @FILE_SEQUENTIAL_ONLY
	.comm	_FILE_NON_DIRECTORY_FILE,4,2    ; @FILE_NON_DIRECTORY_FILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NtCreateFile() failed (Status %lx)\n"

.subsections_via_symbols
