	.file	"extr_socket.c_tipc_sk_filter_rcv.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
.LC1:
	.string	"err_overload2!"
.LC2:
	.string	"@filter_rcv!"
.LC3:
	.string	"rcvq >90% allocated!"
	.text
	.p2align 4
	.type	tipc_sk_filter_rcv, @function
tipc_sk_filter_rcv:
.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
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 40[rsp], rsi
	lea	r14, 52[rsp]
	mov	QWORD PTR 32[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	tipc_sk_type_connectionless@PLT
	mov	rdi, rbx
	mov	r15d, eax
	call	tipc_sk@PLT
	mov	rdi, QWORD PTR 40[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR [rsp], rax
	call	buf_msg@PLT
	mov	rdi, rbx
	mov	r12, rax
	call	sock_net@PLT
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], rax
	call	msg_type@PLT
	mov	edx, DWORD PTR TIPC_DUMP_ALL[rip]
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, rbx
	lea	rcx, .LC0[rip]
	mov	r13d, DWORD PTR TIPC_OK[rip]
	mov	ebp, eax
	call	trace_tipc_sk_filter_rcv@PLT
	mov	rdi, QWORD PTR 40[rsp]
	call	TIPC_SKB_CB@PLT
	mov	rdi, r14
	mov	QWORD PTR [rax], 0
	call	__skb_queue_head_init@PLT
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, r14
	call	__skb_queue_tail@PLT
	mov	rdi, r12
	call	msg_isdata@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L31
.L2:
	mov	edi, DWORD PTR [rsp]
	call	unlikely@PLT
	test	rax, rax
	jne	.L32
.L3:
	xor	edi, edi
	cmp	QWORD PTR [rsp], 0
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L4
	cmp	DWORD PTR TIPC_MCAST_MSG[rip], ebp
	je	.L33
.L4:
	lea	rax, 12[rbx]
	mov	QWORD PTR 24[rsp], rax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r14
	call	__skb_dequeue@PLT
	mov	QWORD PTR 40[rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L34
	call	buf_msg@PLT
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, rbx
	mov	r12, rax
	call	rcvbuf_limit@PLT
	mov	ebp, eax
	test	r15d, r15d
	je	.L35
	mov	rdi, r12
	call	msg_connected@PLT
	test	rax, rax
	je	.L7
.L10:
	mov	r13d, DWORD PTR TIPC_ERR_NO_PORT[rip]
.L8:
	mov	edi, r13d
	call	unlikely@PLT
	test	rax, rax
	jne	.L36
.L11:
	mov	rsi, QWORD PTR 40[rsp]
	lea	rdi, 8[rbx]
	call	__skb_queue_tail@PLT
	mov	rdi, QWORD PTR 40[rsp]
	mov	rsi, rbx
	call	skb_set_owner_r@PLT
	mov	edx, DWORD PTR TIPC_DUMP_ALL[rip]
	mov	rdi, rbx
	mov	rsi, QWORD PTR 40[rsp]
	lea	rcx, .LC3[rip]
	call	trace_tipc_sk_overlimit2@PLT
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	tipc_sk_filter_connect@PLT
	test	eax, eax
	je	.L10
.L7:
	cmp	QWORD PTR [rsp], 0
	je	.L37
.L9:
	mov	rdi, rbx
	call	sk_rmem_alloc_get@PLT
	mov	rsi, QWORD PTR 40[rsp]
	add	eax, DWORD PTR [rsi]
	cmp	eax, ebp
	jl	.L8
	mov	edx, DWORD PTR TIPC_DUMP_ALL[rip]
	lea	rcx, .LC1[rip]
	mov	rdi, rbx
	call	trace_tipc_sk_dump@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	atomic_inc@PLT
	mov	r13d, DWORD PTR TIPC_ERR_OVERLOAD[rip]
	mov	edi, r13d
	call	unlikely@PLT
	test	rax, rax
	je	.L11
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdi, QWORD PTR 16[rsp]
	call	tipc_own_addr@PLT
	lea	rsi, 40[rsp]
	mov	edx, r13d
	mov	edi, eax
	call	tipc_msg_reverse@PLT
	test	rax, rax
	jne	.L38
.L12:
	mov	r13d, DWORD PTR TIPC_OK[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rdi, r12
	call	msg_in_group@PLT
	test	rax, rax
	jne	.L10
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L38:
	.cfi_restore_state
	mov	rsi, QWORD PTR 40[rsp]
	mov	edx, DWORD PTR TIPC_DUMP_NONE[rip]
	mov	rdi, rbx
	lea	rcx, .LC2[rip]
	call	trace_tipc_sk_rej_msg@PLT
	mov	rsi, QWORD PTR 40[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	call	__skb_queue_tail@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdx, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, r14
	call	tipc_group_filter_msg@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rdx, QWORD PTR 32[rsp]
	mov	rsi, r14
	mov	rdi, rbx
	call	tipc_sk_proto_rcv@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r14
	call	tipc_mcast_filter_msg@PLT
	jmp	.L4
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tipc_sk_filter_rcv, .-tipc_sk_filter_rcv
	.comm	TIPC_OK,4,4
	.comm	TIPC_MCAST_MSG,4,4
	.comm	TIPC_ERR_OVERLOAD,4,4
	.comm	TIPC_ERR_NO_PORT,4,4
	.comm	TIPC_DUMP_NONE,4,4
	.comm	TIPC_DUMP_ALL,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_socket.c_tipc_sk_filter_rcv.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" \000"
	.align	2
.LC1:
	.ascii	"err_overload2!\000"
	.align	2
.LC2:
	.ascii	"@filter_rcv!\000"
	.align	2
.LC3:
	.ascii	"rcvq >90% allocated!\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tipc_sk_filter_rcv, %function
tipc_sk_filter_rcv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L40
	sub	sp, sp, #28
	str	r2, [sp, #8]
	str	r1, [sp, #12]
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	tipc_sk_type_connectionless
	mov	r8, r0
	mov	r0, r4
	bl	tipc_sk
	mov	r3, r0
	str	r0, [sp]
	ldr	r0, [sp, #12]
	ldr	r10, [r3, #4]
	bl	buf_msg
	mov	r5, r0
	mov	r0, r4
	bl	sock_net
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #4]
	bl	msg_type
	ldr	r9, .L40+4
	ldr	ip, .L40+8
	ldr	r2, [r9]
	ldr	r1, [sp, #12]
	ldr	r3, .L40+12
	mov	r6, r0
	mov	r0, r4
	ldr	r7, [ip]
	bl	trace_tipc_sk_filter_rcv
	ldr	r0, [sp, #12]
	bl	TIPC_SKB_CB
	mov	r3, #0
	str	r3, [r0]
	add	r0, sp, #16
	bl	__skb_queue_head_init
	ldr	r1, [sp, #12]
	add	r0, sp, #16
	bl	__skb_queue_tail
	mov	r0, r5
	bl	msg_isdata
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L31
.L2:
	mov	r0, r10
	bl	unlikely
	cmp	r0, #0
	bne	.L32
.L3:
	clz	r0, r10
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L40+16
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L33
.L4:
	ldr	fp, .L40+20
.L5:
	add	r0, sp, #16
	bl	__skb_dequeue
	cmp	r0, #0
	str	r0, [sp, #12]
	beq	.L34
	bl	buf_msg
	ldr	r1, [sp, #12]
	mov	r6, r0
	mov	r0, r4
	bl	rcvbuf_limit
	cmp	r8, #0
	mov	r5, r0
	beq	.L35
	mov	r0, r6
	bl	msg_connected
	cmp	r0, #0
	beq	.L7
.L10:
	ldr	r3, .L40+24
	ldr	r7, [r3]
.L8:
	mov	r0, r7
	bl	unlikely
	cmp	r0, #0
	bne	.L36
.L11:
	ldr	r1, [sp, #12]
	add	r0, r4, #4
	bl	__skb_queue_tail
	mov	r1, r4
	ldr	r0, [sp, #12]
	bl	skb_set_owner_r
	mov	r3, fp
	mov	r0, r4
	ldr	r2, [r9]
	ldr	r1, [sp, #12]
	bl	trace_tipc_sk_overlimit2
	mov	r0, r4
	ldr	r3, [r4]
	blx	r3
	b	.L5
.L35:
	ldr	r1, [sp, #12]
	ldr	r0, [sp]
	bl	tipc_sk_filter_connect
	cmp	r0, #0
	beq	.L10
.L7:
	cmp	r10, #0
	beq	.L37
.L9:
	mov	r0, r4
	bl	sk_rmem_alloc_get
	ldr	r1, [sp, #12]
	ldr	r3, [r1]
	add	r0, r0, r3
	cmp	r0, r5
	blt	.L8
	ldr	r3, .L40+28
	ldr	r2, [r9]
	mov	r0, r4
	bl	trace_tipc_sk_dump
	add	r0, r4, #8
	bl	atomic_inc
	ldr	r3, .L40+32
	ldr	r7, [r3]
	mov	r0, r7
	bl	unlikely
	cmp	r0, #0
	beq	.L11
.L36:
	ldr	r0, [sp, #4]
	bl	tipc_own_addr
	mov	r2, r7
	add	r1, sp, #12
	bl	tipc_msg_reverse
	cmp	r0, #0
	bne	.L38
.L12:
	ldr	r3, .L40+8
	ldr	r7, [r3]
	b	.L5
.L37:
	mov	r0, r6
	bl	msg_in_group
	cmp	r0, #0
	bne	.L10
	b	.L9
.L34:
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L39
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L38:
	ldr	r2, .L40+36
	ldr	r1, [sp, #12]
	mov	r0, r4
	ldr	r3, .L40+40
	ldr	r2, [r2]
	bl	trace_tipc_sk_rej_msg
	ldr	r1, [sp, #12]
	ldr	r0, [sp, #8]
	bl	__skb_queue_tail
	b	.L12
.L32:
	mov	r0, r10
	ldr	r2, [sp, #8]
	add	r1, sp, #16
	bl	tipc_group_filter_msg
	b	.L3
.L31:
	mov	r0, r4
	ldr	r2, [sp, #8]
	add	r1, sp, #16
	bl	tipc_sk_proto_rcv
	b	.L2
.L33:
	ldr	r1, [sp]
	ldr	r0, [sp, #4]
	add	r2, sp, #16
	bl	tipc_mcast_filter_msg
	b	.L4
.L39:
	bl	__stack_chk_fail
.L41:
	.align	2
.L40:
	.word	.LC4
	.word	TIPC_DUMP_ALL
	.word	TIPC_OK
	.word	.LC0
	.word	TIPC_MCAST_MSG
	.word	.LC3
	.word	TIPC_ERR_NO_PORT
	.word	.LC1
	.word	TIPC_ERR_OVERLOAD
	.word	TIPC_DUMP_NONE
	.word	.LC2
	.size	tipc_sk_filter_rcv, .-tipc_sk_filter_rcv
	.comm	TIPC_OK,4,4
	.comm	TIPC_MCAST_MSG,4,4
	.comm	TIPC_ERR_OVERLOAD,4,4
	.comm	TIPC_ERR_NO_PORT,4,4
	.comm	TIPC_DUMP_NONE,4,4
	.comm	TIPC_DUMP_ALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
