	.file	"extr_connect4_prog.c_connect_v4_prog.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	connect_v4_prog
	.type	connect_v4_prog, @function
connect_v4_prog:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pxor	xmm0, xmm0
	xor	esi, esi
	mov	edx, 24
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 120
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	lea	rdi, 72[rsp]
	movaps	XMMWORD PTR 32[rsp], xmm0
	lea	r12, 32[rsp]
	movaps	XMMWORD PTR 48[rsp], xmm0
	movaps	XMMWORD PTR 64[rsp], xmm0
	movaps	XMMWORD PTR 80[rsp], xmm0
	call	memset@PLT
	xor	esi, esi
	mov	edx, 24
	lea	rdi, 48[rsp]
	call	memset@PLT
	mov	edi, DWORD PTR DST_REWRITE_IP4[rip]
	call	bpf_htonl@PLT
	mov	rdi, QWORD PTR DST_REWRITE_PORT4[rip]
	mov	QWORD PTR 32[rsp], rax
	call	bpf_htons@PLT
	mov	QWORD PTR 40[rsp], rax
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR SOCK_STREAM[rip]
	je	.L2
	cmp	rax, QWORD PTR SOCK_DGRAM[rip]
	jne	.L14
	mov	ecx, DWORD PTR BPF_F_CURRENT_NETNS[rip]
	mov	rdi, rbp
	xor	r8d, r8d
	mov	rsi, r12
	mov	edx, 64
	call	bpf_sk_lookup_udp@PLT
	mov	rdi, rax
.L5:
	test	rdi, rdi
	je	.L14
	mov	rax, QWORD PTR 32[rsp]
	cmp	QWORD PTR [rdi], rax
	jne	.L7
	mov	rax, QWORD PTR DST_REWRITE_PORT4[rip]
	cmp	QWORD PTR 8[rdi], rax
	je	.L8
.L7:
	call	bpf_sk_release@PLT
.L14:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 104[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ecx, DWORD PTR BPF_F_CURRENT_NETNS[rip]
	mov	rdi, rbp
	xor	r8d, r8d
	mov	rsi, r12
	mov	edx, 64
	call	bpf_sk_lookup_tcp@PLT
	mov	rdi, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	call	bpf_sk_release@PLT
	mov	edi, DWORD PTR DST_REWRITE_IP4[rip]
	mov	r12, rsp
	call	bpf_htonl@PLT
	mov	rdi, QWORD PTR DST_REWRITE_PORT4[rip]
	mov	QWORD PTR 16[rbp], rax
	call	bpf_htons@PLT
	xor	esi, esi
	mov	edx, 24
	mov	rdi, r12
	mov	QWORD PTR 8[rbp], rax
	call	memset@PLT
	mov	eax, DWORD PTR AF_INET[rip]
	xor	edi, edi
	mov	DWORD PTR 16[rsp], eax
	call	bpf_htons@PLT
	mov	edi, DWORD PTR SRC_REWRITE_IP4[rip]
	mov	QWORD PTR 8[rsp], rax
	call	bpf_htonl@PLT
	mov	edx, 24
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR [rsp], rax
	call	bpf_bind@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	connect_v4_prog, .-connect_v4_prog
	.comm	SRC_REWRITE_IP4,4,4
	.comm	SOCK_STREAM,8,8
	.comm	SOCK_DGRAM,8,8
	.comm	DST_REWRITE_PORT4,8,8
	.comm	DST_REWRITE_IP4,4,4
	.comm	BPF_F_CURRENT_NETNS,4,4
	.comm	AF_INET,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_connect4_prog.c_connect_v4_prog.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	connect_v4_prog
	.syntax unified
	.arm
	.fpu softvfp
	.type	connect_v4_prog, %function
connect_v4_prog:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, #0
	ldr	r7, .L17
	ldr	r3, .L17+4
	sub	sp, sp, #60
	mov	r5, r0
	ldr	r0, [r7]
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	str	r4, [sp, #20]
	str	r4, [sp, #40]
	str	r4, [sp, #28]
	str	r4, [sp, #24]
	str	r4, [sp, #44]
	str	r4, [sp, #48]
	str	r4, [sp, #32]
	str	r4, [sp, #36]
	bl	bpf_htonl
	ldr	r6, .L17+8
	str	r0, [sp, #20]
	ldr	r0, [r6]
	bl	bpf_htons
	ldr	r2, .L17+12
	ldr	r3, [r5]
	ldr	r2, [r2]
	str	r0, [sp, #24]
	cmp	r3, r2
	beq	.L2
	ldr	r2, .L17+16
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L14
	ldr	r3, .L17+20
	str	r4, [sp]
	mov	r2, #32
	mov	r0, r5
	ldr	r3, [r3]
	add	r1, sp, #20
	bl	bpf_sk_lookup_udp
.L5:
	cmp	r0, #0
	beq	.L14
	ldr	r2, [r0]
	ldr	r3, [sp, #20]
	cmp	r2, r3
	bne	.L7
	ldr	r2, [r0, #4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L8
.L7:
	bl	bpf_sk_release
.L14:
	mov	r0, #0
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r3, .L17+20
	str	r4, [sp]
	mov	r2, #32
	mov	r0, r5
	ldr	r3, [r3]
	add	r1, sp, #20
	bl	bpf_sk_lookup_tcp
	b	.L5
.L8:
	bl	bpf_sk_release
	ldr	r0, [r7]
	bl	bpf_htonl
	mov	r3, r0
	ldr	r0, [r6]
	str	r3, [r5, #8]
	bl	bpf_htons
	mov	r3, #0
	ldr	r2, .L17+24
	str	r0, [r5, #4]
	ldr	r2, [r2]
	mov	r0, r3
	str	r2, [sp, #16]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	bl	bpf_htons
	ldr	r3, .L17+28
	str	r0, [sp, #12]
	ldr	r0, [r3]
	bl	bpf_htonl
	mov	r3, r0
	mov	r2, #12
	mov	r0, r5
	add	r1, sp, #8
	str	r3, [sp, #8]
	bl	bpf_bind
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	DST_REWRITE_IP4
	.word	.LC0
	.word	DST_REWRITE_PORT4
	.word	SOCK_STREAM
	.word	SOCK_DGRAM
	.word	BPF_F_CURRENT_NETNS
	.word	AF_INET
	.word	SRC_REWRITE_IP4
	.size	connect_v4_prog, .-connect_v4_prog
	.comm	SRC_REWRITE_IP4,4,4
	.comm	SOCK_STREAM,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	DST_REWRITE_PORT4,4,4
	.comm	DST_REWRITE_IP4,4,4
	.comm	BPF_F_CURRENT_NETNS,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
