	.file	"extr_l2tp_netlink.c_l2tp_nl_cmd_tunnel_modify.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	l2tp_nl_cmd_tunnel_modify, @function
l2tp_nl_cmd_tunnel_modify:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	call	genl_info_net@PLT
	mov	rdx, QWORD PTR L2TP_ATTR_CONN_ID[rip]
	mov	r12, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rax+rdx*8]
	test	rdi, rdi
	jne	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	nla_get_u32@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	l2tp_tunnel_get@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	mov	r13, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR L2TP_ATTR_DEBUG[rip]
	mov	rdi, QWORD PTR [rax+rdx*8]
	test	rdi, rdi
	jne	.L11
.L5:
.L3:
	endbr64
	mov	ecx, DWORD PTR L2TP_CMD_TUNNEL_MODIFY[rip]
	mov	rdx, r13
	mov	rsi, rbp
	lea	rdi, l2tp_nl_family[rip]
	call	l2tp_tunnel_notify@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	l2tp_tunnel_dec_refcount@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	call	nla_get_u32@PLT
	mov	QWORD PTR 0[r13], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	l2tp_nl_cmd_tunnel_modify, .-l2tp_nl_cmd_tunnel_modify
	.comm	l2tp_nl_family,4,4
	.comm	L2TP_CMD_TUNNEL_MODIFY,4,4
	.comm	L2TP_ATTR_DEBUG,8,8
	.comm	L2TP_ATTR_CONN_ID,8,8
	.comm	ENODEV,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_l2tp_netlink.c_l2tp_nl_cmd_tunnel_modify.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	l2tp_nl_cmd_tunnel_modify, %function
l2tp_nl_cmd_tunnel_modify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r0, r1
	bl	genl_info_net
	ldr	r2, .L13
	ldr	r3, [r4]
	ldr	r2, [r2]
	mov	r5, r0
	ldr	r0, [r3, r2, lsl #2]
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L13+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	bl	nla_get_u32
	mov	r1, r0
	mov	r0, r5
	bl	l2tp_tunnel_get
	subs	r5, r0, #0
	beq	.L11
	ldr	r2, .L13+8
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r0, [r3, r2, lsl #2]
	cmp	r0, #0
	bne	.L12
.L5:
.L3:
	ldr	r3, .L13+12
	mov	r1, r4
	mov	r2, r5
	ldr	r3, [r3]
	ldr	r0, .L13+16
	bl	l2tp_tunnel_notify
	mov	r4, r0
	mov	r0, r5
	bl	l2tp_tunnel_dec_refcount
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	bl	nla_get_u32
	str	r0, [r5]
	b	.L5
.L11:
	ldr	r3, .L13+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L14:
	.align	2
.L13:
	.word	L2TP_ATTR_CONN_ID
	.word	EINVAL
	.word	L2TP_ATTR_DEBUG
	.word	L2TP_CMD_TUNNEL_MODIFY
	.word	l2tp_nl_family
	.word	ENODEV
	.size	l2tp_nl_cmd_tunnel_modify, .-l2tp_nl_cmd_tunnel_modify
	.comm	l2tp_nl_family,4,4
	.comm	L2TP_CMD_TUNNEL_MODIFY,4,4
	.comm	L2TP_ATTR_DEBUG,4,4
	.comm	L2TP_ATTR_CONN_ID,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
