	.file	"extr_alias_db.c_LibAliasRedirectPort.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	LibAliasRedirectPort
	.type	LibAliasRedirectPort, @function
LibAliasRedirectPort:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r8d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r9d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], edx
	call	LIBALIAS_LOCK@PLT
	cmp	DWORD PTR 88[rsp], 129
	mov	edx, DWORD PTR 12[rsp]
	je	.L2
	cmp	DWORD PTR 88[rsp], 130
	je	.L3
	xor	r12d, r12d
	cmp	DWORD PTR 88[rsp], 128
	mov	eax, DWORD PTR LINK_UDP[rip]
	je	.L5
.L4:
	mov	rdi, rbp
	call	LIBALIAS_UNLOCK@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR LINK_SCTP[rip]
.L5:
	push	rax
	.cfi_def_cfa_offset 88
	mov	eax, DWORD PTR 88[rsp]
	mov	r8d, edx
	mov	r9d, r15d
	mov	edx, ebx
	mov	ecx, r14d
	mov	esi, r13d
	mov	rdi, rbp
	push	rax
	.cfi_def_cfa_offset 96
	call	AddLink@PLT
	mov	r12, rax
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	test	r12, r12
	je	.L4
	mov	eax, DWORD PTR LINK_PERMANENT[rip]
	or	DWORD PTR [r12], eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR LINK_TCP[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	LibAliasRedirectPort, .-LibAliasRedirectPort
	.comm	stderr,4,4
	.comm	LINK_UDP,4,4
	.comm	LINK_TCP,4,4
	.comm	LINK_SCTP,4,4
	.comm	LINK_PERMANENT,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_alias_db.c_LibAliasRedirectPort.c"
	.text
	.align	2
	.global	LibAliasRedirectPort
	.syntax unified
	.arm
	.fpu softvfp
	.type	LibAliasRedirectPort, %function
LibAliasRedirectPort:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #16
	ldr	r4, [sp, #52]
	mov	r7, r1
	mov	r8, r2
	mov	r6, r3
	mov	r5, r0
	bl	LIBALIAS_LOCK
	cmp	r4, #129
	beq	.L2
	cmp	r4, #130
	beq	.L3
	cmp	r4, #128
	movne	r4, #0
	beq	.L12
.L4:
	mov	r0, r5
	bl	LIBALIAS_UNLOCK
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L13
	ldr	r3, [r3]
.L5:
	str	r3, [sp, #12]
	ldr	r3, [sp, #48]
	mov	r2, r6
	str	r3, [sp, #8]
	ldr	r3, [sp, #40]
	mov	r1, r7
	str	r3, [sp, #4]
	mov	r0, r5
	ldr	r3, [sp, #44]
	str	r8, [sp]
	bl	AddLink
	subs	r4, r0, #0
	ldrne	r2, .L13+4
	ldrne	r3, [r4]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r4]
	b	.L4
.L12:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	b	.L5
.L3:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	b	.L5
.L14:
	.align	2
.L13:
	.word	LINK_TCP
	.word	LINK_PERMANENT
	.word	LINK_UDP
	.word	LINK_SCTP
	.size	LibAliasRedirectPort, .-LibAliasRedirectPort
	.comm	stderr,4,4
	.comm	LINK_UDP,4,4
	.comm	LINK_TCP,4,4
	.comm	LINK_SCTP,4,4
	.comm	LINK_PERMANENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
