	.file	"extr_socket.c_get_name.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_name, @function
get_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 8[rdi]
	call	tipc_sk@PLT
	test	r12d, r12d
	je	.L2
	mov	rdx, QWORD PTR 0[rbp]
	cmp	rdx, QWORD PTR SS_CONNECTED[rip]
	je	.L3
	cmp	r12d, 2
	jne	.L4
	cmp	rdx, QWORD PTR SS_DISCONNECTING[rip]
	jne	.L4
.L3:
	mov	edx, DWORD PTR 12[rax]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR 12[rbx], edx
	mov	DWORD PTR 8[rbx], eax
.L6:
	mov	DWORD PTR 0[r13], 32
	mov	eax, DWORD PTR TIPC_ADDR_ID[rip]
	mov	QWORD PTR 16[rbx], 0
	mov	DWORD PTR 28[rbx], eax
	mov	eax, DWORD PTR AF_TIPC[rip]
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 24[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	mov	eax, DWORD PTR ENOTCONN[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR [rax]
	lea	rsi, 8[rbx]
	mov	edi, DWORD PTR [rax]
	call	tipc_ownidentity@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	get_name, .-get_name
	.comm	TIPC_ADDR_ID,4,4
	.comm	SS_DISCONNECTING,8,8
	.comm	SS_CONNECTED,8,8
	.comm	ENOTCONN,4,4
	.comm	AF_TIPC,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_get_name.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_name, %function
get_name:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r3
	mov	r5, r0
	ldr	r0, [r0, #4]
	mov	r4, r1
	mov	r7, r2
	bl	tipc_sk
	cmp	r6, #0
	beq	.L2
	ldr	r2, .L9
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L3
	cmp	r6, #2
	bne	.L4
	ldr	r2, .L9+4
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L4
.L3:
	ldr	r2, [r0, #8]
	ldr	r3, [r0, #4]
	str	r2, [r4, #8]
	str	r3, [r4, #4]
.L6:
	mov	r2, #24
	mov	r3, #0
	str	r2, [r7]
	ldr	r1, .L9+8
	ldr	r2, .L9+12
	ldr	r1, [r1]
	ldr	r2, [r2]
	mov	r0, r3
	str	r1, [r4, #20]
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, .L9+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r0]
	add	r1, r4, #4
	ldr	r0, [r3]
	bl	tipc_ownidentity
	b	.L6
.L10:
	.align	2
.L9:
	.word	SS_CONNECTED
	.word	SS_DISCONNECTING
	.word	TIPC_ADDR_ID
	.word	AF_TIPC
	.word	ENOTCONN
	.size	get_name, .-get_name
	.comm	TIPC_ADDR_ID,4,4
	.comm	SS_DISCONNECTING,4,4
	.comm	SS_CONNECTED,4,4
	.comm	ENOTCONN,4,4
	.comm	AF_TIPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
