	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_args_from_reg
_process_args_from_reg:                 ## @process_args_from_reg
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_InstallRunOnce@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_RegOpenKeyW
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.1:
	movl	-44(%rbp), %edi
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r9
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_RegQueryValueExW
	cmpq	(%r13), %rax
	jne	LBB0_7
## %bb.2:
	movq	-56(%rbp), %rax
	movq	_REG_SZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_lstrlenW
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	leal	1(%rbx), %ecx
	movl	-64(%rbp), %edx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	addl	%ecx, %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movslq	%edx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rcx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movb	$32, (%r15,%rax)
	movl	-44(%rbp), %edi
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	addl	%r15d, %r8d
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r9
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_RegQueryValueExW
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdx
	movq	%r15, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_process_args
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_HeapFree
LBB0_7:
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
	jmp	LBB0_9
LBB0_10:
	movl	-44(%rbp), %edi
	callq	_RegCloseKey
LBB0_8:
	movl	(%r15), %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
	.comm	_InstallRunOnce,4,2             ## @InstallRunOnce
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.comm	_REG_SZ,8,3                     ## @REG_SZ
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_process_args_from_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_args_from_reg
_process_args_from_reg:                 ; @process_args_from_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	stp	xzr, xzr, [sp, #8]
Lloh0:
	adrp	x26, _FALSE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
	ldr	w19, [x26]
Lloh2:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _InstallRunOnce@GOTPAGE
Lloh6:
	ldr	x8, [x8, _InstallRunOnce@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #28
	bl	_RegOpenKeyW
Lloh8:
	adrp	x25, _ERROR_SUCCESS@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ERROR_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	ldr	w0, [sp, #28]
	add	x3, sp, #8
	add	x5, sp, #16
	mov	x1, x22
	mov	w2, #0
	mov	w4, #0
	bl	_RegQueryValueExW
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [sp, #8]
Lloh10:
	adrp	x9, _REG_SZ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _REG_SZ@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_lstrlenW
	mov	x23, x0
	bl	_GetProcessHeap
	ldr	w8, [sp, #16]
	sxtw	x24, w23
	add	x27, x24, #1
	add	w2, w27, w8
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x23, x0
	ldr	x8, [x20]
	ldr	x1, [x8]
	mov	x2, x24
	bl	_memcpy
	mov	w8, #32
	strb	w8, [x23, x24]
	ldr	w0, [sp, #28]
	add	w4, w23, w27
	add	x3, sp, #8
	add	x5, sp, #16
	mov	x1, x22
	mov	w2, #0
	bl	_RegQueryValueExW
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_process_args
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
LBB0_6:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapFree
LBB0_7:
	ldr	w0, [sp, #28]
	bl	_RegCloseKey
	b	LBB0_10
LBB0_8:
	ldr	w0, [sp, #28]
	bl	_RegCloseKey
LBB0_9:
	ldr	w19, [x26]
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
	.comm	_InstallRunOnce,4,2             ; @InstallRunOnce
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.comm	_REG_SZ,8,3                     ; @REG_SZ
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_process_args_from_reg
.subsections_via_symbols
