	.file	"extr_mmal_util.c_mmal_encoding_stride_to_width.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mmal_encoding_stride_to_width
	.type	mmal_encoding_stride_to_width, @function
mmal_encoding_stride_to_width:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10, QWORD PTR pixel_pitch[rip]
	mov	r11, QWORD PTR MMAL_ENCODING_UNKNOWN[rip]
	mov	rax, rsi
	mov	rcx, QWORD PTR [r10]
	cmp	r11, rcx
	je	.L5
	mov	r9, r10
	xor	r8d, r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	lea	ecx, 1[r8]
	mov	r8, rcx
	lea	rcx, [rcx+rcx*2]
	lea	r9, [r10+rcx*8]
	mov	rcx, QWORD PTR [r9]
	cmp	r11, rcx
	je	.L5
.L4:
	cmp	rcx, rdi
	jne	.L8
	imul	rax, QWORD PTR 8[r9]
	cqo
	idiv	QWORD PTR 16[r9]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	mmal_encoding_stride_to_width, .-mmal_encoding_stride_to_width
	.comm	pixel_pitch,8,8
	.comm	MMAL_ENCODING_UNKNOWN,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_mmal_util.c_mmal_encoding_stride_to_width.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	mmal_encoding_stride_to_width
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmal_encoding_stride_to_width, %function
mmal_encoding_stride_to_width:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L14
	ldr	r3, .L14+4
	ldr	r2, [r2]
	ldr	ip, [r3]
	ldr	r3, [r2]
	cmp	ip, r3
	beq	.L5
	push	{r4, lr}
	mov	lr, r1
	b	.L4
.L13:
	ldr	r3, [r2, #12]!
	cmp	r3, ip
	beq	.L12
.L4:
	cmp	r3, r0
	bne	.L13
	ldmib	r2, {r0, r1}
	mul	r0, lr, r0
	bl	__aeabi_idiv
	pop	{r4, pc}
.L12:
	mov	r0, #0
	pop	{r4, pc}
.L5:
	mov	r0, #0
	bx	lr
.L15:
	.align	2
.L14:
	.word	pixel_pitch
	.word	MMAL_ENCODING_UNKNOWN
	.size	mmal_encoding_stride_to_width, .-mmal_encoding_stride_to_width
	.comm	pixel_pitch,4,4
	.comm	MMAL_ENCODING_UNKNOWN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
