	.file	"extr_nf_nat_sip.c_map_addr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	map_addr, @function
map_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rdi
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -72[rbp], edx
	mov	r15, QWORD PTR 24[rbp]
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	mov	DWORD PTR -92[rbp], r9d
	mov	DWORD PTR -68[rbp], esi
	lea	rsi, -64[rbp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	nf_ct_get@PLT
	mov	edi, DWORD PTR -64[rbp]
	mov	r12, rax
	call	CTINFO2DIR@PLT
	mov	rdi, r12
	mov	ebx, eax
	call	nfct_help_data@PLT
	mov	rcx, rsp
	mov	QWORD PTR -104[rbp], rax
	movsx	rax, DWORD PTR INET6_ADDRSTRLEN[rip]
	add	rax, 24
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L24
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L25
.L4:
	mov	rdi, QWORD PTR [r12]
	mov	r14d, ebx
	mov	rsi, r15
	mov	QWORD PTR -112[rbp], rsp
	sal	r14, 5
	add	rdi, r14
	add	rdi, 8
	call	nf_inet_addr_cmp@PLT
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR [r12]
	mov	rcx, QWORD PTR 32[rbp]
	lea	rdi, [rax+r14]
	cmp	QWORD PTR [rdi], rcx
	je	.L26
.L6:
	add	rdi, 24
	mov	rsi, r15
	call	nf_inet_addr_cmp@PLT
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR [r12]
	mov	rsi, QWORD PTR 32[rbp]
	cmp	QWORD PTR 16[rax+r14], rsi
	jne	.L11
	lea	rdx, 32[rax]
	test	ebx, ebx
	mov	rbx, QWORD PTR -104[rbp]
	cmove	rax, rdx
	mov	r14, QWORD PTR [rbx]
	mov	edx, DWORD PTR 8[rax]
	mov	DWORD PTR -60[rbp], edx
	test	r14, r14
	je	.L27
.L8:
	lea	rbx, -60[rbp]
	mov	rsi, r15
	mov	rdi, rbx
	call	nf_inet_addr_cmp@PLT
	cmp	r14, QWORD PTR 32[rbp]
	jne	.L15
	test	rax, rax
	jne	.L11
.L15:
	mov	rdi, r14
	call	ntohs@PLT
	mov	rdx, rbx
	mov	rbx, QWORD PTR -112[rbp]
	mov	rdi, r12
	mov	ecx, eax
	mov	rsi, rbx
	call	sip_sprintf_addr_port@PLT
	sub	rsp, 8
	mov	r9d, DWORD PTR -92[rbp]
	mov	edx, DWORD PTR -72[rbp]
	mov	r8, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	push	rax
	mov	rdi, r13
	mov	eax, DWORD PTR 16[rbp]
	mov	esi, DWORD PTR -68[rbp]
	push	rbx
	push	rax
	call	mangle_packet@PLT
	add	rsp, 32
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L28
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR [r12]
	add	rdi, r14
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	lea	rdx, 32[rax]
	test	ebx, ebx
	cmove	rax, rdx
	mov	edx, DWORD PTR 24[rax]
	mov	r14, QWORD PTR 16[rax]
	mov	DWORD PTR -60[rbp], edx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L25:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L27:
	mov	r14, QWORD PTR [rax]
	jmp	.L8
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	map_addr, .-map_addr
	.comm	INET6_ADDRSTRLEN,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_nf_nat_sip.c_map_addr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	map_addr, %function
map_addr:
	@ args = 20, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	mov	r8, r3
	ldr	r3, .L15
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r3, [fp, #4]
	sub	r1, fp, #48
	mov	r7, r2
	str	r3, [fp, #-64]
	ldr	r9, [fp, #16]
	str	r0, [fp, #-60]
	bl	nf_ct_get
	mov	r4, r0
	ldr	r0, [fp, #-48]
	bl	CTINFO2DIR
	mov	r5, r0
	mov	r0, r4
	bl	nfct_help_data
	mov	r2, r0
	ldr	r3, .L15+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	add	r0, r0, r5, lsl #4
	add	r3, r3, #16
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r1, r9
	add	r0, r0, #4
	str	r2, [fp, #-68]
	bl	nf_inet_addr_cmp
	cmp	r0, #0
	add	r10, sp, #24
	lsl	r3, r5, #4
	beq	.L2
	ldr	r2, [r4]
	ldr	ip, [fp, #20]
	ldr	r1, [r2, r5, lsl #4]
	add	r0, r2, r3
	cmp	r1, ip
	beq	.L13
.L3:
	mov	r1, r9
	add	r0, r0, #12
	str	r3, [fp, #-56]
	bl	nf_inet_addr_cmp
	cmp	r0, #0
	ldr	r3, [fp, #-56]
	beq	.L8
	ldr	r2, [r4]
	ldr	r1, [fp, #20]
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	cmp	r3, r1
	bne	.L8
	ldr	r3, [fp, #-68]
	cmp	r5, #0
	ldr	r5, [r3]
	addeq	r2, r2, #16
	ldr	r3, [r2, #4]
	cmp	r5, #0
	ldreq	r5, [r2]
	str	r3, [fp, #-44]
.L5:
	mov	r1, r9
	sub	r0, fp, #44
	bl	nf_inet_addr_cmp
	ldr	r3, [fp, #20]
	cmp	r0, #0
	sub	r3, r5, r3
	clz	r3, r3
	lsr	r3, r3, #5
	moveq	r3, #0
	cmp	r3, #0
	bne	.L8
	mov	r0, r5
	bl	ntohs
	mov	r1, r10
	mov	r3, r0
	sub	r2, fp, #44
	mov	r0, r4
	bl	sip_sprintf_addr_port
	ldr	r3, [fp, #12]
	str	r0, [sp, #16]
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	mov	r2, r7
	str	r3, [sp, #4]
	ldr	r3, [fp, #-64]
	mov	r1, r6
	str	r3, [sp]
	ldr	r0, [fp, #-60]
	mov	r3, r8
	str	r10, [sp, #12]
	bl	mangle_packet
	b	.L1
.L8:
	mov	r0, #1
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	cmp	r5, #0
	addeq	r2, r2, #16
	ldr	r3, [r2, #12]
	ldr	r5, [r2, #8]
	str	r3, [fp, #-44]
	b	.L5
.L2:
	ldr	r0, [r4]
	add	r0, r0, r3
	b	.L3
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	INET6_ADDRSTRLEN
	.size	map_addr, .-map_addr
	.comm	INET6_ADDRSTRLEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
