	.file	"extr_soc_mediabus.c_soc_mbus_bytes_per_line.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	soc_mbus_bytes_per_line
	.type	soc_mbus_bytes_per_line, @function
soc_mbus_bytes_per_line:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR SOC_MBUS_LAYOUT_PACKED[rip]
	cmp	QWORD PTR [rsi], rax
	jne	.L9
	mov	eax, DWORD PTR 12[rsi]
	add	eax, -128
	cmp	eax, 6
	ja	.L4
	lea	rdx, .L6[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L7-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L9:
	imul	edi, DWORD PTR 8[rsi]
	test	edi, edi
	lea	eax, 7[rdi]
	cmovs	edi, eax
	mov	eax, edi
	sar	eax, 3
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	lea	eax, [rdi+rdi]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	lea	eax, [rdi+rdi*2]
	mov	edi, eax
	shr	edi, 31
	add	edi, eax
	mov	eax, edi
	sar	eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	lea	eax, 0[0+rdi*4]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
	ret
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	soc_mbus_bytes_per_line, .-soc_mbus_bytes_per_line
	.comm	SOC_MBUS_LAYOUT_PACKED,8,8
	.comm	EINVAL,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_soc_mediabus.c_soc_mbus_bytes_per_line.c"
	.text
	.align	2
	.global	soc_mbus_bytes_per_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	soc_mbus_bytes_per_line, %function
soc_mbus_bytes_per_line:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L12
	ldr	r2, [r1]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L9
	ldr	r3, [r1, #8]
	sub	r3, r3, #128
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L5
.L9:
	ldr	r3, [r1, #4]
	mul	r0, r3, r0
	add	r3, r0, #7
	cmp	r0, #0
	movlt	r0, r3
	asr	r0, r0, #3
	bx	lr
.L7:
	lsl	r0, r0, #1
	bx	lr
.L5:
	add	r0, r0, r0, lsl #1
	add	r0, r0, r0, lsr #31
	asr	r0, r0, #1
	bx	lr
.L8:
	lsl	r0, r0, #2
	bx	lr
.L10:
	mov	r0, #0
	bx	lr
.L4:
	ldr	r3, .L12+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L13:
	.align	2
.L12:
	.word	SOC_MBUS_LAYOUT_PACKED
	.word	EINVAL
	.size	soc_mbus_bytes_per_line, .-soc_mbus_bytes_per_line
	.comm	SOC_MBUS_LAYOUT_PACKED,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
