	.file	"extr_af_llc.c_llc_ui_getname.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	llc_ui_getname, @function
llc_ui_getname:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	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
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rbp, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r15, rsp
	mov	rdi, rbp
	call	llc_sk@PLT
	xor	esi, esi
	mov	edx, 16
	mov	rdi, r15
	mov	r12d, DWORD PTR EBADF[rip]
	mov	rbx, rax
	call	memset@PLT
	mov	rdi, rbp
	call	lock_sock@PLT
	mov	esi, DWORD PTR SOCK_ZAPPED[rip]
	mov	rdi, rbp
	call	sock_flag@PLT
	test	rax, rax
	jne	.L17
	test	r13d, r13d
	je	.L4
	mov	rax, QWORD PTR TCP_ESTABLISHED[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L5
	mov	r12d, DWORD PTR ENOTCONN[rip]
.L17:
	neg	r12d
.L3:
	mov	rdi, rbp
	call	release_sock@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L4:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	rax, QWORD PTR 8[rbx]
	neg	r12d
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 12[rsp], eax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L7
	mov	edx, DWORD PTR 8[rax]
	mov	rsi, QWORD PTR [rax]
	lea	rdi, 4[rsp]
	mov	DWORD PTR 8[rsp], edx
	mov	edx, DWORD PTR IFHWADDRLEN[rip]
	call	memcpy@PLT
.L7:
	mov	eax, DWORD PTR AF_LLC[rip]
	mov	edx, 16
	mov	rsi, r15
	mov	rdi, r14
	mov	r12d, 16
	mov	DWORD PTR [rsp], eax
	call	memcpy@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR 8[rsp], eax
.L6:
	mov	eax, DWORD PTR 32[rbx]
	mov	edx, DWORD PTR IFHWADDRLEN[rip]
	lea	rsi, 16[rbx]
	lea	rdi, 4[rsp]
	mov	DWORD PTR 12[rsp], eax
	call	memcpy@PLT
	jmp	.L7
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	llc_ui_getname, .-llc_ui_getname
	.comm	TCP_ESTABLISHED,8,8
	.comm	SOCK_ZAPPED,4,4
	.comm	IFHWADDRLEN,4,4
	.comm	ENOTCONN,4,4
	.comm	EINVAL,4,4
	.comm	EBADF,4,4
	.comm	AF_LLC,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_af_llc.c_llc_ui_getname.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	llc_ui_getname, %function
llc_ui_getname:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	ldr	r3, .L21
	sub	sp, sp, #24
	mov	r0, r4
	mov	r8, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	llc_sk
	mov	r3, #0
	ldr	r2, .L21+4
	mov	r6, r0
	mov	r0, r4
	ldr	r5, [r2]
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	bl	lock_sock
	ldr	r3, .L21+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	sock_flag
	cmp	r0, #0
	bne	.L17
	cmp	r7, #0
	beq	.L4
	ldr	r3, .L21+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L5
	ldr	r3, .L21+16
	ldr	r5, [r3]
.L17:
	rsb	r5, r5, #0
.L3:
	mov	r0, r4
	bl	release_sock
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L20
	ldr	r1, [r6]
	ldr	r3, [r3]
	cmp	r1, #0
	str	r3, [sp, #16]
	beq	.L7
	ldr	r2, .L21+20
	ldr	r3, [r1, #4]
	ldr	r2, [r2]
	ldr	r1, [r1]
	add	r0, sp, #8
	str	r3, [sp, #12]
	bl	memcpy
.L7:
	mov	r2, #16
	ldr	r3, .L21+24
	mov	r0, r8
	ldr	r3, [r3]
	add	r1, sp, #4
	mov	r5, r2
	str	r3, [sp, #4]
	bl	memcpy
	b	.L3
.L5:
	ldr	r3, [r6]
	ldr	r2, .L21+20
	cmp	r3, #0
	ldrne	r3, [r3, #4]
	ldr	r2, [r2]
	strne	r3, [sp, #12]
	ldr	r3, [r6, #24]
	add	r1, r6, #8
	add	r0, sp, #8
	str	r3, [sp, #16]
	bl	memcpy
	b	.L7
.L20:
	ldr	r3, .L21+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L3
.L19:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	EBADF
	.word	SOCK_ZAPPED
	.word	TCP_ESTABLISHED
	.word	ENOTCONN
	.word	IFHWADDRLEN
	.word	AF_LLC
	.word	EINVAL
	.size	llc_ui_getname, .-llc_ui_getname
	.comm	TCP_ESTABLISHED,4,4
	.comm	SOCK_ZAPPED,4,4
	.comm	IFHWADDRLEN,4,4
	.comm	ENOTCONN,4,4
	.comm	EINVAL,4,4
	.comm	EBADF,4,4
	.comm	AF_LLC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
