	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SaveServicesToFile
_SaveServicesToFile:                    ## @SaveServicesToFile
	.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	$2056, %rsp                     ## imm = 0x808
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_GENERIC_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CREATE_ALWAYS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_FILE_ATTRIBUTE_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	$0, (%rsp)
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_CreateFileW
	movq	%rax, %r12
	movq	_INVALID_HANDLE_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_15
## %bb.1:
	movabsq	$42949672973, %rax              ## imm = 0xA0000000D
	movq	%rax, -2072(%rbp)
	movl	$9, -2052(%rbp)
	movl	(%r14), %edi
	callq	_ListView_GetItemCount
	movq	%rax, -2064(%rbp)               ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_14
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-2048(%rbp), %r13
	leaq	-2076(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	-2072(%rbp), %rsi
	movl	$8, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
	incq	%rbx
	cmpq	%rbx, -2064(%rbp)               ## 8-byte Folded Reload
	je	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_GetTextFromListView
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$2, %eax
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
	movq	%r12, %rdi
	leaq	-2052(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_GetTextFromListView
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$2, %eax
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
	movq	%r12, %rdi
	leaq	-2052(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_GetTextFromListView
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$2, %eax
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
	movq	%r12, %rdi
	leaq	-2052(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$3, %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_GetTextFromListView
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	shll	$2, %eax
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
	movq	%r12, %rdi
	leaq	-2052(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$4, %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_GetTextFromListView
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	shll	$2, %eax
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
	movq	%r12, %rdi
	leaq	-2052(%rbp), %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_WriteFile
	jmp	LBB0_13
LBB0_14:
	movq	%r12, %rdi
	callq	_CloseHandle
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	addq	$2056, %rsp                     ## imm = 0x808
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_GENERIC_WRITE,4,2              ## @GENERIC_WRITE
	.comm	_CREATE_ALWAYS,4,2              ## @CREATE_ALWAYS
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ## @FILE_ATTRIBUTE_NORMAL
	.comm	_INVALID_HANDLE_VALUE,8,3       ## @INVALID_HANDLE_VALUE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_SaveServicesToFile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SaveServicesToFile
_SaveServicesToFile:                    ; @SaveServicesToFile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #2032
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
Lloh3:
	adrp	x9, _FALSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x9]
Lloh6:
	adrp	x9, _GENERIC_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GENERIC_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x9, _CREATE_ALWAYS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CREATE_ALWAYS@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x9]
Lloh12:
	adrp	x9, _FILE_ATTRIBUTE_NORMAL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FILE_ATTRIBUTE_NORMAL@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x9]
	mov	x0, x8
	mov	w2, #0
	mov	x3, #0
	mov	x6, #0
	bl	_CreateFileW
Lloh15:
	adrp	x8, _INVALID_HANDLE_VALUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INVALID_HANDLE_VALUE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.1:
	mov	x20, x0
	mov	x8, #13
	movk	x8, #10, lsl #32
	str	x8, [sp, #16]
	mov	w8, #9
	str	w8, [sp, #12]
	ldr	w0, [x19]
	bl	_ListView_GetItemCount
	cmp	x0, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x21, x0
	mov	x22, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #8
	mov	x4, #0
	bl	_WriteFile
	add	x22, x22, #1
	cmp	x21, x22
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x22
	mov	x3, #0
	bl	_GetTextFromListView
	cbz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w2, w0, #2
	add	x1, sp, #24
	add	x3, sp, #8
	mov	x0, x20
	mov	x4, #0
	bl	_WriteFile
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #4
	mov	x4, #0
	bl	_WriteFile
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x22
	mov	w3, #1
	bl	_GetTextFromListView
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w2, w0, #2
	add	x1, sp, #24
	add	x3, sp, #8
	mov	x0, x20
	mov	x4, #0
	bl	_WriteFile
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #4
	mov	x4, #0
	bl	_WriteFile
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x22
	mov	w3, #2
	bl	_GetTextFromListView
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w2, w0, #2
	add	x1, sp, #24
	add	x3, sp, #8
	mov	x0, x20
	mov	x4, #0
	bl	_WriteFile
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #4
	mov	x4, #0
	bl	_WriteFile
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x22
	mov	w3, #3
	bl	_GetTextFromListView
	cbz	w0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	lsl	w2, w0, #2
	add	x1, sp, #24
	add	x3, sp, #8
	mov	x0, x20
	mov	x4, #0
	bl	_WriteFile
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #4
	mov	x4, #0
	bl	_WriteFile
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x22
	mov	w3, #4
	bl	_GetTextFromListView
	cbz	w0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	lsl	w2, w0, #2
	add	x1, sp, #24
	add	x3, sp, #8
	mov	x0, x20
	mov	x4, #0
	bl	_WriteFile
	add	x1, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	w2, #4
	mov	x4, #0
	bl	_WriteFile
	b	LBB0_3
LBB0_14:
	mov	x0, x20
	bl	_CloseHandle
Lloh18:
	adrp	x8, _TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
LBB0_15:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x21
	add	sp, sp, #2032
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.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 AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_GENERIC_WRITE,4,2              ; @GENERIC_WRITE
	.comm	_CREATE_ALWAYS,4,2              ; @CREATE_ALWAYS
	.comm	_FILE_ATTRIBUTE_NORMAL,4,2      ; @FILE_ATTRIBUTE_NORMAL
	.comm	_INVALID_HANDLE_VALUE,8,3       ; @INVALID_HANDLE_VALUE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_SaveServicesToFile
.subsections_via_symbols
