	.file	"extr_subscr.c_tipc_sub_subscribe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Subscription rejected, illegal request\n"
	.align 8
.LC1:
	.string	"Subscription rejected, no memory\n"
	.text
	.p2align 4
	.globl	tipc_sub_subscribe
	.type	tipc_sub_subscribe, @function
tipc_sub_subscribe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	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
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rdi, rbp
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	tipc_sub_read@PLT
	test	QWORD PTR TIPC_SUB_PORTS[rip], rax
	je	.L2
	test	QWORD PTR TIPC_SUB_SERVICE[rip], rax
	jne	.L4
.L2:
	mov	rsi, QWORD PTR seq[rip]
	mov	rdi, rbp
	call	tipc_sub_read@PLT
	mov	rsi, QWORD PTR seq[rip+8]
	mov	rdi, rbp
	mov	r12, rax
	call	tipc_sub_read@PLT
	cmp	r12, rax
	jg	.L4
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 40
	call	kmalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L15
	lea	rdi, 36[rax]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 32[r12]
	call	INIT_LIST_HEAD@PLT
	mov	QWORD PTR 24[r12], r13
	lea	r13, 12[r12]
	mov	rsi, rbp
	mov	DWORD PTR [r12], ebx
	mov	edx, 4
	mov	rdi, r13
	mov	DWORD PTR 4[r12], 0
	call	memcpy@PLT
	lea	rdi, 20[r12]
	call	spin_lock_init@PLT
	lea	rdi, 16[r12]
	call	kref_init@PLT
	mov	rdi, r12
	call	tipc_nametbl_subscribe@PLT
	test	eax, eax
	je	.L16
	mov	esi, DWORD PTR tipc_sub_timeout[rip]
	lea	rbp, 8[r12]
	xor	edx, edx
	mov	rdi, rbp
	call	timer_setup@PLT
	xor	esi, esi
	mov	rdi, r13
	call	tipc_sub_read@PLT
	cmp	QWORD PTR TIPC_WAIT_FOREVER[rip], rax
	mov	rdi, rax
	je	.L1
	call	msecs_to_jiffies@PLT
	add	rax, QWORD PTR jiffies[rip]
	mov	rdi, rbp
	mov	rsi, rax
	call	mod_timer@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L4:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	r12d, r12d
	call	pr_warn@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L16:
	.cfi_restore_state
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, .LC1[rip]
	call	pr_warn@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	tipc_sub_subscribe, .-tipc_sub_subscribe
	.comm	tipc_sub_timeout,4,4
	.comm	seq,16,16
	.comm	jiffies,8,8
	.comm	filter,8,8
	.comm	TIPC_WAIT_FOREVER,8,8
	.comm	TIPC_SUB_SERVICE,8,8
	.comm	TIPC_SUB_PORTS,8,8
	.comm	GFP_ATOMIC,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_subscr.c_tipc_sub_subscribe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Subscription rejected, illegal request\012\000"
	.align	2
.LC1:
	.ascii	"Subscription rejected, no memory\012\000"
	.text
	.align	2
	.global	tipc_sub_subscribe
	.syntax unified
	.arm
	.fpu softvfp
	.type	tipc_sub_subscribe, %function
tipc_sub_subscribe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r7, r0
	mov	r0, r1
	mov	r1, #0
	mov	r6, r2
	bl	tipc_sub_read
	ldr	r3, .L17
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L2
	ldr	r3, .L17+4
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L4
.L2:
	ldr	r8, .L17+8
	mov	r0, r5
	ldr	r1, [r8]
	bl	tipc_sub_read
	ldr	r1, [r8, #4]
	mov	r4, r0
	mov	r0, r5
	bl	tipc_sub_read
	cmp	r4, r0
	bgt	.L4
	ldr	r3, .L17+12
	mov	r0, #36
	ldr	r1, [r3]
	bl	kmalloc
	subs	r4, r0, #0
	beq	.L15
	mov	r9, #0
	add	r0, r4, #32
	bl	INIT_LIST_HEAD
	add	r8, r4, #12
	add	r0, r4, #28
	bl	INIT_LIST_HEAD
	mov	r1, r5
	mov	r2, #4
	mov	r0, r8
	str	r7, [r4, #24]
	str	r6, [r4]
	str	r9, [r4, #4]
	bl	memcpy
	add	r0, r4, #20
	bl	spin_lock_init
	add	r0, r4, #16
	bl	kref_init
	mov	r0, r4
	bl	tipc_nametbl_subscribe
	subs	r5, r0, #0
	beq	.L16
	ldr	r3, .L17+16
	add	r5, r4, #8
	ldr	r1, [r3]
	mov	r2, r9
	mov	r0, r5
	bl	timer_setup
	mov	r0, r8
	mov	r1, #0
	bl	tipc_sub_read
	ldr	r3, .L17+20
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L1
	bl	msecs_to_jiffies
	mov	r1, r0
	ldr	r3, .L17+24
	mov	r0, r5
	ldr	r3, [r3]
	add	r1, r1, r3
	bl	mod_timer
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r4, #0
	ldr	r0, .L17+28
	bl	pr_warn
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r0, r4
	bl	kfree
	mov	r4, r5
	b	.L1
.L15:
	ldr	r0, .L17+32
	bl	pr_warn
	b	.L1
.L18:
	.align	2
.L17:
	.word	TIPC_SUB_PORTS
	.word	TIPC_SUB_SERVICE
	.word	seq
	.word	GFP_ATOMIC
	.word	tipc_sub_timeout
	.word	TIPC_WAIT_FOREVER
	.word	jiffies
	.word	.LC0
	.word	.LC1
	.size	tipc_sub_subscribe, .-tipc_sub_subscribe
	.comm	tipc_sub_timeout,4,4
	.comm	seq,8,4
	.comm	jiffies,4,4
	.comm	filter,4,4
	.comm	TIPC_WAIT_FOREVER,4,4
	.comm	TIPC_SUB_SERVICE,4,4
	.comm	TIPC_SUB_PORTS,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
