	.file	"extr_registry.c_msi_reg_get_val_dword.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	msi_reg_get_val_dword
	.type	msi_reg_get_val_dword, @function
msi_reg_get_val_dword:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 40
	.cfi_def_cfa_offset 48
	mov	r8d, edx
	xor	edx, edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rcx, 8[rsp]
	lea	r9, 16[rsp]
	mov	QWORD PTR 16[rsp], 8
	call	RegQueryValueExW@PLT
	mov	r8, rax
	xor	eax, eax
	cmp	QWORD PTR ERROR_SUCCESS[rip], r8
	jne	.L1
	mov	rax, QWORD PTR REG_DWORD[rip]
	cmp	QWORD PTR 8[rsp], rax
	sete	al
	movzx	eax, al
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	msi_reg_get_val_dword, .-msi_reg_get_val_dword
	.comm	REG_DWORD,8,8
	.comm	ERROR_SUCCESS,8,8
	.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_msi_reg_get_val_dword.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	msi_reg_get_val_dword
	.syntax unified
	.arm
	.fpu softvfp
	.type	msi_reg_get_val_dword, %function
msi_reg_get_val_dword:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #4
	push	{r4, lr}
	sub	sp, sp, #24
	add	r3, sp, #16
	stm	sp, {r2, r3}
	ldr	lr, .L8
	mov	r2, #0
	add	r3, sp, #12
	ldr	lr, [lr]
	str	lr, [sp, #20]
	mov	lr,#0
	str	ip, [sp, #16]
	bl	RegQueryValueExW
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, r0
	ldreq	r3, .L8+8
	ldreq	r0, [sp, #12]
	ldreq	r3, [r3]
	movne	r0, #0
	subeq	r0, r0, r3
	clzeq	r0, r0
	ldr	r3, .L8
	lsreq	r0, r0, #5
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	ERROR_SUCCESS
	.word	REG_DWORD
	.size	msi_reg_get_val_dword, .-msi_reg_get_val_dword
	.comm	REG_DWORD,4,4
	.comm	ERROR_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
