	.file	"extr_ip_dummynet.c_ip_dn_ctl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dummynet: unknown option %d"
.LC1:
	.string	"dummynet: compat option %d"
.LC2:
	.string	"argument len %d invalid"
	.text
	.p2align 4
	.type	ip_dn_ctl, @function
ip_dn_ctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 16[rdi]
	mov	esi, DWORD PTR PRIV_NETINET_DUMMYNET[rip]
	call	priv_check@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR SOPT_SET[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L3
.L8:
	mov	esi, DWORD PTR 8[rbp]
	cmp	esi, 131
	jle	.L20
	cmp	esi, 132
	jne	.L6
	mov	rax, QWORD PTR SOPT_GET[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L21
	mov	r13d, DWORD PTR 12[rbp]
	cmp	r13d, 3
	jbe	.L14
	cmp	r13d, 12000
	jg	.L14
	mov	edx, DWORD PTR M_WAITOK[rip]
	mov	esi, DWORD PTR M_TEMP[rip]
	mov	edi, r13d
	call	malloc@PLT
	mov	ecx, r13d
	mov	edx, r13d
	mov	rdi, rbp
	mov	rsi, rax
	mov	r14, rax
	call	sooptcopyin@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L22
.L12:
	test	r14, r14
	je	.L1
	mov	esi, DWORD PTR M_TEMP[rip]
	mov	rdi, r14
	call	free@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	cmp	esi, 127
	jg	.L23
.L6:
	lea	rdi, .LC0[rip]
	call	D@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	D@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ip_dummynet_compat@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, 3
	mov	edi, DWORD PTR [rax]
	call	securelevel_ge@PLT
	test	eax, eax
	je	.L8
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, r13d
	lea	rdi, .LC2[rip]
	call	D@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	dummynet_get@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	esi, r13d
	mov	rdi, r14
	call	do_config@PLT
	mov	r12d, eax
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	ip_dn_ctl, .-ip_dn_ctl
	.comm	SOPT_SET,8,8
	.comm	SOPT_GET,8,8
	.comm	PRIV_NETINET_DUMMYNET,4,4
	.comm	M_WAITOK,4,4
	.comm	M_TEMP,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_ip_dummynet.c_ip_dn_ctl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dummynet: unknown option %d\000"
	.align	2
.LC1:
	.ascii	"dummynet: compat option %d\000"
	.align	2
.LC2:
	.ascii	"argument len %d invalid\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip_dn_ctl, %function
ip_dn_ctl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	mov	r4, r0
	ldr	r0, [r0, #12]
	bl	priv_check
	subs	r5, r0, #0
	bne	.L1
	ldr	r3, .L22+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
.L8:
	ldr	r1, [r4, #4]
	cmp	r1, #131
	ble	.L18
	cmp	r1, #132
	bne	.L6
	ldr	r3, .L22+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L19
	ldr	r2, .L22+12
	ldr	r6, [r4, #8]
	cmp	r6, r2
	movle	r2, #0
	movgt	r2, #1
	cmp	r6, #3
	orrls	r2, r2, #1
	cmp	r2, #0
	beq	.L10
	mov	r1, r6
	ldr	r0, .L22+16
	bl	D
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	cmp	r1, #127
	bgt	.L20
.L6:
	ldr	r0, .L22+20
	bl	D
	ldr	r3, .L22+24
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	ldr	r0, .L22+28
	bl	D
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	ip_dummynet_compat
.L3:
	ldr	r3, [r4, #12]
	mov	r1, #3
	ldr	r0, [r3]
	bl	securelevel_ge
	cmp	r0, #0
	beq	.L8
	mov	r5, r0
	b	.L1
.L10:
	ldr	r3, .L22+32
	ldr	r8, .L22+36
	ldr	r2, [r3]
	ldr	r1, [r8]
	mov	r0, r6
	bl	malloc
	mov	r7, r0
	mov	r3, r6
	mov	r0, r4
	mov	r1, r7
	mov	r2, r6
	bl	sooptcopyin
	subs	r5, r0, #0
	beq	.L21
.L11:
	cmp	r7, #0
	beq	.L1
	mov	r0, r7
	ldr	r1, [r8]
	bl	free
	b	.L1
.L19:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #0
	b	dummynet_get
.L21:
	mov	r1, r6
	mov	r0, r7
	bl	do_config
	mov	r5, r0
	b	.L11
.L23:
	.align	2
.L22:
	.word	PRIV_NETINET_DUMMYNET
	.word	SOPT_SET
	.word	SOPT_GET
	.word	12000
	.word	.LC2
	.word	.LC0
	.word	EINVAL
	.word	.LC1
	.word	M_WAITOK
	.word	M_TEMP
	.size	ip_dn_ctl, .-ip_dn_ctl
	.comm	SOPT_SET,4,4
	.comm	SOPT_GET,4,4
	.comm	PRIV_NETINET_DUMMYNET,4,4
	.comm	M_WAITOK,4,4
	.comm	M_TEMP,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
