	.file	"extr_comcat.c_CATIDEnumGUID_Construct.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	CATIDEnumGUID_Construct, @function
CATIDEnumGUID_Construct:
.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
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14d, edi
	push	r13
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdx
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR CHARS_IN_GUID[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L13:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L13
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L14
.L4:
	mov	QWORD PTR [r12], 0
	mov	r15d, DWORD PTR HEAP_ZERO_MEMORY[rip]
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	edx, 24
	mov	esi, r15d
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR E_OUTOFMEMORY[rip]
	test	rbx, rbx
	je	.L1
	mov	edx, DWORD PTR CHARS_IN_GUID[rip]
	mov	edi, r14d
	mov	rsi, rsp
	lea	r14, -160[rbp]
	call	StringFromGUID2@PLT
	lea	rax, CATIDEnumGUIDVtbl[rip]
	mov	DWORD PTR [rbx], 1
	mov	rdi, r14
	mov	QWORD PTR 8[rbx], rax
	lea	rsi, prefixW.1961[rip]
	call	lstrcpyW@PLT
	mov	rsi, rsp
	mov	rdi, r14
	call	lstrcatW@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	lstrcatW@PLT
	mov	edx, DWORD PTR KEY_READ[rip]
	lea	rcx, 16[rbx]
	mov	rsi, r14
	mov	edi, DWORD PTR HKEY_CLASSES_ROOT[rip]
	add	rbx, 8
	call	open_classes_key@PLT
	mov	QWORD PTR [r12], rbx
	mov	eax, DWORD PTR S_OK[rip]
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L15
	lea	rsp, -40[rbp]
	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
.L14:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	CATIDEnumGUID_Construct, .-CATIDEnumGUID_Construct
	.section	.rodata
	.type	prefixW.1961, @object
	.size	prefixW.1961, 7
prefixW.1961:
	.string	"CLSID\\"
	.comm	S_OK,4,4
	.comm	KEY_READ,4,4
	.comm	HKEY_CLASSES_ROOT,4,4
	.comm	HEAP_ZERO_MEMORY,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	CHARS_IN_GUID,4,4
	.comm	CATIDEnumGUIDVtbl,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_comcat.c_CATIDEnumGUID_Construct.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CATIDEnumGUID_Construct, %function
CATIDEnumGUID_Construct:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #108
	mov	ip, #0
	ldr	r3, .L9
	ldr	r7, .L9+4
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, [r7]
	str	ip, [r2]
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r5, r2
	mov	r8, r1
	mov	r6, r0
	bl	GetProcessHeap
	ldr	r3, .L9+8
	mov	r2, #12
	ldr	r1, [r3]
	bl	HeapAlloc
	subs	r4, r0, #0
	beq	.L7
	mov	r0, r6
	mov	r1, sp
	ldr	r2, [r7]
	bl	StringFromGUID2
	mov	r6, r4
	mov	r3, #1
	ldr	r2, .L9+12
	ldr	r1, .L9+16
	str	r2, [r4, #4]
	sub	r0, fp, #132
	str	r3, [r6], #8
	bl	lstrcpyW
	mov	r1, sp
	sub	r0, fp, #132
	bl	lstrcatW
	mov	r1, r8
	sub	r0, fp, #132
	bl	lstrcatW
	ldr	r2, .L9+20
	ldr	r0, .L9+24
	mov	r3, r6
	ldr	r2, [r2]
	ldr	r0, [r0]
	sub	r1, fp, #132
	bl	open_classes_key
	ldr	r3, .L9+28
	add	r4, r4, #4
	ldr	r0, [r3]
	str	r4, [r5]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L7:
	ldr	r3, .L9+32
	ldr	r0, [r3]
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	CHARS_IN_GUID
	.word	HEAP_ZERO_MEMORY
	.word	CATIDEnumGUIDVtbl
	.word	.LANCHOR0
	.word	KEY_READ
	.word	HKEY_CLASSES_ROOT
	.word	S_OK
	.word	E_OUTOFMEMORY
	.size	CATIDEnumGUID_Construct, .-CATIDEnumGUID_Construct
	.comm	S_OK,4,4
	.comm	KEY_READ,4,4
	.comm	HKEY_CLASSES_ROOT,4,4
	.comm	HEAP_ZERO_MEMORY,4,4
	.comm	E_OUTOFMEMORY,4,4
	.comm	CHARS_IN_GUID,4,4
	.comm	CATIDEnumGUIDVtbl,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	prefixW.4245, %object
	.size	prefixW.4245, 7
prefixW.4245:
	.ascii	"CLSID\\\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
