	.file	"extr_virtgpu_plane.c_virtio_gpu_translate_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	virtio_gpu_translate_format
	.type	virtio_gpu_translate_format, @function
virtio_gpu_translate_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	cmp	edi, 130
	je	.L2
	jg	.L3
	cmp	edi, 128
	je	.L4
	cmp	edi, 129
	jne	.L9
	mov	r12d, DWORD PTR VIRTIO_GPU_FORMAT_X8R8G8B8_UNORM[rip]
	xor	edi, edi
	test	r12d, r12d
	sete	dil
	call	WARN_ON@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	edi, 131
	jne	.L9
	mov	r12d, DWORD PTR VIRTIO_GPU_FORMAT_B8G8R8A8_UNORM[rip]
	xor	edi, edi
	test	r12d, r12d
	sete	dil
	call	WARN_ON@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	r12d, r12d
	mov	edi, 1
	call	WARN_ON@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r12d, DWORD PTR VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM[rip]
	xor	edi, edi
	test	r12d, r12d
	sete	dil
	call	WARN_ON@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR VIRTIO_GPU_FORMAT_A8R8G8B8_UNORM[rip]
	xor	edi, edi
	test	r12d, r12d
	sete	dil
	call	WARN_ON@PLT
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	virtio_gpu_translate_format, .-virtio_gpu_translate_format
	.comm	VIRTIO_GPU_FORMAT_X8R8G8B8_UNORM,4,4
	.comm	VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM,4,4
	.comm	VIRTIO_GPU_FORMAT_B8G8R8A8_UNORM,4,4
	.comm	VIRTIO_GPU_FORMAT_A8R8G8B8_UNORM,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_virtgpu_plane.c_virtio_gpu_translate_format.c"
	.text
	.align	2
	.global	virtio_gpu_translate_format
	.syntax unified
	.arm
	.fpu softvfp
	.type	virtio_gpu_translate_format, %function
virtio_gpu_translate_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	r0, r0, #128
	push	{r4, lr}
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L8
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L11
	ldr	r4, [r3]
	clz	r0, r4
	lsr	r0, r0, #5
.L2:
	bl	WARN_ON
	mov	r0, r4
	pop	{r4, pc}
.L7:
	ldr	r3, .L11+4
	ldr	r4, [r3]
	clz	r0, r4
	lsr	r0, r0, #5
	b	.L2
.L6:
	ldr	r3, .L11+8
	ldr	r4, [r3]
	clz	r0, r4
	lsr	r0, r0, #5
	b	.L2
.L5:
	ldr	r3, .L11+12
	ldr	r4, [r3]
	clz	r0, r4
	lsr	r0, r0, #5
	b	.L2
.L8:
	mov	r0, #1
	mov	r4, #0
	b	.L2
.L12:
	.align	2
.L11:
	.word	VIRTIO_GPU_FORMAT_B8G8R8A8_UNORM
	.word	VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM
	.word	VIRTIO_GPU_FORMAT_X8R8G8B8_UNORM
	.word	VIRTIO_GPU_FORMAT_A8R8G8B8_UNORM
	.size	virtio_gpu_translate_format, .-virtio_gpu_translate_format
	.comm	VIRTIO_GPU_FORMAT_X8R8G8B8_UNORM,4,4
	.comm	VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM,4,4
	.comm	VIRTIO_GPU_FORMAT_B8G8R8A8_UNORM,4,4
	.comm	VIRTIO_GPU_FORMAT_A8R8G8B8_UNORM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
