	.file	"extr_sdio.h_mp_rx_aggr_port_limit_reached.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mp_rx_aggr_port_limit_reached, @function
mp_rx_aggr_port_limit_reached:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	edx, DWORD PTR 16[rdi]
	mov	rcx, QWORD PTR 24[rdi]
	cmp	eax, edx
	jge	.L2
	mov	esi, DWORD PTR 12[rdi]
	add	esi, eax
	sub	esi, edx
	test	rcx, rcx
	je	.L3
	mov	ecx, DWORD PTR 4[rdi]
	mov	r8d, 1
	sar	ecx
	cmp	ecx, esi
	jg	.L5
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	xor	r8d, r8d
	test	rcx, rcx
	je	.L1
	mov	ecx, DWORD PTR 4[rdi]
	sar	ecx
.L5:
	sub	eax, edx
	xor	r8d, r8d
	cmp	eax, ecx
	setge	r8b
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	xor	r8d, r8d
	cmp	DWORD PTR 8[rdi], esi
	setle	r8b
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	mp_rx_aggr_port_limit_reached, .-mp_rx_aggr_port_limit_reached
	.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_sdio.h_mp_rx_aggr_port_limit_reached.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mp_rx_aggr_port_limit_reached, %function
mp_rx_aggr_port_limit_reached:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, [r0]
	ldr	r1, [r0, #16]
	mov	r3, r0
	cmp	r2, r1
	ldr	r0, [r0, #20]
	bge	.L2
	ldr	ip, [r3, #12]
	cmp	r0, #0
	sub	ip, ip, r1
	add	ip, ip, r2
	beq	.L3
	ldr	r0, [r3, #4]
	cmp	ip, r0, asr #1
	asr	r0, r0, #1
	blt	.L5
	mov	r0, #1
	bx	lr
.L2:
	cmp	r0, #0
	bxeq	lr
	ldr	r0, [r3, #4]
	asr	r0, r0, #1
.L5:
	sub	r2, r2, r1
	cmp	r2, r0
	movlt	r0, #0
	movge	r0, #1
	bx	lr
.L3:
	ldr	r0, [r3, #8]
	cmp	r0, ip
	movgt	r0, #0
	movle	r0, #1
	bx	lr
	.size	mp_rx_aggr_port_limit_reached, .-mp_rx_aggr_port_limit_reached
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
