	.file	"extr_registry.c_MSIREG_DeleteClassesUpgradeCodesKey.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s squashed %s\n"
	.text
	.p2align 4
	.globl	MSIREG_DeleteClassesUpgradeCodesKey
	.type	MSIREG_DeleteClassesUpgradeCodesKey, @function
MSIREG_DeleteClassesUpgradeCodesKey:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rdi
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	r12d, DWORD PTR KEY_WOW64_64KEY[rip]
	mov	ebx, DWORD PTR KEY_ALL_ACCESS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SQUASHED_GUID_SIZE[rip]
	mov	rcx, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L15
.L4:
	mov	r15, rsp
	mov	rdi, r13
	mov	rsi, r15
	call	squash_guid@PLT
	test	eax, eax
	jne	.L5
	mov	r12d, DWORD PTR ERROR_FUNCTION_FAILED[rip]
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	lea	rsp, -40[rbp]
	mov	eax, r12d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, r15
	call	debugstr_w@PLT
	mov	rdi, r13
	mov	r14d, eax
	call	debugstr_w@PLT
	mov	edx, r14d
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	TRACE@PLT
	mov	ecx, r12d
	mov	esi, DWORD PTR szInstaller_ClassesUpgradeCodes[rip]
	xor	edx, edx
	mov	edi, DWORD PTR HKEY_LOCAL_MACHINE[rip]
	or	ecx, ebx
	lea	r8, -60[rbp]
	call	RegOpenKeyExW@PLT
	mov	r12d, DWORD PTR ERROR_SUCCESS[rip]
	test	rax, rax
	jne	.L1
	mov	edi, DWORD PTR -60[rbp]
	mov	rsi, r15
	call	RegDeleteTreeW@PLT
	mov	edi, DWORD PTR -60[rbp]
	mov	r12d, eax
	call	RegCloseKey@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	MSIREG_DeleteClassesUpgradeCodesKey, .-MSIREG_DeleteClassesUpgradeCodesKey
	.comm	szInstaller_ClassesUpgradeCodes,4,4
	.comm	SQUASHED_GUID_SIZE,4,4
	.comm	KEY_WOW64_64KEY,4,4
	.comm	KEY_ALL_ACCESS,4,4
	.comm	HKEY_LOCAL_MACHINE,4,4
	.comm	ERROR_SUCCESS,4,4
	.comm	ERROR_FUNCTION_FAILED,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_registry.c_MSIREG_DeleteClassesUpgradeCodesKey.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s squashed %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	MSIREG_DeleteClassesUpgradeCodesKey
	.syntax unified
	.arm
	.fpu softvfp
	.type	MSIREG_DeleteClassesUpgradeCodesKey, %function
MSIREG_DeleteClassesUpgradeCodesKey:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	ldr	r3, .L9
	ldr	ip, .L9+4
	ldr	r3, [r3]
	ldr	r2, .L9+8
	lsl	r3, r3, #2
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	add	r5, sp, #8
	ldr	r3, .L9+12
	mov	r1, r5
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r4, r0
	ldr	r6, [ip]
	ldr	r7, [r2]
	bl	squash_guid
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L9+16
	ldr	r4, [r3]
.L1:
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L2:
	mov	r0, r4
	bl	debugstr_w
	mov	r4, r0
	mov	r0, r5
	bl	debugstr_w
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L9+20
	bl	TRACE
	ldr	r1, .L9+24
	ldr	r0, .L9+28
	sub	r2, fp, #28
	ldr	r1, [r1]
	ldr	r0, [r0]
	orr	r3, r6, r7
	str	r2, [sp]
	mov	r2, #0
	bl	RegOpenKeyExW
	cmp	r0, #0
	ldrne	r3, .L9+32
	ldrne	r4, [r3]
	bne	.L1
.L4:
	mov	r1, r5
	ldr	r0, [fp, #-28]
	bl	RegDeleteTreeW
	mov	r4, r0
	ldr	r0, [fp, #-28]
	bl	RegCloseKey
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	SQUASHED_GUID_SIZE
	.word	KEY_WOW64_64KEY
	.word	KEY_ALL_ACCESS
	.word	.LC1
	.word	ERROR_FUNCTION_FAILED
	.word	.LC0
	.word	szInstaller_ClassesUpgradeCodes
	.word	HKEY_LOCAL_MACHINE
	.word	ERROR_SUCCESS
	.size	MSIREG_DeleteClassesUpgradeCodesKey, .-MSIREG_DeleteClassesUpgradeCodesKey
	.comm	szInstaller_ClassesUpgradeCodes,4,4
	.comm	SQUASHED_GUID_SIZE,4,4
	.comm	KEY_WOW64_64KEY,4,4
	.comm	KEY_ALL_ACCESS,4,4
	.comm	HKEY_LOCAL_MACHINE,4,4
	.comm	ERROR_SUCCESS,4,4
	.comm	ERROR_FUNCTION_FAILED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
