	.file	"extr_alias_proxy.c_RuleAdd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	RuleAdd
	.type	RuleAdd, @function
RuleAdd:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	LIBALIAS_LOCK_ASSERT@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	QWORD PTR 24[rbx], rbp
	test	rdi, rdi
	je	.L10
	mov	esi, DWORD PTR [rbx]
	mov	rax, rdi
	xor	ecx, ecx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, rdx
.L6:
	cmp	DWORD PTR [rax], esi
	jge	.L11
	mov	rdx, QWORD PTR 8[rax]
	mov	rcx, rax
	test	rdx, rdx
	jne	.L7
	mov	QWORD PTR 8[rax], rbx
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 8[rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	test	rcx, rcx
	je	.L12
	mov	QWORD PTR 8[rcx], rbx
	mov	QWORD PTR 16[rax], rbx
	mov	QWORD PTR 16[rbx], rbx
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	QWORD PTR 0[rbp], rbx
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 8[rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	QWORD PTR 8[rbx], rdi
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 16[rdi], rbx
	mov	QWORD PTR 0[rbp], rbx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	RuleAdd, .-RuleAdd
	.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_alias_proxy.c_RuleAdd.c"
	.text
	.align	2
	.global	RuleAdd
	.syntax unified
	.arm
	.fpu softvfp
	.type	RuleAdd, %function
RuleAdd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r1
	bl	LIBALIAS_LOCK_ASSERT
	ldr	r0, [r5]
	str	r5, [r4, #12]
	cmp	r0, #0
	beq	.L10
	mov	r3, r0
	mov	ip, #0
	ldr	r1, [r4]
	b	.L6
.L7:
	mov	r3, r2
.L6:
	ldr	r2, [r3]
	cmp	r2, r1
	bge	.L11
	ldr	r2, [r3, #4]
	mov	ip, r3
	cmp	r2, #0
	bne	.L7
	str	r4, [r3, #4]
	stmib	r4, {r2, r3}
	pop	{r4, r5, r6, pc}
.L11:
	cmp	ip, #0
	stmibeq	r4, {r0, ip}
	strne	r4, [ip, #4]
	streq	r4, [r0, #8]
	strne	r4, [r3, #8]
	streq	r4, [r5]
	stmibne	r4, {r3, r4}
	pop	{r4, r5, r6, pc}
.L10:
	str	r4, [r5]
	str	r0, [r4, #8]
	str	r0, [r4, #4]
	pop	{r4, r5, r6, pc}
	.size	RuleAdd, .-RuleAdd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
