	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PROGRAM_AddProgram             ## -- Begin function PROGRAM_AddProgram
	.p2align	4, 0x90
_PROGRAM_AddProgram:                    ## @PROGRAM_AddProgram
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$96, %esi
	callq	_Alloc
	movq	%rax, %r13
	movl	(%r14), %r12d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %esi
	movl	%r12d, %edi
	callq	_Alloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%r14), %ebx
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %esi
	movl	%ebx, %edi
	callq	_Alloc
	movq	%rax, %r12
	movl	(%r14), %ebx
	movq	16(%rbp), %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %esi
	movl	%ebx, %edi
	callq	_Alloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %ebx
	movq	32(%rbp), %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %esi
	movl	%ebx, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	callq	_Alloc
	movq	%rax, %r14
	testq	%r13, %r13
	je	LBB0_10
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.2:
	testq	%r12, %r12
	je	LBB0_10
## %bb.3:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_10
## %bb.4:
	testq	%r14, %r14
	je	LBB0_10
## %bb.5:
	movq	%r12, %r15
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %r12
	callq	_memcpy
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	16(%rbp), %r15
	movq	%r15, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	32(%rbp), %r15
	movq	%r15, %rdi
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r13, 16(%r15)
	leaq	8(%r15), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rcx
	movq	%rax, %rsi
	movq	(%rax), %rdx
	leaq	72(%rdx), %rax
	testq	%rdx, %rdx
	jne	LBB0_6
## %bb.7:
	movq	%r13, (%rsi)
	movq	%r15, 88(%r13)
	movq	%rcx, 80(%r13)
	movq	$0, 72(%r13)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 64(%r13)
	movq	%r12, 56(%r13)
	movq	%rbx, 48(%r13)
	movl	24(%rbp), %eax
	movl	%eax, (%r13)
	movq	%r14, 40(%r13)
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 36(%r13)
	movl	48(%rbp), %eax
	movl	%eax, 4(%r13)
	movl	40(%rbp), %eax
	movl	%eax, 8(%r13)
	movl	56(%rbp), %eax
	movl	%eax, 32(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r13)
	leaq	-128(%rbp), %r14
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_ZeroMemory
	movq	_LVIF_PARAM@GOTPCREL(%rip), %rax
	movq	_LVIF_IMAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_LVIF_TEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -128(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)
	movq	%r13, -112(%rbp)
	movl	4(%r15), %edi
	movl	$-1, %esi
	movl	%ebx, %edx
	callq	_ImageList_ReplaceIcon
	movl	%eax, -120(%rbp)
	movl	%ebx, %edi
	callq	_DestroyIcon
	movl	(%r15), %edi
	movq	_LVM_GETITEMCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageA
	movl	%eax, -124(%rbp)
	movl	(%r15), %edi
	movq	_LVM_INSERTITEMW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_SendMessageW
	movl	%eax, 12(%r13)
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	cmpl	$-1, %edi
	je	LBB0_21
## %bb.8:
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	cmpl	$-1, %esi
	je	LBB0_21
## %bb.9:
	movl	(%r15), %r14d
	movq	_LVM_SETITEMPOSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-124(%rbp), %r15d
	callq	_MAKELPARAM
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_SendMessageA
	jmp	LBB0_21
LBB0_10:
	movq	_IDS_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IDS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MB_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_MAIN_MessageBoxIDS
	testq	%r13, %r13
	je	LBB0_12
## %bb.11:
	movq	%r13, %rdi
	callq	_Free
LBB0_12:
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_Free
LBB0_14:
	testq	%r12, %r12
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_Free
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_Free
LBB0_18:
	testq	%r14, %r14
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_Free
LBB0_20:
	xorl	%r13d, %r13d
LBB0_21:
	movq	%r13, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.comm	_IDS_OUT_OF_MEMORY,4,2          ## @IDS_OUT_OF_MEMORY
	.comm	_IDS_ERROR,4,2                  ## @IDS_ERROR
	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_LVIF_PARAM,4,2                 ## @LVIF_PARAM
	.comm	_LVIF_IMAGE,4,2                 ## @LVIF_IMAGE
	.comm	_LVIF_TEXT,4,2                  ## @LVIF_TEXT
	.comm	_LVM_GETITEMCOUNT,4,2           ## @LVM_GETITEMCOUNT
	.comm	_LVM_INSERTITEMW,4,2            ## @LVM_INSERTITEMW
	.comm	_LVM_SETITEMPOSITION,4,2        ## @LVM_SETITEMPOSITION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PROGRAM_AddProgram             ; -- Begin function PROGRAM_AddProgram
	.p2align	2
_PROGRAM_AddProgram:                    ; @PROGRAM_AddProgram
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	w7, w1, [sp, #36]               ; 8-byte Folded Spill
	mov	x25, x6
	mov	x23, x5
	str	w4, [sp, #20]                   ; 4-byte Folded Spill
	str	w3, [sp, #44]                   ; 4-byte Folded Spill
	mov	x24, x2
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x21, [x29, #16]
Lloh0:
	adrp	x22, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #96
	bl	_Alloc
	mov	x19, x0
	ldr	w20, [x22]
	mov	x0, x24
	bl	_wcslen
	lsl	w8, w0, #2
	add	w1, w8, #4
	mov	x0, x20
	bl	_Alloc
	mov	x26, x0
	ldr	w20, [x22]
	mov	x0, x23
	bl	_wcslen
	lsl	w8, w0, #2
	add	w1, w8, #4
	mov	x0, x20
	bl	_Alloc
	mov	x27, x0
	ldr	w20, [x22]
	mov	x0, x25
	bl	_wcslen
	lsl	w8, w0, #2
	add	w1, w8, #4
	mov	x0, x20
	bl	_Alloc
	mov	x28, x0
	ldr	w20, [x22]
	mov	x0, x21
	bl	_wcslen
	lsl	w8, w0, #2
	add	w1, w8, #4
	mov	x0, x20
	bl	_Alloc
	mov	x20, x0
	cmp	x19, #0
	ccmp	x26, #0, #4, ne
	ccmp	x27, #0, #4, ne
	ccmp	x28, #0, #4, ne
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_12
; %bb.1:
Lloh2:
	adrp	x8, _IDS_OUT_OF_MEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDS_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _IDS_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDS_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _MB_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MB_OK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_MAIN_MessageBoxIDS
	cbz	x19, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_Free
LBB0_3:
	cbz	x26, LBB0_5
; %bb.4:
	mov	x0, x26
	bl	_Free
LBB0_5:
	cbz	x27, LBB0_7
; %bb.6:
	mov	x0, x27
	bl	_Free
LBB0_7:
	cbz	x28, LBB0_9
; %bb.8:
	mov	x0, x28
	bl	_Free
LBB0_9:
	cbz	x20, LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_Free
LBB0_11:
	mov	x19, #0
	b	LBB0_17
LBB0_12:
	ldp	w8, w22, [x29, #28]
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #24]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x24
	bl	_wcslen
	lsl	w8, w0, #2
	add	w2, w8, #4
	mov	x0, x26
	mov	x1, x24
	bl	_memcpy
	mov	x0, x23
	bl	_wcslen
	lsl	w8, w0, #2
	add	w2, w8, #4
	mov	x0, x27
	mov	x1, x23
	bl	_memcpy
	mov	x0, x25
	bl	_wcslen
	lsl	w8, w0, #2
	add	w2, w8, #4
	mov	x0, x28
	mov	x1, x25
	bl	_memcpy
	mov	x0, x21
	bl	_wcslen
	lsl	w8, w0, #2
	add	w2, w8, #4
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	mov	x8, #0
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	str	x19, [x21, #16]
	add	x9, x21, #8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x10, x8
	mov	x11, x9
	ldr	x8, [x9]
	add	x9, x8, #72
	cbnz	x8, LBB0_13
; %bb.14:
	str	x19, [x11]
	stp	x10, x21, [x19, #80]
	stp	x26, xzr, [x19, #64]
	stp	x28, x27, [x19, #48]
	str	x20, [x19, #40]
	ldp	w9, w20, [sp, #36]              ; 8-byte Folded Reload
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	stp	w9, w8, [x19]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [x19, #8]
	stp	w22, w20, [x19, #32]
	stp	xzr, xzr, [x19, #16]
	add	x0, sp, #48
	mov	w1, #32
	bl	_ZeroMemory
Lloh11:
	adrp	x8, _LVIF_PARAM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LVIF_PARAM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _LVIF_IMAGE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LVIF_IMAGE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh17:
	adrp	x9, _LVIF_TEXT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LVIF_TEXT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #48]
	stp	x19, x24, [sp, #64]
	ldr	w0, [x21, #4]
	mov	w1, #-1
	mov	x2, x20
	bl	_ImageList_ReplaceIcon
	str	w0, [sp, #56]
	mov	x0, x20
	bl	_DestroyIcon
	ldr	w0, [x21]
Lloh20:
	adrp	x8, _LVM_GETITEMCOUNT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LVM_GETITEMCOUNT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageA
	str	w0, [sp, #52]
	ldr	w0, [x21]
Lloh23:
	adrp	x8, _LVM_INSERTITEMW@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LVM_INSERTITEMW@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	add	x3, sp, #48
	mov	w2, #0
	bl	_SendMessageW
	str	w0, [x19, #12]
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	cmn	w0, #1
	b.eq	LBB0_17
; %bb.15:
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	cmn	w1, #1
	b.eq	LBB0_17
; %bb.16:
	ldr	w20, [x21]
Lloh26:
	adrp	x8, _LVM_SETITEMPOSITION@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LVM_SETITEMPOSITION@GOTPAGEOFF]
Lloh28:
	ldr	w21, [x8]
	ldr	w22, [sp, #52]
	bl	_MAKELPARAM
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_SendMessageA
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.comm	_IDS_OUT_OF_MEMORY,4,2          ; @IDS_OUT_OF_MEMORY
	.comm	_IDS_ERROR,4,2                  ; @IDS_ERROR
	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_LVIF_PARAM,4,2                 ; @LVIF_PARAM
	.comm	_LVIF_IMAGE,4,2                 ; @LVIF_IMAGE
	.comm	_LVIF_TEXT,4,2                  ; @LVIF_TEXT
	.comm	_LVM_GETITEMCOUNT,4,2           ; @LVM_GETITEMCOUNT
	.comm	_LVM_INSERTITEMW,4,2            ; @LVM_INSERTITEMW
	.comm	_LVM_SETITEMPOSITION,4,2        ; @LVM_SETITEMPOSITION
.subsections_via_symbols
