	.file	"extr_d3drm.c_test_Mesh.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot get IDirect3DRM interface (hr = %x)\n"
	.align 8
.LC1:
	.string	"Cannot get IDirect3DRMMesh interface (hr = %x)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"Mesh"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Failed to get IDirect3DRMObject, %#x.\n"
	.align 8
.LC4:
	.string	"Failed to get IDirect3DRMVisual, %#x.\n"
	.text
	.p2align 4
	.type	test_Mesh, @function
test_Mesh:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rdi, rsp
	lea	r13, 16[rsp]
	call	Direct3DRMCreate@PLT
	xor	edi, edi
	cmp	QWORD PTR D3DRM_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	rdx, rax
	call	ok@PLT
	mov	rdi, QWORD PTR [rsp]
	lea	rsi, 8[rsp]
	call	IDirect3DRM_CreateMesh@PLT
	xor	edi, edi
	cmp	QWORD PTR D3DRM_OK[rip], rax
	lea	rsi, .LC1[rip]
	sete	dil
	mov	rdx, rax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC2[rip]
	call	test_class_name@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	test_object_name@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r13
	lea	rsi, IID_IDirect3DRMObject[rip]
	call	IDirect3DRMMesh_QueryInterface@PLT
	mov	rdi, rax
	mov	r12, rax
	call	SUCCEEDED@PLT
	mov	rdx, r12
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	IUnknown_Release@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r13
	lea	rsi, IID_IDirect3DRMVisual[rip]
	call	IDirect3DRMMesh_QueryInterface@PLT
	mov	rdi, rax
	mov	r12, rax
	call	SUCCEEDED@PLT
	mov	rdx, r12
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	IUnknown_Release@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	IDirect3DRMMesh_Release@PLT
	mov	rdi, QWORD PTR [rsp]
	call	IDirect3DRM_Release@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_Mesh, .-test_Mesh
	.comm	IID_IDirect3DRMVisual,4,4
	.comm	IID_IDirect3DRMObject,4,4
	.comm	D3DRM_OK,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_d3drm.c_test_Mesh.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot get IDirect3DRM interface (hr = %x)\012\000"
	.align	2
.LC1:
	.ascii	"Cannot get IDirect3DRMMesh interface (hr = %x)\012\000"
	.align	2
.LC2:
	.ascii	"Mesh\000"
	.align	2
.LC3:
	.ascii	"Failed to get IDirect3DRMObject, %#x.\012\000"
	.align	2
.LC4:
	.ascii	"Failed to get IDirect3DRMVisual, %#x.\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_Mesh, %function
test_Mesh:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L6
	sub	sp, sp, #16
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	Direct3DRMCreate
	mov	r2, r0
	ldr	r4, .L6+4
	ldr	r1, .L6+8
	ldr	r0, [r4]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	add	r1, sp, #4
	ldr	r0, [sp]
	bl	IDirect3DRM_CreateMesh
	mov	r2, r0
	ldr	r0, [r4]
	ldr	r1, .L6+12
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r1, .L6+16
	ldr	r0, [sp, #4]
	bl	test_class_name
	ldr	r0, [sp, #4]
	bl	test_object_name
	ldr	r1, .L6+20
	add	r2, sp, #8
	ldr	r0, [sp, #4]
	bl	IDirect3DRMMesh_QueryInterface
	mov	r4, r0
	bl	SUCCEEDED
	mov	r2, r4
	ldr	r1, .L6+24
	bl	ok
	ldr	r0, [sp, #8]
	bl	IUnknown_Release
	ldr	r1, .L6+28
	add	r2, sp, #8
	ldr	r0, [sp, #4]
	bl	IDirect3DRMMesh_QueryInterface
	mov	r4, r0
	bl	SUCCEEDED
	mov	r2, r4
	ldr	r1, .L6+32
	bl	ok
	ldr	r0, [sp, #8]
	bl	IUnknown_Release
	ldr	r0, [sp, #4]
	bl	IDirect3DRMMesh_Release
	ldr	r0, [sp]
	bl	IDirect3DRM_Release
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC5
	.word	D3DRM_OK
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	IID_IDirect3DRMObject
	.word	.LC3
	.word	IID_IDirect3DRMVisual
	.word	.LC4
	.size	test_Mesh, .-test_Mesh
	.comm	IID_IDirect3DRMVisual,4,4
	.comm	IID_IDirect3DRMObject,4,4
	.comm	D3DRM_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
