	.file	"extr_meter.c_ovs_meter_cmd_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ovs_meter_cmd_get, @function
ovs_meter_cmd_get:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rdx, QWORD PTR OVS_METER_ATTR_ID[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rsi]
	mov	rdi, QWORD PTR [rax+rdx*8]
	test	rdi, rdi
	je	.L11
	mov	rbp, rsi
	mov	r15, QWORD PTR [rsi]
	call	nla_get_u32@PLT
	mov	esi, DWORD PTR OVS_METER_CMD_GET[rip]
	mov	rdi, rbp
	mov	rdx, rsp
	mov	r14d, eax
	call	ovs_meter_cmd_reply_start@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
	xor	eax, eax
	call	ovs_lock@PLT
	mov	edi, DWORD PTR [r12]
	mov	r15d, DWORD PTR [r15]
	call	sock_net@PLT
	mov	esi, r15d
	mov	edi, eax
	call	get_dp@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	mov	rdi, rax
	neg	r12d
	test	rax, rax
	je	.L6
	mov	esi, r14d
	call	lookup_meter@PLT
	mov	r12d, DWORD PTR ENOENT[rip]
	mov	r15, rax
	neg	r12d
	test	rax, rax
	je	.L6
	mov	rdi, rax
	call	spin_lock_bh@PLT
	mov	rdi, r13
	mov	rdx, r15
	mov	esi, r14d
	call	ovs_meter_cmd_reply_stats@PLT
	mov	rdi, r15
	mov	r12d, eax
	call	spin_unlock_bh@PLT
	test	r12d, r12d
	je	.L13
.L6:
	xor	eax, eax
	call	ovs_unlock@PLT
	mov	rdi, r13
	call	nlmsg_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r13
	call	PTR_ERR@PLT
	mov	r12d, eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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
.L11:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	xor	eax, eax
	call	ovs_unlock@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r13
	call	genlmsg_end@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	genlmsg_reply@PLT
	mov	r12d, eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ovs_meter_cmd_get, .-ovs_meter_cmd_get
	.comm	OVS_METER_CMD_GET,4,4
	.comm	OVS_METER_ATTR_ID,8,8
	.comm	ENOENT,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
	.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_meter.c_ovs_meter_cmd_get.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ovs_meter_cmd_get, %function
ovs_meter_cmd_get:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L17
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r1, #4]
	ldr	r2, [r2]
	mov	r5, r0
	ldr	r0, [r3, r2, lsl #2]
	ldr	r3, .L17+4
	sub	sp, sp, #8
	cmp	r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L11
	mov	r4, r1
	ldr	r7, [r1]
	bl	nla_get_u32
	ldr	r1, .L17+8
	mov	r2, sp
	ldr	r1, [r1]
	mov	r8, r0
	mov	r0, r4
	bl	ovs_meter_cmd_reply_start
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L12
	bl	ovs_lock
	ldr	r0, [r5]
	bl	sock_net
	ldr	r1, [r7]
	bl	get_dp
	cmp	r0, #0
	beq	.L13
	mov	r1, r8
	bl	lookup_meter
	subs	r7, r0, #0
	beq	.L14
	bl	spin_lock_bh
	mov	r2, r7
	mov	r1, r8
	mov	r0, r6
	bl	ovs_meter_cmd_reply_stats
	mov	r5, r0
	mov	r0, r7
	bl	spin_unlock_bh
	cmp	r5, #0
	beq	.L15
.L6:
	bl	ovs_unlock
	mov	r0, r6
	bl	nlmsg_free
	b	.L1
.L12:
	mov	r0, r6
	bl	PTR_ERR
	mov	r5, r0
.L1:
	ldr	r3, .L17+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L17+12
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L15:
	bl	ovs_unlock
	ldr	r1, [sp]
	mov	r0, r6
	bl	genlmsg_end
	mov	r1, r4
	mov	r0, r6
	bl	genlmsg_reply
	mov	r5, r0
	b	.L1
.L13:
	ldr	r3, .L17+16
	ldr	r5, [r3]
	bl	ovs_unlock
	mov	r0, r6
	rsb	r5, r5, #0
	bl	nlmsg_free
	b	.L1
.L14:
	ldr	r3, .L17+20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L6
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	OVS_METER_ATTR_ID
	.word	.LC0
	.word	OVS_METER_CMD_GET
	.word	EINVAL
	.word	ENODEV
	.word	ENOENT
	.size	ovs_meter_cmd_get, .-ovs_meter_cmd_get
	.comm	OVS_METER_CMD_GET,4,4
	.comm	OVS_METER_ATTR_ID,4,4
	.comm	ENOENT,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
