	.file	"extr_fman_ncsw.c_fman_set_size_of_fifo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fman_set_size_of_fifo
	.type	fman_set_size_of_fifo, @function
fman_set_size_of_fifo:
.LFB0:
	.cfi_startproc
	endbr64
	lea	r8d, -1[rsi]
	mov	r9d, edx
	cmp	r8d, 62
	jbe	.L4
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR [rdi]
	movsx	rsi, esi
	mov	r8d, DWORD PTR FMAN_BMI_FIFO_UNITS[rip]
	lea	rsi, -4[rax+rsi*4]
	mov	eax, ecx
	mov	ecx, DWORD PTR BMI_EXTRA_FIFO_SIZE_SHIFT[rip]
	cdq
	idiv	r8d
	sal	eax, cl
	mov	ecx, eax
	mov	eax, r9d
	cdq
	idiv	r8d
	lea	edi, -1[rax]
	or	edi, ecx
	jmp	iowrite32be@PLT
	.cfi_endproc
.LFE0:
	.size	fman_set_size_of_fifo, .-fman_set_size_of_fifo
	.comm	FMAN_BMI_FIFO_UNITS,4,4
	.comm	BMI_EXTRA_FIFO_SIZE_SHIFT,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_fman_ncsw.c_fman_set_size_of_fifo.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	fman_set_size_of_fifo
	.syntax unified
	.arm
	.fpu softvfp
	.type	fman_set_size_of_fifo, %function
fman_set_size_of_fifo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	sub	r1, r1, #1
	cmp	r1, #62
	bxhi	lr
	push	{r4, r5, r6, lr}
	mov	r4, r2
	ldr	r2, .L7
	ldr	r5, [r0]
	ldr	r6, [r2]
	sub	ip, ip, #-1073741823
	mov	r1, r6
	mov	r0, r3
	add	r5, r5, ip, lsl #2
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r2, .L7+4
	mov	r1, r6
	ldr	r2, [r2]
	mov	r0, r4
	lsl	r4, r3, r2
	bl	__aeabi_idiv
	sub	r0, r0, #1
	mov	r1, r5
	orr	r0, r4, r0
	pop	{r4, r5, r6, lr}
	b	iowrite32be
.L8:
	.align	2
.L7:
	.word	FMAN_BMI_FIFO_UNITS
	.word	BMI_EXTRA_FIFO_SIZE_SHIFT
	.size	fman_set_size_of_fifo, .-fman_set_size_of_fifo
	.comm	FMAN_BMI_FIFO_UNITS,4,4
	.comm	BMI_EXTRA_FIFO_SIZE_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
