	.file	"extr_ice_sched.c_ice_rm_dflt_leaf_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ice_rm_dflt_leaf_node, @function
ice_rm_dflt_leaf_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rbp, rbp
	je	.L1
	mov	r12, rdi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR 24[rbp]
	mov	rbp, QWORD PTR [rax]
	test	rbp, rbp
	je	.L1
.L4:
	mov	eax, DWORD PTR 32[rbp]
	test	eax, eax
	jne	.L14
	mov	rax, QWORD PTR ICE_AQC_ELEM_TYPE_LEAF[rip]
	cmp	QWORD PTR 16[rbp], rax
	je	.L6
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	call	le32_to_cpu@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [r12]
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	DWORD PTR 4[rsp], eax
	call	ice_sched_remove_elems@PLT
	test	eax, eax
	jne	.L1
	mov	rsi, rbp
	mov	rdi, r12
	call	ice_free_sched_node@PLT
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ice_rm_dflt_leaf_node, .-ice_rm_dflt_leaf_node
	.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_rm_dflt_leaf_node.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ice_rm_dflt_leaf_node, %function
ice_rm_dflt_leaf_node:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r4, [r0, #4]
	ldr	r3, .L16
	sub	sp, sp, #12
	cmp	r4, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L1
	mov	r5, r0
	b	.L4
.L14:
	ldr	r3, [r4, #12]
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L1
.L4:
	ldr	r3, [r4, #16]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L16+4
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	ldr	r0, [r4, #4]
	bl	le32_to_cpu
	mov	ip, r0
	ldr	r1, [r4]
	mov	r3, sp
	mov	r2, #1
	ldr	r0, [r5]
	str	ip, [sp]
	bl	ice_sched_remove_elems
	cmp	r0, #0
	bne	.L1
	mov	r1, r4
	mov	r0, r5
	bl	ice_free_sched_node
	b	.L1
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	ICE_AQC_ELEM_TYPE_LEAF
	.size	ice_rm_dflt_leaf_node, .-ice_rm_dflt_leaf_node
	.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
