	.file	"extr_vector_transports.c_build_l2tpv3_transport_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"v6"
.LC1:
	.string	"rx_session"
.LC2:
	.string	"tx_session"
.LC3:
	.string	"cookie64"
.LC4:
	.string	"rx_cookie"
.LC5:
	.string	"tx_cookie"
.LC6:
	.string	"counter"
.LC7:
	.string	"pin_counter"
.LC8:
	.string	"udp"
	.text
	.p2align 4
	.type	build_l2tpv3_transport_data, @function
build_l2tpv3_transport_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, 80
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	kmalloc@PLT
	mov	QWORD PTR 32[rbp], rax
	test	rax, rax
	je	.L27
	mov	rbx, rax
	lea	rax, l2tpv3_form_header[rip]
	lea	r12, 12[rsp]
	mov	QWORD PTR 24[rbp], rax
	lea	rax, l2tpv3_verify_header[rip]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 16[rbp], rax
	movabs	rax, 17179869188
	mov	QWORD PTR 72[rbx], 0
	mov	DWORD PTR 0[rbp], 4
	mov	QWORD PTR [rbx], rax
	mov	edi, DWORD PTR 8[rbp]
	mov	QWORD PTR 32[rbx], 0
	mov	DWORD PTR 8[rbx], 0
	call	get_uint_param@PLT
	test	rax, rax
	je	.L4
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jle	.L4
	mov	DWORD PTR 8[rbx], 1
.L4:
	mov	edi, DWORD PTR 8[rbp]
	lea	rdx, 16[rsp]
	lea	rsi, .LC1[rip]
	call	get_uint_param@PLT
	test	rax, rax
	jne	.L28
.L10:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L29
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L28:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	lea	rdx, 20[rsp]
	lea	rsi, .LC2[rip]
	call	get_uint_param@PLT
	test	rax, rax
	je	.L10
	movsx	rdi, DWORD PTR 20[rsp]
	call	cpu_to_be32@PLT
	movsx	rdi, DWORD PTR 16[rsp]
	mov	QWORD PTR 64[rbx], rax
	call	cpu_to_be32@PLT
	mov	DWORD PTR 12[rbx], 0
	mov	edi, DWORD PTR 8[rbp]
	mov	rdx, r12
	mov	QWORD PTR 56[rbx], rax
	lea	rsi, .LC3[rip]
	call	get_uint_param@PLT
	test	rax, rax
	je	.L8
	mov	r11d, DWORD PTR 12[rsp]
	test	r11d, r11d
	jle	.L8
	mov	DWORD PTR 12[rbx], 1
.L8:
	mov	DWORD PTR 16[rbx], 0
	mov	edi, DWORD PTR 8[rbp]
	lea	rdx, 24[rsp]
	lea	rsi, .LC4[rip]
	call	get_ulong_param@PLT
	test	rax, rax
	je	.L9
	mov	edi, DWORD PTR 8[rbp]
	lea	rdx, 32[rsp]
	lea	rsi, .LC5[rip]
	call	get_ulong_param@PLT
	test	rax, rax
	je	.L10
	mov	r10d, DWORD PTR 12[rbx]
	mov	rdi, QWORD PTR 24[rsp]
	mov	DWORD PTR 16[rbx], 1
	test	r10d, r10d
	je	.L11
	call	cpu_to_be64@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	QWORD PTR 48[rbx], rax
	call	cpu_to_be64@PLT
	mov	QWORD PTR 40[rbx], rax
	add	DWORD PTR 0[rbp], 8
	add	DWORD PTR 4[rbx], 8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	DWORD PTR 20[rbx], 0
	mov	edi, DWORD PTR 8[rbp]
	mov	rdx, r12
	lea	rsi, .LC6[rip]
	call	get_uint_param@PLT
	mov	edi, DWORD PTR 8[rbp]
	test	rax, rax
	je	.L13
	mov	r9d, DWORD PTR 12[rsp]
	test	r9d, r9d
	jg	.L30
.L13:
	mov	rdx, r12
	lea	rsi, .LC8[rip]
	call	get_uint_param@PLT
	mov	edx, DWORD PTR 0[rbp]
	test	rax, rax
	je	.L16
	mov	esi, DWORD PTR 12[rsp]
	test	esi, esi
	jle	.L16
	add	edx, 4
	mov	DWORD PTR 28[rbx], 1
	mov	DWORD PTR 0[rbp], edx
	add	DWORD PTR 4[rbx], 4
	add	QWORD PTR 32[rbx], 4
	add	DWORD PTR [rbx], 4
.L16:
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 4[rbp], edx
	test	eax, eax
	jne	.L18
	mov	ecx, DWORD PTR 28[rbx]
	test	ecx, ecx
	jne	.L1
	add	edx, 4
	mov	DWORD PTR 4[rbp], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L30:
	mov	DWORD PTR 20[rbx], 1
	mov	rdx, r12
	lea	rsi, .LC7[rip]
	add	DWORD PTR 0[rbp], 4
	call	get_uint_param@PLT
	mov	edi, DWORD PTR 8[rbp]
	test	rax, rax
	je	.L13
	mov	r8d, DWORD PTR 12[rsp]
	test	r8d, r8d
	jle	.L13
	mov	DWORD PTR 24[rbx], 1
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	QWORD PTR 48[rbx], rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 40[rbx], rax
	add	DWORD PTR 0[rbp], 4
	add	DWORD PTR 4[rbx], 4
	jmp	.L9
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	build_l2tpv3_transport_data, .-build_l2tpv3_transport_data
	.comm	l2tpv3_verify_header,4,4
	.comm	l2tpv3_form_header,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_vector_transports.c_build_l2tpv3_transport_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"v6\000"
	.align	2
.LC1:
	.ascii	"rx_session\000"
	.align	2
.LC2:
	.ascii	"tx_session\000"
	.align	2
.LC3:
	.ascii	"cookie64\000"
	.align	2
.LC4:
	.ascii	"rx_cookie\000"
	.align	2
.LC5:
	.ascii	"tx_cookie\000"
	.align	2
.LC6:
	.ascii	"counter\000"
	.align	2
.LC7:
	.ascii	"pin_counter\000"
	.align	2
.LC8:
	.ascii	"udp\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_l2tpv3_transport_data, %function
build_l2tpv3_transport_data:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L32
	mov	r5, r0
	ldr	r1, [r3]
	ldr	r3, .L32+4
	sub	sp, sp, #24
	mov	r0, #56
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r5, #20]
	beq	.L28
	mov	r4, r0
	mov	r3, #0
	mov	r1, #4
	ldr	r0, .L32+8
	ldr	r2, .L32+12
	str	r0, [r5, #16]
	str	r2, [r5, #12]
	ldr	r0, [r5, #8]
	str	r3, [r4, #52]
	mov	r2, sp
	str	r1, [r5]
	stmib	r4, {r1, r3}
	str	r1, [r4]
	str	r3, [r4, #32]
	ldr	r1, .L32+16
	bl	get_uint_param
	cmp	r0, #0
	beq	.L4
	ldr	r3, [sp]
	cmp	r3, #0
	movgt	r3, #1
	strgt	r3, [r4, #8]
.L4:
	ldr	r1, .L32+20
	ldr	r0, [r5, #8]
	add	r2, sp, #4
	bl	get_uint_param
	cmp	r0, #0
	bne	.L29
.L10:
	ldr	r3, .L32+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L32+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L29:
	ldr	r1, .L32+28
	ldr	r0, [r5, #8]
	add	r2, sp, #8
	bl	get_uint_param
	cmp	r0, #0
	beq	.L10
	ldr	r0, [sp, #8]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [sp, #4]
	str	r3, [r4, #48]
	bl	cpu_to_be32
	mov	r3, #0
	str	r0, [r4, #44]
	mov	r2, sp
	ldr	r1, .L32+32
	ldr	r0, [r5, #8]
	str	r3, [r4, #12]
	bl	get_uint_param
	cmp	r0, #0
	beq	.L8
	ldr	r3, [sp]
	cmp	r3, #0
	movgt	r3, #1
	strgt	r3, [r4, #12]
.L8:
	mov	r3, #0
	ldr	r1, .L32+36
	ldr	r0, [r5, #8]
	add	r2, sp, #12
	str	r3, [r4, #16]
	bl	get_ulong_param
	cmp	r0, #0
	beq	.L9
	ldr	r1, .L32+40
	ldr	r0, [r5, #8]
	add	r2, sp, #16
	bl	get_ulong_param
	cmp	r0, #0
	beq	.L10
	mov	r2, #1
	ldr	r3, [r4, #12]
	ldr	r0, [sp, #12]
	cmp	r3, #0
	str	r2, [r4, #16]
	beq	.L11
	bl	cpu_to_be64
	mov	r3, r0
	ldr	r0, [sp, #16]
	str	r3, [r4, #40]
	bl	cpu_to_be64
	ldr	r2, [r5]
	ldr	r3, [r4, #4]
	add	r2, r2, #8
	add	r3, r3, #8
	str	r0, [r4, #36]
	str	r2, [r5]
	str	r3, [r4, #4]
.L9:
	mov	r3, #0
	mov	r2, sp
	ldr	r1, .L32+44
	ldr	r0, [r5, #8]
	str	r3, [r4, #20]
	bl	get_uint_param
	cmp	r0, #0
	beq	.L26
	ldr	r3, [sp]
	ldr	r0, [r5, #8]
	cmp	r3, #0
	bgt	.L31
.L13:
	mov	r2, sp
	ldr	r1, .L32+48
	bl	get_uint_param
	cmp	r0, #0
	bne	.L15
	ldr	r3, [r5]
.L16:
	ldr	r0, [r4, #8]
	str	r3, [r5, #4]
	cmp	r0, #0
	movne	r0, #0
	bne	.L1
	ldr	r2, [r4, #28]
	cmp	r2, #0
	addeq	r3, r3, #4
	streq	r3, [r5, #4]
	b	.L1
.L28:
	ldr	r3, .L32+52
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L26:
	ldr	r0, [r5, #8]
	b	.L13
.L15:
	ldr	r2, [sp]
	ldr	r3, [r5]
	cmp	r2, #0
	ble	.L16
	mov	ip, #1
	ldr	r0, [r4, #4]
	ldr	r1, [r4, #32]
	ldr	r2, [r4]
	add	r3, r3, #4
	add	r0, r0, #4
	add	r1, r1, #4
	add	r2, r2, #4
	str	ip, [r4, #28]
	str	r3, [r5]
	str	r0, [r4, #4]
	str	r1, [r4, #32]
	str	r2, [r4]
	b	.L16
.L31:
	mov	r6, #1
	ldr	r3, [r5]
	mov	r2, sp
	add	r3, r3, #4
	str	r6, [r4, #20]
	ldr	r1, .L32+56
	str	r3, [r5]
	bl	get_uint_param
	cmp	r0, #0
	beq	.L26
	ldr	r3, [sp]
	ldr	r0, [r5, #8]
	cmp	r3, #0
	strgt	r6, [r4, #24]
	b	.L13
.L11:
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [sp, #16]
	str	r3, [r4, #40]
	bl	cpu_to_be32
	ldr	r2, [r5]
	ldr	r3, [r4, #4]
	add	r2, r2, #4
	add	r3, r3, #4
	str	r0, [r4, #36]
	str	r2, [r5]
	str	r3, [r4, #4]
	b	.L9
.L30:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	GFP_KERNEL
	.word	.LC9
	.word	l2tpv3_form_header
	.word	l2tpv3_verify_header
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC8
	.word	ENOMEM
	.word	.LC7
	.size	build_l2tpv3_transport_data, .-build_l2tpv3_transport_data
	.comm	l2tpv3_verify_header,4,4
	.comm	l2tpv3_form_header,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
