	.file	"extr_keyboard.c_test_GetDeviceInfo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"IDirectInput_CreateDevice() failed: %08x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"got %08x\n"
.LC2:
	.string	"got %d, %d \n"
.LC3:
	.string	"got %s, %s\n"
.LC4:
	.string	"got %d, %d\n"
	.text
	.p2align 4
	.type	test_GetDeviceInfo, @function
test_GetDeviceInfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	ecx, ecx
	lea	rsi, GUID_SysKeyboard[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	rdx, 8[rsp]
	mov	QWORD PTR 8[rsp], 0
	call	IDirectInput_CreateDevice@PLT
	mov	edi, eax
	mov	ebp, eax
	call	SUCCEEDED@PLT
	mov	edx, ebp
	lea	rsi, .LC0[rip]
	mov	edi, eax
	xor	eax, eax
	call	ok@PLT
	mov	edi, ebp
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, 16[rsp]
	lea	r14, 44[rsp]
	mov	DWORD PTR 16[rsp], 16
	lea	rbp, 28[rsp]
	call	IDirectInputDevice_GetDeviceInfo@PLT
	mov	edi, eax
	mov	r12d, eax
	call	SUCCEEDED@PLT
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	mov	edi, eax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, 32[rsp]
	mov	DWORD PTR 32[rsp], 16
	call	IDirectInputDevice_GetDeviceInfo@PLT
	mov	edi, eax
	mov	r12d, eax
	call	SUCCEEDED@PLT
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	mov	edi, eax
	xor	eax, eax
	call	ok@PLT
	mov	ecx, DWORD PTR 32[rsp]
	mov	edx, DWORD PTR 16[rsp]
	xor	edi, edi
	lea	rsi, .LC2[rip]
	cmp	ecx, edx
	setne	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, r14
	call	wine_dbgstr_guid@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	wine_dbgstr_guid@PLT
	mov	rsi, r14
	mov	rdi, rbp
	lea	r14, 40[rsp]
	mov	r12d, eax
	lea	rbp, 24[rsp]
	call	IsEqualGUID@PLT
	mov	ecx, r13d
	mov	edx, r12d
	lea	rsi, .LC3[rip]
	mov	edi, eax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, r14
	call	wine_dbgstr_guid@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	wine_dbgstr_guid@PLT
	mov	rsi, r14
	mov	rdi, rbp
	mov	r12d, eax
	call	IsEqualGUID@PLT
	mov	ecx, r13d
	mov	edx, r12d
	lea	rsi, .LC3[rip]
	mov	edi, eax
	xor	eax, eax
	call	ok@PLT
	mov	ecx, DWORD PTR 36[rsp]
	mov	edx, DWORD PTR 20[rsp]
	xor	edi, edi
	lea	rsi, .LC4[rip]
	cmp	ecx, edx
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	IUnknown_Release@PLT
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_GetDeviceInfo, .-test_GetDeviceInfo
	.comm	GUID_SysKeyboard,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_keyboard.c_test_GetDeviceInfo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"IDirectInput_CreateDevice() failed: %08x\012\000"
	.align	2
.LC1:
	.ascii	"got %08x\012\000"
	.align	2
.LC2:
	.ascii	"got %d, %d \012\000"
	.align	2
.LC3:
	.ascii	"got %s, %s\012\000"
	.align	2
.LC4:
	.ascii	"got %d, %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_GetDeviceInfo, %function
test_GetDeviceInfo:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	ldr	ip, .L8
	sub	sp, sp, #44
	mov	r2, sp
	ldr	r1, .L8+4
	ldr	ip, [ip]
	str	ip, [sp, #36]
	mov	ip,#0
	str	r3, [sp]
	bl	IDirectInput_CreateDevice
	mov	r4, r0
	bl	SUCCEEDED
	mov	r2, r4
	ldr	r1, .L8+8
	bl	ok
	mov	r0, r4
	bl	FAILED
	cmp	r0, #0
	bne	.L1
	mov	r5, #16
	add	r1, sp, #4
	ldr	r0, [sp]
	str	r5, [sp, #4]
	bl	IDirectInputDevice_GetDeviceInfo
	mov	r4, r0
	bl	SUCCEEDED
	mov	r2, r4
	ldr	r1, .L8+12
	bl	ok
	add	r1, sp, #20
	ldr	r0, [sp]
	str	r5, [sp, #20]
	bl	IDirectInputDevice_GetDeviceInfo
	mov	r4, r0
	bl	SUCCEEDED
	mov	r2, r4
	ldr	r1, .L8+12
	bl	ok
	ldr	r2, [sp, #4]
	ldr	r3, [sp, #20]
	ldr	r1, .L8+16
	subs	r0, r2, r3
	movne	r0, #1
	bl	ok
	add	r1, sp, #32
	add	r0, sp, r5
	bl	IsEqualGUID
	mov	r4, r0
	add	r0, sp, r5
	bl	wine_dbgstr_guid
	mov	r5, r0
	add	r0, sp, #32
	bl	wine_dbgstr_guid
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L8+20
	mov	r0, r4
	bl	ok
	add	r1, sp, #28
	add	r0, sp, #12
	bl	IsEqualGUID
	mov	r4, r0
	add	r0, sp, #12
	bl	wine_dbgstr_guid
	mov	r5, r0
	add	r0, sp, #28
	bl	wine_dbgstr_guid
	mov	r2, r5
	mov	r3, r0
	ldr	r1, .L8+20
	mov	r0, r4
	bl	ok
	ldr	r2, [sp, #8]
	ldr	r3, [sp, #24]
	ldr	r1, .L8+24
	sub	r0, r2, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp]
	bl	IUnknown_Release
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC5
	.word	GUID_SysKeyboard
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	test_GetDeviceInfo, .-test_GetDeviceInfo
	.comm	GUID_SysKeyboard,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
