	.file	"extr_svgalib.c_svga_match_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	svga_match_format
	.type	svga_match_format, @function
svga_match_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	call	match_format@PLT
	test	eax, eax
	js	.L1
	movsx	rdx, eax
	lea	rdx, [rdx+rdx*4]
	lea	rcx, 0[rbp+rdx*8]
	mov	edx, DWORD PTR 36[rcx]
	mov	DWORD PTR 20[rbx], edx
	mov	edx, DWORD PTR 32[rcx]
	mov	DWORD PTR 16[rbx], edx
	mov	edx, DWORD PTR 28[rcx]
	mov	DWORD PTR 12[rbx], edx
	mov	edx, DWORD PTR 24[rcx]
	mov	DWORD PTR 8[rbx], edx
	mov	edx, DWORD PTR 20[rcx]
	mov	DWORD PTR 4[rbx], edx
	mov	edx, DWORD PTR 16[rcx]
	mov	DWORD PTR [rbx], edx
	test	r12, r12
	je	.L1
	mov	edx, DWORD PTR 12[rcx]
	mov	DWORD PTR 12[r12], edx
	mov	edx, DWORD PTR 8[rcx]
	mov	DWORD PTR 8[r12], edx
	mov	edx, DWORD PTR 4[rcx]
	mov	DWORD PTR 4[r12], edx
	mov	edx, DWORD PTR [rcx]
	mov	DWORD PTR [r12], edx
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	svga_match_format, .-svga_match_format
	.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_svgalib.c_svga_match_format.c"
	.text
	.align	2
	.global	svga_match_format
	.syntax unified
	.arm
	.fpu softvfp
	.type	svga_match_format, %function
svga_match_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r6, r0
	mov	r4, r1
	bl	match_format
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
	add	r1, r0, r0, lsl #2
	add	r3, r6, r1, lsl #3
	ldr	ip, [r3, #36]
	ldr	r2, [r3, #32]
	str	ip, [r4, #20]
	ldr	ip, [r3, #28]
	str	r2, [r4, #16]
	ldr	r2, [r3, #24]
	str	ip, [r4, #12]
	ldr	ip, [r3, #20]
	str	r2, [r4, #8]
	ldr	r2, [r3, #16]
	cmp	r5, #0
	stm	r4, {r2, ip}
	lsl	r1, r1, #3
	popeq	{r4, r5, r6, pc}
	ldr	ip, [r3, #12]
	ldr	r2, [r3, #8]
	ldr	r1, [r6, r1]
	ldr	r3, [r3, #4]
	str	ip, [r5, #12]
	str	r1, [r5]
	str	r2, [r5, #8]
	str	r3, [r5, #4]
	pop	{r4, r5, r6, pc}
	.size	svga_match_format, .-svga_match_format
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
