	.file	"extr_uu_list.c_uu_list_insert_after.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"uu_list_insert_after(%p, %p, %p): %p is not currently on a list\n"
	.align 8
.LC1:
	.string	"uu_list_insert_after(%p, ...): list is UU_LIST_SORTED\n"
	.text
	.p2align 4
	.globl	uu_list_insert_after
	.type	uu_list_insert_after, @function
uu_list_insert_after:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	lea	r12, 16[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ELEM_TO_NODE@PLT
	test	r13, r13
	cmovne	r12, rax
	cmp	QWORD PTR 0[rbp], 0
	je	.L3
	cmp	QWORD PTR 8[r12], 0
	je	.L12
	cmp	QWORD PTR 8[rbp], 0
	jne	.L6
.L5:
	mov	r13d, DWORD PTR [r12]
	mov	rsi, r14
	mov	rdi, rbp
	call	ELEM_TO_NODE@PLT
	mov	rdx, r12
	mov	rdi, rbp
	mov	rsi, rax
	mov	ecx, r13d
	call	list_insert@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	QWORD PTR 8[rbp], 0
	je	.L5
.L7:
	mov	edi, DWORD PTR UU_ERROR_NOT_SUPPORTED[rip]
	call	uu_set_error@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	xor	eax, eax
	mov	r8, r13
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	uu_panic@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L5
	cmp	QWORD PTR 0[rbp], 0
	je	.L7
.L6:
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	uu_panic@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	uu_list_insert_after, .-uu_list_insert_after
	.comm	UU_ERROR_NOT_SUPPORTED,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_uu_list.c_uu_list_insert_after.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"uu_list_insert_after(%p, %p, %p): %p is not current"
	.ascii	"ly on a list\012\000"
	.align	2
.LC1:
	.ascii	"uu_list_insert_after(%p, ...): list is UU_LIST_SORT"
	.ascii	"ED\012\000"
	.text
	.align	2
	.global	uu_list_insert_after
	.syntax unified
	.arm
	.fpu softvfp
	.type	uu_list_insert_after, %function
uu_list_insert_after:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	r6, r1
	sub	sp, sp, #12
	mov	r7, r2
	bl	ELEM_TO_NODE
	ldr	r1, [r4]
	cmp	r6, #0
	movne	r5, r0
	addeq	r5, r4, #8
	cmp	r1, #0
	beq	.L3
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L6
.L5:
	mov	r1, r7
	mov	r0, r4
	bl	ELEM_TO_NODE
	mov	r2, r5
	mov	r1, r0
	ldr	r3, [r5]
	mov	r0, r4
	bl	list_insert
	mov	r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L5
.L7:
	ldr	r3, .L17
	ldr	r0, [r3]
	bl	uu_set_error
	mvn	r0, #0
	b	.L1
.L16:
	mov	r3, r7
	mov	r2, r6
	mov	r1, r4
	ldr	r0, .L17+4
	str	r6, [sp]
	bl	uu_panic
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L7
.L6:
	mov	r1, r4
	ldr	r0, .L17+8
	bl	uu_panic
	b	.L7
.L18:
	.align	2
.L17:
	.word	UU_ERROR_NOT_SUPPORTED
	.word	.LC0
	.word	.LC1
	.size	uu_list_insert_after, .-uu_list_insert_after
	.comm	UU_ERROR_NOT_SUPPORTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
