	.file	"extr_socket.c_tipc_sk_join.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tipc_sk_join, @function
tipc_sk_join:
.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
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	sock_net@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR TIPC_RESERVED_TYPES[rip]
	cmp	DWORD PTR 4[rbx], eax
	jl	.L5
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	eax, DWORD PTR TIPC_NODE_SCOPE[rip]
	neg	r12d
	cmp	DWORD PTR [rbx], eax
	jg	.L1
	cmp	QWORD PTR 16[r13], 0
	je	.L11
.L5:
	mov	r12d, DWORD PTR EACCES[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L11:
	.cfi_restore_state
	mov	esi, DWORD PTR 28[r13]
	lea	rcx, 24[r13]
	mov	rdx, rbx
	mov	rdi, rbp
	call	tipc_group_create@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	r14, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	QWORD PTR 16[r13], rax
	lea	r12, 32[r13]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, r12
	call	msg_set_lookup_scope@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r12
	call	msg_set_nametype@PLT
	mov	rdi, r12
	mov	esi, 1
	call	msg_set_dest_droppable@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	eax, DWORD PTR 8[rbx]
	mov	rsi, r14
	mov	ecx, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	DWORD PTR 20[rsp], edx
	mov	DWORD PTR 12[rsp], eax
	mov	DWORD PTR 16[rsp], eax
	call	tipc_nametbl_build_group@PLT
	mov	esi, DWORD PTR [rbx]
	lea	rdx, 12[rsp]
	mov	rdi, r13
	call	tipc_sk_publish@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L13
	movabs	rax, 4294967297
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	mov	QWORD PTR 4[r13], rax
	call	tipc_group_join@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rsi, r14
	mov	rdi, rbp
	call	tipc_group_delete@PLT
	mov	QWORD PTR 16[r13], 0
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tipc_sk_join, .-tipc_sk_join
	.comm	TIPC_RESERVED_TYPES,4,4
	.comm	TIPC_NODE_SCOPE,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	EACCES,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_join.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tipc_sk_join, %function
tipc_sk_join:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r1
	ldr	r3, .L16
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r5, r0
	bl	sock_net
	ldr	r3, .L16+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L5
	ldr	r3, .L16+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L11
	ldr	r7, [r5, #12]
	cmp	r7, #0
	beq	.L12
.L5:
	ldr	r3, .L16+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	ldr	r3, .L16+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L12:
	mov	r2, r4
	ldr	r1, [r5, #20]
	add	r3, r5, #16
	mov	r6, r0
	bl	tipc_group_create
	subs	r8, r0, #0
	beq	.L14
	add	r9, r5, #24
	ldr	r1, [r4]
	mov	r0, r9
	str	r8, [r5, #12]
	bl	msg_set_lookup_scope
	ldr	r1, [r4, #4]
	mov	r0, r9
	bl	msg_set_nametype
	mov	r1, #1
	mov	r0, r9
	bl	msg_set_dest_droppable
	ldmib	r4, {r2, ip}
	ldr	r3, [r4]
	mov	r1, r8
	mov	r0, r6
	str	r2, [sp, #8]
	str	ip, [sp]
	str	ip, [sp, #4]
	bl	tipc_nametbl_build_group
	ldr	r1, [r4]
	mov	r2, sp
	mov	r0, r5
	bl	tipc_sk_publish
	subs	r4, r0, #0
	bne	.L15
	mov	r3, #1
	mov	r1, r8
	mov	r0, r6
	mov	r2, r5
	str	r3, [r5, #4]
	str	r3, [r5, #8]
	bl	tipc_group_join
	b	.L1
.L14:
	ldr	r3, .L16+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L15:
	mov	r1, r8
	mov	r0, r6
	bl	tipc_group_delete
	str	r7, [r5, #12]
	b	.L1
.L13:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	TIPC_RESERVED_TYPES
	.word	TIPC_NODE_SCOPE
	.word	EACCES
	.word	EINVAL
	.word	ENOMEM
	.size	tipc_sk_join, .-tipc_sk_join
	.comm	TIPC_RESERVED_TYPES,4,4
	.comm	TIPC_NODE_SCOPE,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	EACCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
