	.file	"extr_registrar.c_do_process_key.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"name = %s\n"
.LC1:
	.string	"value not set!\n"
.LC2:
	.string	"Deleting %s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Could not create(open) key: %08x\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Could not open key %s: %08x\n"
.LC5:
	.string	"Wrong registry type: %s\n"
.LC6:
	.string	"Could set value of key: %08x\n"
	.section	.rodata.str1.8
	.align 8
.LC7:
	.string	"Could not set value of key: 0x%08x\n"
	.section	.rodata.str1.1
.LC8:
	.string	"Wrong resource type: %s\n"
.LC9:
	.string	"%x %x\n"
	.text
	.p2align 4
	.type	do_process_key, @function
do_process_key:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 168
	.cfi_def_cfa_offset 224
	mov	QWORD PTR 32[rsp], rdi
	lea	r12, 112[rsp]
	mov	QWORD PTR 8[rsp], rsi
	mov	rsi, rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 152[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdi]
	mov	rdi, r12
	mov	QWORD PTR 120[rsp], 0
	mov	QWORD PTR 112[rsp], rax
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	je	.L122
.L1:
	mov	rax, QWORD PTR 152[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L123
	add	rsp, 168
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L122:
	.cfi_restore_state
	lea	rax, 128[rsp]
	xor	ebp, ebp
	mov	rdi, rax
	mov	QWORD PTR 24[rsp], rax
	call	strbuf_init@PLT
	lea	rax, 120[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 108[rsp]
	mov	QWORD PTR 40[rsp], rax
	lea	rax, 149[rsp]
	mov	QWORD PTR 48[rsp], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L130:
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, wstrForceRemove.2027[rip]
	mov	ebp, 3
	call	lstrcmpiW@PLT
	test	eax, eax
	jne	.L124
.L4:
	mov	rdi, r12
	mov	rsi, rbx
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L118
	mov	rdi, QWORD PTR [rbx]
	call	debugstr_w@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	test	r14d, r14d
	je	.L8
	mov	r8, QWORD PTR [rbx]
	cmp	ebp, 2
	je	.L125
	cmp	ebp, 4
	je	.L126
	cmp	ebp, 3
	je	.L127
.L14:
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r8
	call	RegCreateKeyW@PLT
	cmp	QWORD PTR ERROR_SUCCESS[rip], rax
	jne	.L128
.L16:
	mov	rax, QWORD PTR 112[rsp]
	cmp	ebp, 2
	setne	r13b
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 61
	je	.L10
	cmp	ebp, 2
	je	.L39
	lea	ecx, -2[rbp]
	mov	r13d, 1
	and	ecx, -3
	je	.L40
	cmp	dl, 123
	je	.L129
.L40:
	xor	eax, eax
	mov	edx, ebp
	lea	rdi, .LC9[rip]
	mov	esi, r14d
	call	TRACE@PLT
	test	r14d, r14d
	jne	.L41
.L45:
	test	ebp, ebp
	je	.L42
	cmp	ebp, 3
	je	.L42
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, QWORD PTR 120[rsp]
	test	rdi, rdi
	je	.L43
	test	r13b, r13b
	je	.L43
	call	RegCloseKey@PLT
.L43:
	mov	QWORD PTR 120[rsp], 0
	mov	rdi, r12
	mov	rsi, rbx
	mov	DWORD PTR 136[rsp], 0
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L7
.L3:
	mov	rdi, QWORD PTR [rbx]
	cmp	BYTE PTR 1[rdi], 0
	jne	.L44
	cmp	BYTE PTR [rdi], 125
	je	.L118
.L44:
	lea	rsi, wstrNoRemove.2026[rip]
	call	lstrcmpiW@PLT
	test	eax, eax
	jne	.L130
	mov	ebp, 1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	lea	eax, -2[rbp]
	and	eax, -3
	jne	.L50
	cmp	ebp, 4
	jne	.L16
.L13:
	mov	edx, 4
	mov	esi, r14d
	xor	eax, eax
	mov	r13d, 1
	lea	rdi, .LC9[rip]
	mov	ebp, 4
	call	TRACE@PLT
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L124:
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, wstrval.2029[rip]
	mov	ebp, 2
	call	lstrcmpiW@PLT
	test	eax, eax
	je	.L4
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, wstrDelete.2028[rip]
	mov	ebp, 4
	call	lstrcmpiW@PLT
	test	eax, eax
	je	.L4
	mov	rdi, QWORD PTR [rbx]
	call	debugstr_w@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	test	r14d, r14d
	je	.L72
	mov	r8, QWORD PTR [rbx]
	xor	ebp, ebp
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L72:
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L50:
	mov	rsi, QWORD PTR 24[rsp]
	mov	rdi, QWORD PTR [rbx]
	mov	edx, -1
	call	strbuf_write@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rsp]
	call	RegOpenKeyW@PLT
	cmp	QWORD PTR ERROR_SUCCESS[rip], rax
	mov	r13, rax
	je	.L16
	mov	rdi, QWORD PTR 128[rsp]
	call	debugstr_w@PLT
	mov	rdx, r13
	lea	rdi, .LC4[rip]
	mov	esi, eax
	xor	eax, eax
	call	WARN@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L42:
	mov	rdi, QWORD PTR 128[rsp]
	call	debugstr_w@PLT
	lea	rdi, .LC2[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	mov	rsi, QWORD PTR 128[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	RegDeleteKeyW@PLT
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L125:
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	mov	edx, -1
	mov	rdi, r8
	mov	QWORD PTR 120[rsp], rax
	call	strbuf_write@PLT
	mov	rax, QWORD PTR 112[rsp]
	cmp	BYTE PTR [rax], 61
	jne	.L39
	xor	r13d, r13d
.L10:
	add	rax, 1
	mov	rdi, r12
	mov	rsi, rbx
	mov	QWORD PTR 112[rsp], rax
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L7
	cmp	DWORD PTR 8[rbx], 1
	jne	.L131
	test	r14d, r14d
	je	.L19
	mov	rdi, QWORD PTR [rbx]
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 100
	je	.L20
	cmp	al, 115
	je	.L21
	cmp	al, 98
	je	.L132
	call	debugstr_w@PLT
	lea	rdi, .LC8[rip]
	mov	esi, eax
	xor	eax, eax
	call	WARN@PLT
	mov	r15d, DWORD PTR DISP_E_EXCEPTION[rip]
.L24:
	mov	edi, r15d
	call	FAILED@PLT
	test	rax, rax
	jne	.L7
	lea	eax, -2[rbp]
	and	eax, -3
	je	.L110
	mov	rax, QWORD PTR 112[rsp]
	cmp	BYTE PTR [rax], 123
	je	.L133
.L110:
	mov	edx, ebp
	mov	esi, r14d
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	TRACE@PLT
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L129:
	movsx	edi, BYTE PTR 1[rax]
	call	iswspace@PLT
	test	rax, rax
	je	.L40
.L56:
	mov	rdi, r12
	mov	rsi, rbx
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L7
	mov	rsi, QWORD PTR 120[rsp]
	mov	rdi, r12
	mov	ecx, r14d
	mov	rdx, rbx
	call	do_process_key
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	je	.L40
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12, QWORD PTR 128[rsp]
	xor	eax, eax
	call	GetProcessHeap@PLT
	xor	esi, esi
	mov	edi, eax
	mov	rdx, r12
	call	HeapFree@PLT
	mov	rdi, QWORD PTR 120[rsp]
	test	rdi, rdi
	je	.L11
	test	r13b, r13b
	jne	.L134
.L11:
	mov	rax, QWORD PTR 112[rsp]
	mov	rcx, QWORD PTR 32[rsp]
	mov	QWORD PTR [rcx], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L126:
	mov	rdi, r8
	call	debugstr_w@PLT
	lea	rdi, .LC2[rip]
	mov	esi, eax
	xor	eax, eax
	call	TRACE@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rsp]
	call	RegDeleteTreeW@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L127:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, r8
	call	RegDeleteTreeW@PLT
	mov	r8, QWORD PTR [rbx]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR 112[rsp]
	cmp	BYTE PTR [rax], 45
	jne	.L37
	add	rax, 1
	mov	QWORD PTR 112[rsp], rax
.L37:
	mov	rdi, r12
	mov	rsi, rbx
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L7
	lea	eax, -2[rbp]
	and	eax, -3
	je	.L109
	mov	rax, QWORD PTR 112[rsp]
	cmp	BYTE PTR [rax], 123
	je	.L135
.L109:
	mov	edx, ebp
	xor	esi, esi
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	TRACE@PLT
	jmp	.L45
	.p2align 4,,10
	.p2align 3
.L134:
	call	RegCloseKey@PLT
	mov	rax, QWORD PTR 112[rsp]
	mov	rcx, QWORD PTR 32[rsp]
	mov	QWORD PTR [rcx], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L118:
	cmp	ebp, 2
	setne	r13b
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L39:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	WARN@PLT
	mov	r12, QWORD PTR 128[rsp]
	xor	eax, eax
	mov	r15d, DWORD PTR DISP_E_EXCEPTION[rip]
	call	GetProcessHeap@PLT
	xor	esi, esi
	mov	edi, eax
	mov	rdx, r12
	call	HeapFree@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L132:
	mov	rdi, r12
	mov	rsi, rbx
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L24
	mov	rdi, QWORD PTR [rbx]
	call	lstrlenW@PLT
	lea	edx, 1[rax]
	mov	DWORD PTR 72[rsp], eax
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR 56[rsp], eax
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	edx, DWORD PTR 56[rsp]
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	QWORD PTR 64[rsp], rax
	test	rax, rax
	jne	.L136
	mov	r15d, DWORD PTR E_OUTOFMEMORY[rip]
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, r12
	mov	rsi, rbx
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L24
	mov	rdi, QWORD PTR [rbx]
	call	lstrlenW@PLT
	mov	r8, QWORD PTR [rbx]
	mov	ecx, DWORD PTR REG_SZ[rip]
	xor	esi, esi
	mov	edi, DWORD PTR 136[rsp]
	lea	r9d, 1[rax]
	test	edi, edi
	je	.L120
	mov	rsi, QWORD PTR 128[rsp]
	jmp	.L120
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, r12
	mov	rsi, rbx
	call	get_word@PLT
	mov	edi, eax
	mov	r15d, eax
	call	FAILED@PLT
	test	rax, rax
	jne	.L24
	mov	rdi, QWORD PTR [rbx]
	mov	edx, 10
	xor	esi, esi
	call	wcstol@PLT
	mov	edx, DWORD PTR 136[rsp]
	mov	ecx, DWORD PTR REG_DWORD[rip]
	xor	esi, esi
	mov	DWORD PTR 108[rsp], eax
	test	edx, edx
	je	.L27
	mov	rsi, QWORD PTR 128[rsp]
.L27:
	mov	r8, QWORD PTR 40[rsp]
	mov	r9d, 4
.L120:
	mov	rdi, QWORD PTR 120[rsp]
	xor	edx, edx
	call	RegSetValueExW@PLT
	cmp	QWORD PTR ERROR_SUCCESS[rip], rax
	je	.L24
	mov	rsi, rax
	mov	QWORD PTR 56[rsp], rax
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	WARN@PLT
	mov	r8, QWORD PTR 56[rsp]
	mov	rdi, r8
	call	HRESULT_FROM_WIN32@PLT
	mov	r15d, eax
	jmp	.L24
.L133:
	movsx	edi, BYTE PTR 1[rax]
	call	iswspace@PLT
	test	rax, rax
	je	.L110
	jmp	.L56
.L135:
	movsx	edi, BYTE PTR 1[rax]
	call	iswspace@PLT
	test	rax, rax
	je	.L109
	jmp	.L56
.L128:
	mov	r13, rax
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	WARN@PLT
	mov	rdi, r13
	call	HRESULT_FROM_WIN32@PLT
	cmp	ebp, 2
	mov	r15d, eax
	setne	r13b
	jmp	.L7
.L131:
	mov	rdi, QWORD PTR [rbx]
	call	debugstr_w@PLT
	lea	rdi, .LC5[rip]
	mov	esi, eax
	xor	eax, eax
	call	WARN@PLT
	mov	r15d, DWORD PTR DISP_E_EXCEPTION[rip]
	jmp	.L7
.L136:
	mov	ecx, DWORD PTR 72[rsp]
	xor	eax, eax
	test	ecx, ecx
	jle	.L30
	mov	BYTE PTR 72[rsp], r13b
	mov	r13, QWORD PTR 64[rsp]
	mov	DWORD PTR 76[rsp], ebp
	mov	rbp, rax
	mov	DWORD PTR 92[rsp], r15d
	mov	r15d, DWORD PTR 56[rsp]
	mov	QWORD PTR 80[rsp], r12
	mov	r12, rbx
	mov	rbx, QWORD PTR 48[rsp]
	mov	DWORD PTR 88[rsp], r14d
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L33:
	call	iswxdigit@PLT
	test	eax, eax
	je	.L32
	mov	rax, QWORD PTR [r12]
	movsx	edi, BYTE PTR 1[rax+r14]
	call	iswxdigit@PLT
	test	eax, eax
	je	.L32
	mov	rax, QWORD PTR [r12]
	mov	edx, 16
	mov	rdi, rbx
	movzx	esi, BYTE PTR [rax+r14]
	mov	BYTE PTR 149[rsp], sil
	movzx	eax, BYTE PTR 1[rax+r14]
	xor	esi, esi
	mov	BYTE PTR 151[rsp], 0
	mov	BYTE PTR 150[rsp], al
	call	wcstoul@PLT
	mov	BYTE PTR 0[r13+rbp], al
	add	rbp, 1
	cmp	r15d, ebp
	jle	.L113
.L29:
	mov	rax, QWORD PTR [r12]
	lea	r14, [rbp+rbp]
	movsx	edi, BYTE PTR [rax+rbp*2]
	test	dil, dil
	jne	.L33
.L113:
	mov	rbx, r12
	movzx	r13d, BYTE PTR 72[rsp]
	mov	ebp, DWORD PTR 76[rsp]
	mov	r15d, DWORD PTR 92[rsp]
	mov	r14d, DWORD PTR 88[rsp]
	mov	r12, QWORD PTR 80[rsp]
.L30:
	mov	edi, r15d
	call	SUCCEEDED@PLT
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR 136[rsp]
	mov	ecx, DWORD PTR REG_BINARY[rip]
	xor	esi, esi
	test	eax, eax
	je	.L35
	mov	rsi, QWORD PTR 128[rsp]
.L35:
	mov	r9d, DWORD PTR 56[rsp]
	mov	r8, QWORD PTR 64[rsp]
	xor	edx, edx
	mov	rdi, QWORD PTR 120[rsp]
	call	RegSetValueExW@PLT
	cmp	QWORD PTR ERROR_SUCCESS[rip], rax
	je	.L34
	mov	rsi, rax
	mov	QWORD PTR 56[rsp], rax
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	WARN@PLT
	mov	r8, QWORD PTR 56[rsp]
	mov	rdi, r8
	call	HRESULT_FROM_WIN32@PLT
	mov	r15d, eax
.L34:
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	rdx, QWORD PTR 64[rsp]
	xor	esi, esi
	mov	edi, eax
	call	HeapFree@PLT
	jmp	.L24
.L32:
	mov	rbx, r12
	movzx	r13d, BYTE PTR 72[rsp]
	mov	ebp, DWORD PTR 76[rsp]
	mov	r14d, DWORD PTR 88[rsp]
	mov	r12, QWORD PTR 80[rsp]
	mov	r15d, DWORD PTR E_FAIL[rip]
	jmp	.L30
.L123:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_process_key, .-do_process_key
	.section	.rodata
	.type	wstrDelete.2028, @object
	.size	wstrDelete.2028, 7
wstrDelete.2028:
	.string	"Delete"
	.type	wstrval.2029, @object
	.size	wstrval.2029, 4
wstrval.2029:
	.string	"val"
	.align 8
	.type	wstrForceRemove.2027, @object
	.size	wstrForceRemove.2027, 12
wstrForceRemove.2027:
	.string	"ForceRemove"
	.align 8
	.type	wstrNoRemove.2026, @object
	.size	wstrNoRemove.2026, 9
wstrNoRemove.2026:
	.string	"NoRemove"
	.comm	REG_SZ,4,4
	.comm	REG_DWORD,4,4
	.comm	REG_BINARY,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	E_FAIL,4,4
	.comm	ERROR_SUCCESS,8,8
	.comm	DISP_E_EXCEPTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_registrar.c_do_process_key.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"name = %s\012\000"
	.align	2
.LC1:
	.ascii	"value not set!\012\000"
	.align	2
.LC2:
	.ascii	"Deleting %s\012\000"
	.align	2
.LC3:
	.ascii	"Could not create(open) key: %08x\012\000"
	.align	2
.LC4:
	.ascii	"Could not open key %s: %08x\012\000"
	.align	2
.LC5:
	.ascii	"Wrong registry type: %s\012\000"
	.align	2
.LC6:
	.ascii	"Could set value of key: %08x\012\000"
	.align	2
.LC7:
	.ascii	"Could not set value of key: 0x%08x\012\000"
	.align	2
.LC8:
	.ascii	"Wrong resource type: %s\012\000"
	.align	2
.LC9:
	.ascii	"%x %x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_process_key, %function
do_process_key:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	mov	r2, #0
	sub	sp, sp, #76
	str	r0, [sp, #12]
	mov	r8, r3
	ldr	r0, [r0]
	ldr	r3, .L140
	mov	fp, r1
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	mov	r1, r6
	str	r0, [sp, #44]
	add	r0, sp, #44
	str	r2, [sp, #48]
	bl	get_word
	mov	r4, r0
	bl	FAILED
	subs	r5, r0, #0
	beq	.L126
.L1:
	ldr	r3, .L140
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L127
	mov	r0, r4
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L126:
	add	r0, sp, #56
	bl	strbuf_init
	ldr	r9, .L140+4
	ldr	r10, .L140+8
	b	.L3
.L133:
	ldr	r1, .L140+12
	ldr	r0, [r6]
	bl	lstrcmpiW
	cmp	r0, #0
	moveq	r5, #3
	bne	.L128
.L4:
	mov	r1, r6
	add	r0, sp, #44
	bl	get_word
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L122
	ldr	r0, [r6]
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L140+16
	bl	TRACE
	cmp	r8, #0
	beq	.L8
	cmp	r5, #2
	ldr	r1, [r6]
	beq	.L129
	cmp	r5, #4
	beq	.L130
	cmp	r5, #3
	beq	.L131
.L14:
	mov	r0, fp
	add	r2, sp, #48
	bl	RegCreateKeyW
	ldr	r3, .L140+20
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L119
.L61:
	ldr	r3, [sp, #44]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #61
	beq	.L10
	cmp	r5, #2
	beq	.L40
.L62:
	sub	r1, r5, #2
	bics	r1, r1, #2
	beq	.L73
.L59:
	cmp	r2, #123
	beq	.L55
.L73:
	mov	r7, #1
.L41:
	mov	r2, r5
	mov	r1, r8
	mov	r0, r10
	bl	TRACE
	cmp	r8, #0
	bne	.L44
.L49:
	cmp	r5, #3
	cmpne	r5, #0
	bne	.L44
	ldr	r0, [sp, #56]
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L140+24
	bl	TRACE
	mov	r0, fp
	ldr	r1, [sp, #56]
	bl	RegDeleteKeyW
.L44:
	ldr	r0, [sp, #48]
	cmp	r0, #0
	movne	r3, r7
	moveq	r3, #0
	cmp	r3, #0
	bne	.L132
.L46:
	mov	r3, #0
	mov	r1, r6
	add	r0, sp, #44
	str	r3, [sp, #48]
	str	r3, [sp, #60]
	bl	get_word
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L7
.L3:
	ldr	r0, [r6]
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L47
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #125
	beq	.L122
.L47:
	mov	r1, r9
	bl	lstrcmpiW
	cmp	r0, #0
	bne	.L133
	mov	r5, #1
	b	.L4
.L8:
	sub	r3, r5, #2
	bics	r3, r3, #2
	bne	.L134
.L16:
	cmp	r5, #4
	bne	.L61
.L13:
	mov	r2, #4
	mov	r1, r8
	mov	r0, r10
	bl	TRACE
	mov	r7, #1
	mov	r5, #4
	b	.L44
.L132:
	bl	RegCloseKey
	b	.L46
.L128:
	ldr	r1, .L140+28
	ldr	r0, [r6]
	bl	lstrcmpiW
	cmp	r0, #0
	moveq	r5, #2
	beq	.L4
	ldr	r1, .L140+32
	ldr	r0, [r6]
	bl	lstrcmpiW
	cmp	r0, #0
	moveq	r5, #4
	beq	.L4
	ldr	r0, [r6]
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L140+16
	bl	TRACE
	cmp	r8, #0
	beq	.L54
	mov	r5, #0
	ldr	r1, [r6]
	b	.L14
.L134:
	mvn	r2, #0
	add	r1, sp, #56
	ldr	r0, [r6]
	bl	strbuf_write
	mov	r0, fp
	ldr	r1, [r6]
	add	r2, sp, #48
	bl	RegOpenKeyW
	ldr	r3, .L140+20
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L16
.L63:
	ldr	r0, [sp, #56]
	bl	debugstr_w
	mov	r2, r4
	mov	r1, r0
	ldr	r0, .L140+36
	bl	WARN
	b	.L16
.L129:
	mov	r0, r1
	mvn	r2, #0
	add	r1, sp, #56
	str	fp, [sp, #48]
	bl	strbuf_write
	ldr	r3, [sp, #44]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #61
	bne	.L40
.L10:
	add	r3, r3, #1
	mov	r1, r6
	add	r0, sp, #44
	str	r3, [sp, #44]
	bl	get_word
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L122
	ldr	r3, [r6, #4]
	cmp	r3, #1
	bne	.L135
	cmp	r8, #0
	beq	.L20
	ldr	r0, [r6]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #100
	beq	.L21
	cmp	r3, #115
	beq	.L22
	cmp	r3, #98
	beq	.L136
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L140+40
	bl	WARN
	ldr	r3, .L140+44
	ldr	r4, [r3]
.L25:
	mov	r0, r4
	bl	FAILED
	cmp	r0, #0
	bne	.L122
	sub	r3, r5, #2
	bics	r3, r3, #2
	beq	.L114
	ldr	r3, [sp, #44]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #123
	beq	.L55
.L114:
	mov	r2, r5
	mov	r1, r8
	mov	r0, r10
	bl	TRACE
	subs	r7, r5, #2
	movne	r7, #1
	b	.L44
.L20:
	ldr	r3, [sp, #44]
	mov	r1, r6
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r0, sp, #44
	cmp	r2, #45
	addeq	r3, r3, #1
	streq	r3, [sp, #44]
	bl	get_word
	mov	r4, r0
	bl	FAILED
	subs	r1, r0, #0
	bne	.L122
	sub	r3, r5, #2
	bics	r3, r3, #2
	beq	.L137
	ldr	r3, [sp, #44]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #123
	bne	.L113
.L55:
	ldrb	r0, [r3, #1]	@ zero_extendqisi2
	bl	iswspace
	cmp	r0, #0
	bne	.L42
.L121:
	subs	r7, r5, #2
	movne	r7, #1
	b	.L41
.L130:
	mov	r0, r1
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L140+24
	bl	TRACE
	mov	r0, fp
	ldr	r1, [r6]
	bl	RegDeleteTreeW
	b	.L13
.L122:
	subs	r7, r5, #2
	movne	r7, #1
.L7:
	bl	GetProcessHeap
	mov	r1, #0
	ldr	r2, [sp, #56]
	bl	HeapFree
	ldr	r0, [sp, #48]
	cmp	r0, #0
	moveq	r7, #0
	cmp	r7, #0
	bne	.L48
.L11:
	ldr	r3, [sp, #44]
	ldr	r2, [sp, #12]
	str	r3, [r2]
	b	.L1
.L131:
	mov	r0, fp
	bl	RegDeleteTreeW
	mov	r0, fp
	ldr	r1, [r6]
	add	r2, sp, #48
	bl	RegCreateKeyW
	ldr	r3, .L140+20
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L119
	ldr	r3, [sp, #44]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #61
	bne	.L59
	b	.L10
.L137:
	mov	r1, r3
.L113:
	mov	r2, r5
	mov	r0, r10
	bl	TRACE
	subs	r7, r5, #2
	movne	r7, #1
	b	.L49
.L42:
	mov	r1, r6
	add	r0, sp, #44
	bl	get_word
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L43
	mov	r3, r8
	mov	r2, r6
	ldr	r1, [sp, #48]
	add	r0, sp, #44
	bl	do_process_key
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	beq	.L121
.L43:
	bl	GetProcessHeap
	mov	r1, #0
	ldr	r2, [sp, #56]
	bl	HeapFree
	ldr	r0, [sp, #48]
	cmp	r0, #0
	beq	.L11
.L48:
	bl	RegCloseKey
	b	.L11
.L40:
	ldr	r0, .L140+48
	bl	WARN
	ldr	r3, .L140+44
	ldr	r4, [r3]
	bl	GetProcessHeap
	mov	r1, #0
	ldr	r2, [sp, #56]
	bl	HeapFree
	b	.L11
.L136:
	mov	r1, r6
	add	r0, sp, #44
	bl	get_word
	mov	r4, r0
	bl	FAILED
	subs	r7, r0, #0
	bne	.L25
	ldr	r0, [r6]
	bl	lstrlenW
	add	r3, r0, #1
	add	r3, r3, r3, lsr #31
	asr	r3, r3, #1
	str	r3, [sp, #16]
	str	r0, [sp, #24]
	bl	GetProcessHeap
	mov	r1, r7
	ldr	r2, [sp, #16]
	bl	HeapAlloc
	subs	r1, r0, #0
	str	r1, [sp, #20]
	bne	.L138
	ldr	r3, .L140+52
	ldr	r4, [r3]
	b	.L25
.L22:
	mov	r1, r6
	add	r0, sp, #44
	bl	get_word
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L25
	ldr	r3, .L140+56
	ldr	r7, [sp, #60]
	ldr	r1, [r6]
	ldr	r2, [sp, #48]
	ldr	r3, [r3]
	mov	r0, r1
	cmp	r7, #0
	ldrne	r7, [sp, #56]
	str	r2, [sp, #24]
	str	r1, [sp, #20]
	str	r3, [sp, #16]
	bl	lstrlenW
	ldr	r1, [sp, #20]
	ldr	r2, [sp, #24]
	add	r0, r0, #1
	str	r1, [sp]
	str	r0, [sp, #4]
	mov	r1, r7
	mov	r0, r2
	ldr	r3, [sp, #16]
.L124:
	mov	r2, #0
	bl	RegSetValueExW
	ldr	r3, .L140+20
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L25
	mov	r1, r0
	ldr	r0, .L140+60
	bl	WARN
	mov	r0, r7
	bl	HRESULT_FROM_WIN32
	mov	r4, r0
	b	.L25
.L21:
	mov	r1, r6
	add	r0, sp, #44
	bl	get_word
	mov	r4, r0
	bl	FAILED
	subs	r1, r0, #0
	bne	.L25
	mov	r2, #10
	ldr	r0, [r6]
	bl	wcstol
	mov	r2, #4
	ldr	r1, [sp, #60]
	add	r3, sp, #52
	str	r3, [sp]
	ldr	r3, .L140+64
	cmp	r1, #0
	str	r2, [sp, #4]
	str	r0, [sp, #52]
	ldrne	r1, [sp, #56]
	ldr	r0, [sp, #48]
	ldr	r3, [r3]
	b	.L124
.L54:
	mvn	r2, #0
	add	r1, sp, #56
	ldr	r0, [r6]
	bl	strbuf_write
	mov	r0, fp
	ldr	r1, [r6]
	add	r2, sp, #48
	bl	RegOpenKeyW
	ldr	r3, .L140+20
	mov	r4, r0
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L139
	ldr	r3, [sp, #44]
	mov	r5, r8
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #61
	bne	.L62
	b	.L10
.L139:
	mov	r5, r8
	b	.L63
.L119:
	mov	r4, r0
	mov	r1, r0
	ldr	r0, .L140+68
	bl	WARN
	mov	r0, r4
	bl	HRESULT_FROM_WIN32
	subs	r7, r5, #2
	movne	r7, #1
	mov	r4, r0
	b	.L7
.L135:
	ldr	r0, [r6]
	bl	debugstr_w
	mov	r1, r0
	ldr	r0, .L140+72
	bl	WARN
	ldr	r3, .L140+44
	subs	r7, r5, #2
	movne	r7, #1
	ldr	r4, [r3]
	b	.L7
.L138:
	ldr	r3, [sp, #24]
	cmp	r3, #0
	ble	.L30
	sub	r3, r1, #1
	str	r5, [sp, #24]
	str	r8, [sp, #32]
	mov	r5, r3
	mov	r8, r6
	str	r4, [sp, #36]
	ldr	r6, [sp, #16]
	str	fp, [sp, #28]
	b	.L31
.L34:
	bl	iswxdigit
	cmp	r0, #0
	beq	.L33
	ldr	r2, [r8]
	add	fp, r4, #1
	ldrb	r0, [r2, fp]	@ zero_extendqisi2
	bl	iswxdigit
	cmp	r0, #0
	beq	.L33
	mov	r3, #0
	ldr	r0, [r8]
	mov	r2, #16
	ldrb	ip, [r0, r4]	@ zero_extendqisi2
	mov	r1, #0
	strb	ip, [sp, #64]
	ldrb	ip, [r0, fp]	@ zero_extendqisi2
	add	r0, sp, #64
	strb	ip, [sp, #65]
	strb	r3, [sp, #66]
	bl	wcstoul
	add	r7, r7, #1
	cmp	r6, r7
	strb	r0, [r5, #1]!
	ble	.L116
.L31:
	ldr	r2, [r8]
	lsl	r4, r7, #1
	ldrb	r0, [r2, r7, lsl #1]	@ zero_extendqisi2
	cmp	r0, #0
	bne	.L34
.L116:
	mov	r6, r8
	ldr	r5, [sp, #24]
	ldr	r4, [sp, #36]
	ldr	fp, [sp, #28]
	ldr	r8, [sp, #32]
.L30:
	mov	r0, r4
	bl	SUCCEEDED
	cmp	r0, #0
	beq	.L35
	ldr	r2, [sp, #16]
	ldr	r1, [sp, #60]
	str	r2, [sp, #4]
	ldr	r2, [sp, #20]
	ldr	r3, .L140+76
	cmp	r1, #0
	str	r2, [sp]
	ldrne	r1, [sp, #56]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r0, [sp, #48]
	bl	RegSetValueExW
	ldr	r3, .L140+20
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L35
	mov	r1, r0
	ldr	r0, .L140+80
	bl	WARN
	mov	r0, r7
	bl	HRESULT_FROM_WIN32
	mov	r4, r0
.L35:
	bl	GetProcessHeap
	mov	r1, #0
	ldr	r2, [sp, #20]
	bl	HeapFree
	b	.L25
.L33:
	ldr	r3, .L140+84
	mov	r6, r8
	ldr	r5, [sp, #24]
	ldr	fp, [sp, #28]
	ldr	r8, [sp, #32]
	ldr	r4, [r3]
	b	.L30
.L127:
	bl	__stack_chk_fail
.L141:
	.align	2
.L140:
	.word	.LC10
	.word	.LANCHOR0
	.word	.LC9
	.word	.LANCHOR0+12
	.word	.LC0
	.word	ERROR_SUCCESS
	.word	.LC2
	.word	.LANCHOR0+24
	.word	.LANCHOR0+28
	.word	.LC4
	.word	.LC8
	.word	DISP_E_EXCEPTION
	.word	.LC1
	.word	E_OUTOFMEMORY
	.word	REG_SZ
	.word	.LC6
	.word	REG_DWORD
	.word	.LC3
	.word	.LC5
	.word	REG_BINARY
	.word	.LC7
	.word	E_FAIL
	.size	do_process_key, .-do_process_key
	.comm	REG_SZ,4,4
	.comm	REG_DWORD,4,4
	.comm	REG_BINARY,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	E_FAIL,4,4
	.comm	ERROR_SUCCESS,4,4
	.comm	DISP_E_EXCEPTION,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	wstrNoRemove.4310, %object
	.size	wstrNoRemove.4310, 9
wstrNoRemove.4310:
	.ascii	"NoRemove\000"
	.space	3
	.type	wstrForceRemove.4311, %object
	.size	wstrForceRemove.4311, 12
wstrForceRemove.4311:
	.ascii	"ForceRemove\000"
	.type	wstrval.4313, %object
	.size	wstrval.4313, 4
wstrval.4313:
	.ascii	"val\000"
	.type	wstrDelete.4312, %object
	.size	wstrDelete.4312, 7
wstrDelete.4312:
	.ascii	"Delete\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
