	.file	"extr_net_tuntests.c_create_tunsock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"connect got EBUSY, sleeping 1 second before retry"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"connect()"
	.text
	.p2align 4
	.type	create_tunsock, @function
create_tunsock:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 152
	.cfi_def_cfa_offset 208
	mov	DWORD PTR 28[rsp], edi
	lea	rbx, 96[rsp]
	lea	r12, 28[rsp]
	mov	DWORD PTR 24[rsp], esi
	lea	r15, 24[rsp]
	lea	r14, 20[rsp]
	mov	DWORD PTR 20[rsp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	lea	rax, 48[rsp]
	mov	QWORD PTR 8[rsp], rax
	lea	rax, 44[rsp]
	mov	QWORD PTR [rsp], rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rcx, QWORD PTR EBUSY[rip]
	cmp	QWORD PTR errno[rip], rcx
	jne	.L3
	mov	edi, ebp
	call	close@PLT
	lea	rdi, .LC0[rip]
	call	T_LOG@PLT
	mov	edi, 1
	call	sleep@PLT
.L2:
	mov	edx, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	esi, DWORD PTR SOCK_DGRAM[rip]
	mov	edi, DWORD PTR PF_SYSTEM[rip]
	call	socket@PLT
	xor	esi, esi
	mov	edi, eax
	mov	ebp, eax
	call	T_EXPECT_POSIX_SUCCESS@PLT
	mov	r13, QWORD PTR 8[rsp]
	xor	esi, esi
	mov	edx, 40
	mov	rdi, r13
	call	memset@PLT
	mov	esi, DWORD PTR g_CONTROL_NAME[rip]
	mov	edi, DWORD PTR 80[rsp]
	mov	edx, 4
	call	strlcpy@PLT
	mov	esi, DWORD PTR CTLIOCGINFO[rip]
	mov	rdx, r13
	mov	edi, ebp
	call	ioctl@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_POSIX_ZERO@PLT
	xor	esi, esi
	mov	edx, 40
	mov	rdi, rbx
	call	memset@PLT
	mov	eax, DWORD PTR AF_SYSTEM[rip]
	mov	rcx, r12
	mov	edi, ebp
	mov	edx, DWORD PTR g_OPT_ENABLE_NETIF[rip]
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	r8d, 4
	mov	DWORD PTR 96[rsp], 40
	mov	DWORD PTR 124[rsp], eax
	mov	eax, DWORD PTR AF_SYS_CONTROL[rip]
	mov	QWORD PTR 104[rsp], 0
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	DWORD PTR 120[rsp], eax
	mov	eax, DWORD PTR 64[rsp]
	mov	DWORD PTR 116[rsp], eax
	call	setsockopt@PLT
	xor	edx, edx
	mov	esi, r13d
	mov	edi, eax
	call	T_EXPECT_POSIX_FAILURE@PLT
	mov	edx, DWORD PTR g_OPT_ENABLE_FLOWSWITCH[rip]
	mov	rcx, r15
	mov	edi, ebp
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	r8d, 4
	call	setsockopt@PLT
	xor	edx, edx
	mov	esi, r13d
	mov	edi, eax
	call	T_EXPECT_POSIX_FAILURE@PLT
	mov	edx, DWORD PTR g_OPT_ENABLE_CHANNEL[rip]
	mov	rcx, r14
	mov	edi, ebp
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	r8d, 4
	mov	r13d, DWORD PTR EINVAL[rip]
	call	setsockopt@PLT
	xor	edx, edx
	mov	esi, r13d
	xor	r13d, r13d
	mov	edi, eax
	call	T_EXPECT_POSIX_FAILURE@PLT
	mov	edi, r13d
	call	uuid_clear@PLT
	mov	r8, QWORD PTR [rsp]
	mov	ecx, r13d
	mov	edi, ebp
	mov	r10d, DWORD PTR EINVAL[rip]
	mov	edx, DWORD PTR g_OPT_GET_CHANNEL_UUID[rip]
	mov	DWORD PTR 44[rsp], 4
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	DWORD PTR 16[rsp], r10d
	call	getsockopt@PLT
	mov	r10d, DWORD PTR 16[rsp]
	xor	edx, edx
	mov	edi, eax
	mov	esi, r10d
	call	T_EXPECT_POSIX_FAILURE@PLT
	movsx	rdi, DWORD PTR 44[rsp]
	xor	edx, edx
	mov	esi, 4
	call	T_EXPECT_EQ_ULONG@PLT
	mov	edi, r13d
	call	uuid_is_null@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_TRUE@PLT
	mov	edx, 40
	mov	rsi, rbx
	mov	edi, ebp
	call	bind@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_POSIX_ZERO@PLT
	mov	edx, DWORD PTR g_OPT_ENABLE_NETIF[rip]
	mov	rcx, r12
	mov	edi, ebp
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	r8d, 4
	call	setsockopt@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_POSIX_ZERO@PLT
	mov	edx, DWORD PTR g_OPT_ENABLE_FLOWSWITCH[rip]
	mov	rcx, r15
	mov	edi, ebp
	mov	r10d, DWORD PTR EINVAL[rip]
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	r8d, 4
	mov	DWORD PTR 16[rsp], r10d
	call	setsockopt@PLT
	mov	r10d, DWORD PTR 16[rsp]
	xor	edx, edx
	mov	edi, eax
	mov	esi, r10d
	call	T_EXPECT_POSIX_FAILURE@PLT
	mov	edx, DWORD PTR g_OPT_ENABLE_CHANNEL[rip]
	mov	rcx, r14
	mov	edi, ebp
	mov	r10d, DWORD PTR EINVAL[rip]
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	r8d, 4
	mov	DWORD PTR 16[rsp], r10d
	call	setsockopt@PLT
	mov	r10d, DWORD PTR 16[rsp]
	xor	edx, edx
	mov	edi, eax
	mov	esi, r10d
	call	T_EXPECT_POSIX_FAILURE@PLT
	mov	edi, r13d
	call	uuid_clear@PLT
	mov	r8, QWORD PTR [rsp]
	mov	ecx, r13d
	mov	edi, ebp
	mov	r10d, DWORD PTR ENXIO[rip]
	mov	edx, DWORD PTR g_OPT_GET_CHANNEL_UUID[rip]
	mov	DWORD PTR 44[rsp], 4
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	DWORD PTR 16[rsp], r10d
	call	getsockopt@PLT
	mov	r10d, DWORD PTR 16[rsp]
	xor	edx, edx
	mov	edi, eax
	mov	esi, r10d
	call	T_EXPECT_POSIX_FAILURE@PLT
	movsx	rdi, DWORD PTR 44[rsp]
	xor	edx, edx
	mov	esi, 4
	call	T_EXPECT_EQ_ULONG@PLT
	mov	edi, r13d
	call	uuid_is_null@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_TRUE@PLT
	mov	edx, 40
	mov	rsi, rbx
	mov	edi, ebp
	call	connect@PLT
	cmp	eax, -1
	je	.L15
.L3:
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	T_EXPECT_POSIX_ZERO@PLT
	mov	edx, DWORD PTR g_OPT_ENABLE_NETIF[rip]
	mov	rcx, r12
	mov	edi, ebp
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	r8d, 4
	call	setsockopt@PLT
	xor	edx, edx
	mov	esi, r13d
	mov	edi, eax
	call	T_EXPECT_POSIX_FAILURE@PLT
	xor	eax, eax
	call	get_skywalk_features@PLT
	test	DWORD PTR SK_FEATURE_NETNS[rip], eax
	je	.L4
	mov	edi, DWORD PTR 28[rsp]
	mov	edx, DWORD PTR g_OPT_ENABLE_FLOWSWITCH[rip]
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	test	edi, edi
	jne	.L16
	mov	r12d, DWORD PTR ENOENT[rip]
	mov	r8d, 4
	mov	rcx, r15
.L12:
	mov	edi, ebp
	call	setsockopt@PLT
	xor	edx, edx
	mov	esi, r12d
	mov	edi, eax
	call	T_EXPECT_POSIX_FAILURE@PLT
.L6:
	mov	ecx, DWORD PTR 20[rsp]
	mov	edx, DWORD PTR g_OPT_ENABLE_CHANNEL[rip]
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	test	ecx, ecx
	je	.L7
	cmp	QWORD PTR g_is_ipsec_test[rip], 0
	je	.L8
	mov	eax, DWORD PTR 28[rsp]
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	test	eax, eax
	je	.L13
.L8:
	mov	r8d, 4
	mov	rcx, r14
	mov	edi, ebp
	xor	r13d, r13d
	call	setsockopt@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_POSIX_ZERO@PLT
	mov	edi, r13d
	call	uuid_clear@PLT
	mov	r8, QWORD PTR [rsp]
	mov	ecx, r13d
	mov	edi, ebp
	mov	edx, DWORD PTR g_OPT_GET_CHANNEL_UUID[rip]
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	DWORD PTR 44[rsp], 4
	call	getsockopt@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_POSIX_ZERO@PLT
	movsx	rdi, DWORD PTR 44[rsp]
	mov	esi, 4
	xor	edx, edx
	call	T_EXPECT_EQ_ULONG@PLT
	mov	edi, r13d
	call	uuid_is_null@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_FALSE@PLT
.L9:
	mov	ecx, DWORD PTR 20[rsp]
	mov	edx, DWORD PTR 24[rsp]
	xor	r8d, r8d
	mov	edi, ebp
	mov	esi, DWORD PTR 28[rsp]
	call	check_enables@PLT
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, ebp
	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
.L16:
	.cfi_restore_state
	mov	edi, ebp
	mov	r8d, 4
	mov	rcx, r15
	call	setsockopt@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_POSIX_ZERO@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r12d, DWORD PTR ENXIO[rip]
.L13:
	mov	rcx, r14
	mov	r8d, 4
	mov	edi, ebp
	xor	r13d, r13d
	call	setsockopt@PLT
	xor	edx, edx
	mov	esi, r12d
	mov	edi, eax
	call	T_EXPECT_POSIX_FAILURE@PLT
	mov	edi, r13d
	call	uuid_clear@PLT
	mov	r8, QWORD PTR [rsp]
	mov	ecx, r13d
	mov	edi, ebp
	mov	edx, DWORD PTR g_OPT_GET_CHANNEL_UUID[rip]
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	mov	DWORD PTR 44[rsp], 4
	mov	r12d, DWORD PTR ENXIO[rip]
	call	getsockopt@PLT
	xor	edx, edx
	mov	esi, r12d
	mov	edi, eax
	call	T_EXPECT_POSIX_FAILURE@PLT
	movsx	rdi, DWORD PTR 44[rsp]
	xor	edx, edx
	mov	esi, 4
	call	T_EXPECT_EQ_ULONG@PLT
	mov	edi, r13d
	call	uuid_is_null@PLT
	xor	esi, esi
	mov	edi, eax
	call	T_EXPECT_TRUE@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12d, DWORD PTR ENOTSUP[rip]
	mov	edx, DWORD PTR g_OPT_ENABLE_FLOWSWITCH[rip]
	mov	r8d, 4
	mov	rcx, r15
	mov	esi, DWORD PTR SYSPROTO_CONTROL[rip]
	jmp	.L12
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	create_tunsock, .-create_tunsock
	.comm	g_is_ipsec_test,8,8
	.comm	g_OPT_GET_CHANNEL_UUID,4,4
	.comm	g_OPT_ENABLE_NETIF,4,4
	.comm	g_OPT_ENABLE_FLOWSWITCH,4,4
	.comm	g_OPT_ENABLE_CHANNEL,4,4
	.comm	g_CONTROL_NAME,4,4
	.comm	errno,8,8
	.comm	T_WITH_ERRNO,4,4
	.comm	T_QUIET,4,4
	.comm	SYSPROTO_CONTROL,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	SK_FEATURE_NETNS,4,4
	.comm	PF_SYSTEM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENXIO,4,4
	.comm	ENOTSUP,4,4
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,8,8
	.comm	CTLIOCGINFO,4,4
	.comm	AF_SYS_CONTROL,4,4
	.comm	AF_SYSTEM,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_net_tuntests.c_create_tunsock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"connect got EBUSY, sleeping 1 second before retry\000"
	.align	2
.LC1:
	.ascii	"connect()\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_tunsock, %function
create_tunsock:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L21
	sub	sp, sp, #92
	ldr	r3, [r3]
	str	r3, [sp, #84]
	mov	r3,#0
	ldr	r7, .L21+4
	ldr	r9, .L21+8
	ldr	fp, .L21+12
	str	r0, [sp, #20]
	str	r1, [sp, #16]
	str	r2, [sp, #12]
	b	.L2
.L17:
	ldr	r3, .L21+16
	ldr	r2, [r3]
	ldr	r3, .L21+20
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	mov	r0, r5
	bl	close
	ldr	r0, .L21+24
	bl	T_LOG
	mov	r0, #1
	bl	sleep
.L2:
	ldr	r3, .L21+28
	ldr	r2, [r7]
	ldr	r1, [r3]
	ldr	r3, .L21+32
	mov	r4, #0
	ldr	r0, [r3]
	bl	socket
	mov	r6, #4
	mov	r5, r0
	mov	r10, #28
	mov	r1, r4
	bl	T_EXPECT_POSIX_SUCCESS
	ldr	r3, .L21+36
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r4
	str	r4, [sp, #28]
	str	r4, [sp, #32]
	str	r4, [sp, #36]
	str	r4, [sp, #40]
	str	r4, [sp, #44]
	str	r4, [sp, #48]
	str	r4, [sp, #52]
	bl	strlcpy
	ldr	r3, .L21+40
	add	r2, sp, r10
	ldr	r1, [r3]
	mov	r0, r5
	bl	ioctl
	mov	r1, r4
	bl	T_EXPECT_POSIX_ZERO
	ldr	r3, .L21+44
	ldr	ip, [sp, #36]
	ldr	r2, [r3]
	ldr	r3, .L21+48
	str	r2, [sp, #76]
	ldr	r1, [r3]
	ldr	r2, .L21+52
	str	r6, [sp]
	add	r3, sp, #20
	ldr	r2, [r2]
	str	r1, [sp, #72]
	mov	r0, r5
	ldr	r1, [r7]
	str	ip, [sp, #68]
	str	r4, [sp, #64]
	str	r4, [sp, #80]
	str	r4, [sp, #60]
	str	r10, [sp, #56]
	bl	setsockopt
	mov	r2, r4
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	ldr	r1, .L21+56
	str	r6, [sp]
	ldr	r2, [r1]
	add	r3, sp, #16
	ldr	r1, [r7]
	mov	r0, r5
	bl	setsockopt
	mov	r2, r4
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	add	r3, sp, #12
	ldr	r2, [fp]
	ldr	r1, [r7]
	mov	r0, r5
	str	r6, [sp]
	bl	setsockopt
	mov	r2, r4
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	mov	r0, r4
	bl	uuid_clear
	ldr	ip, .L21+60
	add	r3, sp, #24
	str	r3, [sp]
	ldr	r2, [ip]
	mov	r3, r4
	ldr	r1, [r7]
	mov	r0, r5
	str	r6, [sp, #24]
	bl	getsockopt
	mov	r2, r4
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	mov	r2, r4
	mov	r1, r6
	ldr	r0, [sp, #24]
	bl	T_EXPECT_EQ_ULONG
	mov	r0, r4
	bl	uuid_is_null
	mov	r1, r4
	bl	T_EXPECT_TRUE
	add	r3, sp, #56
	mov	r1, r3
	mov	r2, r10
	mov	r0, r5
	bl	bind
	mov	r1, r4
	bl	T_EXPECT_POSIX_ZERO
	ldr	r2, .L21+52
	str	r6, [sp]
	ldr	r2, [r2]
	add	r3, sp, #20
	ldr	r1, [r7]
	mov	r0, r5
	bl	setsockopt
	mov	r1, r4
	bl	T_EXPECT_POSIX_ZERO
	ldr	r1, .L21+56
	str	r6, [sp]
	ldr	r2, [r1]
	add	r3, sp, #16
	ldr	r1, [r7]
	mov	r0, r5
	bl	setsockopt
	mov	r2, r4
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	add	r3, sp, #12
	ldr	r2, [fp]
	ldr	r1, [r7]
	mov	r0, r5
	str	r6, [sp]
	bl	setsockopt
	mov	r2, r4
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	mov	r0, r4
	bl	uuid_clear
	ldr	ip, .L21+60
	add	r3, sp, #24
	str	r3, [sp]
	ldr	r2, [ip]
	mov	r3, r4
	ldr	r1, [r7]
	mov	r0, r5
	str	r6, [sp, #24]
	bl	getsockopt
	ldr	r3, .L21+64
	mov	r2, r4
	ldr	r1, [r3]
	bl	T_EXPECT_POSIX_FAILURE
	mov	r2, r4
	mov	r1, r6
	ldr	r0, [sp, #24]
	bl	T_EXPECT_EQ_ULONG
	mov	r0, r4
	bl	uuid_is_null
	mov	r1, r4
	bl	T_EXPECT_TRUE
	mov	r2, r10
	mov	r0, r5
	add	r1, sp, #56
	bl	connect
	cmn	r0, #1
	beq	.L17
.L3:
	mov	r4, #4
	ldr	r1, .L21+68
	bl	T_EXPECT_POSIX_ZERO
	ldr	r2, .L21+52
	add	r3, sp, #20
	ldr	r2, [r2]
	ldr	r1, [r7]
	mov	r0, r5
	str	r4, [sp]
	bl	setsockopt
	mov	r2, #0
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	bl	get_skywalk_features
	ldr	r3, .L21+72
	ldr	r3, [r3]
	ands	r6, r0, r3
	beq	.L4
	ldr	r6, [sp, #20]
	ldr	r3, .L21+56
	cmp	r6, #0
	ldr	r2, [r3]
	mov	r0, r5
	ldr	r1, [r7]
	str	r4, [sp]
	add	r3, sp, #16
	bne	.L18
	bl	setsockopt
	ldr	r3, .L21+76
	mov	r2, r6
	ldr	r1, [r3]
	bl	T_EXPECT_POSIX_FAILURE
.L6:
	ldr	r6, [sp, #12]
	ldr	r2, [fp]
	cmp	r6, #0
	ldr	r1, [r7]
	beq	.L7
	ldr	r3, .L21+80
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r6, [sp, #20]
	cmp	r6, #0
	beq	.L19
.L8:
	mov	r6, #4
	mov	r4, #0
	add	r3, sp, #12
	mov	r0, r5
	str	r6, [sp]
	bl	setsockopt
	mov	r1, r4
	bl	T_EXPECT_POSIX_ZERO
	mov	r0, r4
	bl	uuid_clear
	add	r3, sp, #24
	str	r3, [sp]
	ldr	r3, .L21+60
	ldr	r1, [r7]
	ldr	r2, [r3]
	mov	r0, r5
	mov	r3, r4
	str	r6, [sp, #24]
	bl	getsockopt
	mov	r1, r4
	bl	T_EXPECT_POSIX_ZERO
	mov	r1, r6
	mov	r2, r4
	ldr	r0, [sp, #24]
	bl	T_EXPECT_EQ_ULONG
	mov	r0, r4
	bl	uuid_is_null
	mov	r1, r4
	bl	T_EXPECT_FALSE
.L9:
	mov	r4, #0
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #16]
	mov	r0, r5
	ldr	r1, [sp, #20]
	str	r4, [sp]
	bl	check_enables
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #84]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, r5
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	bl	setsockopt
	mov	r1, #0
	bl	T_EXPECT_POSIX_ZERO
	b	.L6
.L7:
	mov	r8, #4
	mov	r4, #0
	ldr	r9, .L21+64
	add	r3, sp, #12
	mov	r0, r5
	str	r8, [sp]
	bl	setsockopt
	mov	r2, r6
	ldr	r1, [r9]
	bl	T_EXPECT_POSIX_FAILURE
	mov	r0, r4
	bl	uuid_clear
	add	r3, sp, #24
	str	r3, [sp]
	ldr	r3, .L21+60
	ldr	r1, [r7]
	ldr	r2, [r3]
	mov	r0, r5
	mov	r3, r4
	str	r8, [sp, #24]
	bl	getsockopt
	mov	r2, r6
	ldr	r1, [r9]
.L15:
	bl	T_EXPECT_POSIX_FAILURE
	mov	r1, r8
	mov	r2, r6
	ldr	r0, [sp, #24]
	bl	T_EXPECT_EQ_ULONG
	mov	r0, r4
	bl	uuid_is_null
	mov	r1, r6
	bl	T_EXPECT_TRUE
	b	.L9
.L4:
	ldr	r2, .L21+56
	str	r4, [sp]
	ldr	r1, [r7]
	add	r3, sp, #16
	mov	r0, r5
	ldr	r2, [r2]
	bl	setsockopt
	ldr	r3, .L21+84
	mov	r2, r6
	ldr	r1, [r3]
	bl	T_EXPECT_POSIX_FAILURE
	b	.L6
.L19:
	mov	r8, #4
	mov	r4, #0
	add	r3, sp, #12
	mov	r0, r5
	str	r8, [sp]
	bl	setsockopt
	ldr	r3, .L21+88
	mov	r2, r6
	ldr	r1, [r3]
	bl	T_EXPECT_POSIX_FAILURE
	mov	r0, r4
	bl	uuid_clear
	add	r3, sp, #24
	str	r3, [sp]
	ldr	r3, .L21+60
	ldr	r1, [r7]
	ldr	r2, [r3]
	mov	r0, r5
	mov	r3, r4
	str	r8, [sp, #24]
	bl	getsockopt
	ldr	r3, .L21+64
	mov	r2, r6
	ldr	r1, [r3]
	b	.L15
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	SYSPROTO_CONTROL
	.word	EINVAL
	.word	g_OPT_ENABLE_CHANNEL
	.word	errno
	.word	EBUSY
	.word	.LC0
	.word	SOCK_DGRAM
	.word	PF_SYSTEM
	.word	g_CONTROL_NAME
	.word	CTLIOCGINFO
	.word	AF_SYSTEM
	.word	AF_SYS_CONTROL
	.word	g_OPT_ENABLE_NETIF
	.word	g_OPT_ENABLE_FLOWSWITCH
	.word	g_OPT_GET_CHANNEL_UUID
	.word	ENXIO
	.word	.LC1
	.word	SK_FEATURE_NETNS
	.word	ENOENT
	.word	g_is_ipsec_test
	.word	ENOTSUP
	.word	EOPNOTSUPP
	.size	create_tunsock, .-create_tunsock
	.comm	g_is_ipsec_test,4,4
	.comm	g_OPT_GET_CHANNEL_UUID,4,4
	.comm	g_OPT_ENABLE_NETIF,4,4
	.comm	g_OPT_ENABLE_FLOWSWITCH,4,4
	.comm	g_OPT_ENABLE_CHANNEL,4,4
	.comm	g_CONTROL_NAME,4,4
	.comm	errno,4,4
	.comm	T_WITH_ERRNO,4,4
	.comm	T_QUIET,4,4
	.comm	SYSPROTO_CONTROL,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	SK_FEATURE_NETNS,4,4
	.comm	PF_SYSTEM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENXIO,4,4
	.comm	ENOTSUP,4,4
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.comm	CTLIOCGINFO,4,4
	.comm	AF_SYS_CONTROL,4,4
	.comm	AF_SYSTEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
