	.file	"extr_ipfw2.c_add_dst.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/,"
.LC1:
	.string	"me6"
.LC2:
	.string	"me"
.LC3:
	.string	"any"
	.text
	.p2align 4
	.type	add_dst, @function
add_dst:
.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
	.cfi_offset 15, -24
	mov	r15, rsi
	push	r14
	.cfi_offset 14, -32
	mov	r14, r8
	push	r13
	.cfi_offset 13, -40
	mov	r13d, ecx
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdx
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 56
	movsx	rcx, DWORD PTR INET6_ADDRSTRLEN[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rdi, rsp
	lea	rax, 15[rcx]
	mov	rdx, rcx
	mov	rsi, rax
	and	rax, -4096
	sub	rdi, rax
	and	rsi, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L36:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L36
.L3:
	and	esi, 4095
	sub	rsp, rsi
	test	rsi, rsi
	jne	.L37
.L4:
	lea	rsi, .LC0[rip]
	mov	rdi, r15
	mov	DWORD PTR -92[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	mov	QWORD PTR -72[rbp], rsp
	call	strpbrk@PLT
	test	rax, rax
	je	.L14
	mov	edx, DWORD PTR -92[rbp]
	sub	rax, r15
	mov	rsi, r15
	mov	rdi, rsp
	mov	QWORD PTR -80[rbp], rax
	call	strlcpy@PLT
	movsx	rax, DWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	cmp	rcx, rax
	jbe	.L5
	mov	BYTE PTR [rsp+rax], 0
.L5:
	cmp	QWORD PTR IPPROTO_IPV6[rip], r12
	je	.L9
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	call	strcmp@PLT
	test	rax, rax
	jne	.L38
.L9:
	mov	rcx, r14
	mov	edx, r13d
	mov	rsi, r15
	mov	rdi, rbx
	call	add_dstip6@PLT
	test	rax, rax
	je	.L7
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L39
	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
.L14:
	.cfi_restore_state
	mov	QWORD PTR -72[rbp], r15
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L38:
	mov	rsi, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR AF_INET6[rip]
	lea	rdx, -60[rbp]
	call	inet_pton@PLT
	cmp	eax, 1
	je	.L9
.L7:
	cmp	QWORD PTR IPPROTO_IP[rip], r12
	je	.L12
	lea	rsi, .LC2[rip]
	mov	rdi, r15
	call	strcmp@PLT
	test	rax, rax
	jne	.L40
.L12:
	mov	rcx, r14
	mov	edx, r13d
	mov	rsi, r15
	mov	rdi, rbx
	call	add_dstip@PLT
	test	rax, rax
	jne	.L1
.L11:
	lea	rsi, .LC3[rip]
	mov	rdi, r15
	call	strcmp@PLT
	test	rax, rax
	mov	eax, 0
	cmovne	rax, rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	or	QWORD PTR -8[rsp+rsi], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L40:
	mov	rsi, QWORD PTR -72[rbp]
	mov	edi, DWORD PTR AF_INET6[rip]
	lea	rdx, -60[rbp]
	call	inet_pton@PLT
	cmp	eax, 1
	jne	.L12
	jmp	.L11
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	add_dst, .-add_dst
	.comm	IPPROTO_IPV6,8,8
	.comm	IPPROTO_IP,8,8
	.comm	INET6_ADDRSTRLEN,4,4
	.comm	AF_INET6,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_ipfw2.c_add_dst.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/,\000"
	.align	2
.LC1:
	.ascii	"me6\000"
	.align	2
.LC2:
	.ascii	"any\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_dst, %function
add_dst:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #20
	mov	r4, r1
	ldr	r1, .L34
	mov	r7, r3
	ldr	r10, [r1]
	ldr	r3, .L34+4
	add	ip, r10, #7
	bic	ip, ip, #7
	mov	r5, r0
	ldr	r1, .L34+8
	mov	r0, r4
	sub	sp, sp, ip
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	strpbrk
	cmp	r0, #0
	moveq	r9, r4
	ldr	r8, [fp, #4]
	beq	.L2
	sub	r3, r0, r4
	mov	r2, r10
	mov	r1, r4
	mov	r0, sp
	str	r3, [fp, #-48]
	bl	strlcpy
	ldr	r3, [fp, #-48]
	mov	r9, sp
	cmp	r10, r3
	movhi	r2, #0
	strbhi	r2, [sp, r3]
.L2:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L6
	mov	r0, r4
	ldr	r1, .L34+16
	bl	strcmp
	cmp	r0, #0
	bne	.L32
.L6:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	bl	add_dstip6
	cmp	r0, #0
	beq	.L4
.L1:
	ldr	r3, .L34+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	ldr	r3, .L34+20
	mov	r1, r9
	ldr	r0, [r3]
	sub	r2, fp, #44
	bl	inet_pton
	cmp	r0, #1
	beq	.L6
.L4:
	ldr	r3, .L34+24
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L10
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L14
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L14
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
.L10:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	bl	add_dstip
	cmp	r0, #0
	bne	.L1
.L8:
	mov	r0, r4
	ldr	r1, .L34+28
	bl	strcmp
	cmp	r0, #0
	movne	r0, r5
	moveq	r0, #0
	b	.L1
.L14:
	ldr	r3, .L34+20
	mov	r1, r9
	ldr	r0, [r3]
	sub	r2, fp, #44
	bl	inet_pton
	cmp	r0, #1
	bne	.L10
	b	.L8
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	INET6_ADDRSTRLEN
	.word	.LC3
	.word	.LC0
	.word	IPPROTO_IPV6
	.word	.LC1
	.word	AF_INET6
	.word	IPPROTO_IP
	.word	.LC2
	.size	add_dst, .-add_dst
	.comm	IPPROTO_IPV6,4,4
	.comm	IPPROTO_IP,4,4
	.comm	INET6_ADDRSTRLEN,4,4
	.comm	AF_INET6,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
