	.file	"extr_d3d9.c_d3d9_set_resize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[D3D9]: Resize %ux%u.\n"
	.text
	.p2align 4
	.type	d3d9_set_resize, @function
d3d9_set_resize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	DWORD PTR 12[rsp], esi
	mov	DWORD PTR 8[rsp], edx
	cmp	DWORD PTR [rdi], esi
	jne	.L2
	xor	eax, eax
	cmp	DWORD PTR 4[rdi], edx
	je	.L1
.L2:
	lea	rdi, .LC0[rip]
	call	RARCH_LOG@PLT
	mov	eax, DWORD PTR 12[rsp]
	lea	rsi, 8[rsp]
	lea	rdi, 12[rsp]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 8[rsp]
	mov	DWORD PTR 4[rbx], eax
	call	video_driver_set_size@PLT
	mov	eax, 1
.L1:
	add	rsp, 16
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	d3d9_set_resize, .-d3d9_set_resize
	.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_d3d9.c_d3d9_set_resize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[D3D9]: Resize %ux%u.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	d3d9_set_resize, %function
d3d9_set_resize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r0]
	sub	sp, sp, #8
	cmp	r0, r1
	mov	r3, r1
	str	r1, [sp, #4]
	str	r2, [sp]
	bne	.L2
	ldr	r1, [r4, #4]
	cmp	r1, r2
	moveq	r0, #0
	beq	.L1
.L2:
	mov	r1, r3
	ldr	r0, .L7
	bl	RARCH_LOG
	ldr	r2, [sp, #4]
	ldr	r3, [sp]
	mov	r1, sp
	stm	r4, {r2, r3}
	add	r0, sp, #4
	bl	video_driver_set_size
	mov	r0, #1
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	d3d9_set_resize, .-d3d9_set_resize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
