	.file	"extr_ice_sched.c_ice_sched_find_node_by_teid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ice_sched_find_node_by_teid
	.type	ice_sched_find_node_by_teid, @function
ice_sched_find_node_by_teid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ICE_TXSCHED_GET_NODE_TEID@PLT
	mov	r8d, eax
	mov	rax, rbp
	cmp	r8d, r12d
	je	.L1
	cmp	QWORD PTR 0[rbp], 0
	je	.L4
	mov	rax, QWORD PTR ICE_AQC_TOPO_MAX_LEVEL_NUM[rip]
	cmp	QWORD PTR 8[rbp], rax
	jge	.L4
	mov	rax, QWORD PTR ICE_AQC_ELEM_TYPE_LEAF[rip]
	cmp	QWORD PTR 24[rbp], rax
	je	.L4
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 0[rbp]
	add	rbx, 1
	cmp	rax, rbx
	jbe	.L16
.L6:
	mov	rax, QWORD PTR 16[rbp]
	lea	r13, 0[0+rbx*8]
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	ICE_TXSCHED_GET_NODE_TEID@PLT
	cmp	eax, r12d
	jne	.L5
	mov	rax, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR [rax+r13]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	test	rax, rax
	je	.L4
	xor	ebx, ebx
.L7:
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, r12d
	mov	rdi, QWORD PTR [rax+rbx*8]
	call	ice_sched_find_node_by_teid
	test	rax, rax
	jne	.L1
	add	rbx, 1
	cmp	QWORD PTR 0[rbp], rbx
	ja	.L7
.L4:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ice_sched_find_node_by_teid, .-ice_sched_find_node_by_teid
	.comm	ICE_AQC_TOPO_MAX_LEVEL_NUM,8,8
	.comm	ICE_AQC_ELEM_TYPE_LEAF,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_ice_sched.c_ice_sched_find_node_by_teid.c"
	.text
	.align	2
	.global	ice_sched_find_node_by_teid
	.syntax unified
	.arm
	.fpu softvfp
	.type	ice_sched_find_node_by_teid, %function
ice_sched_find_node_by_teid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r5, r0
	bl	ICE_TXSCHED_GET_NODE_TEID
	cmp	r0, r6
	beq	.L8
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L17
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L4
	ldr	r3, .L17+4
	ldr	r2, [r5, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
	mov	r4, #0
	b	.L6
.L5:
	ldr	r3, [r5]
	cmp	r3, r4
	bls	.L16
.L6:
	ldr	r3, [r5, #8]
	lsl	r7, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	bl	ICE_TXSCHED_GET_NODE_TEID
	cmp	r0, r6
	add	r4, r4, #1
	bne	.L5
	ldr	r3, [r5, #8]
	ldr	r0, [r3, r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	cmp	r3, #0
	beq	.L4
	mov	r4, #0
.L7:
	ldr	r3, [r5, #8]
	mov	r1, r6
	ldr	r0, [r3, r4, lsl #2]
	bl	ice_sched_find_node_by_teid
	cmp	r0, #0
	add	r4, r4, #1
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r5]
	cmp	r3, r4
	bhi	.L7
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	.align	2
.L17:
	.word	ICE_AQC_TOPO_MAX_LEVEL_NUM
	.word	ICE_AQC_ELEM_TYPE_LEAF
	.size	ice_sched_find_node_by_teid, .-ice_sched_find_node_by_teid
	.comm	ICE_AQC_TOPO_MAX_LEVEL_NUM,4,4
	.comm	ICE_AQC_ELEM_TYPE_LEAF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
