	.file	"extr_17391.c_get_sock_addr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"r"
.LC1:
	.string	"/proc/net/tcp"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"%4d: %08X:%04X %08X:%04X %02X %08X:%08X %02X:%08lX %08X %5d %8d %lu %d %p %lu %lu %u %u %d\n"
	.text
	.p2align 4
	.globl	get_sock_addr
	.type	get_sock_addr, @function
get_sock_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rsi, .LC0[rip]
	mov	r13d, edi
	lea	rdi, .LC1[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 1080
	.cfi_def_cfa_offset 1120
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1064[rsp], rax
	xor	eax, eax
	lea	rbp, 32[rsp]
	lea	rbx, 12[rsp]
	call	fopen@PLT
	mov	r12, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	sub	rsp, 8
	.cfi_def_cfa_offset 1128
	mov	r9, rbx
	mov	rcx, rbx
	mov	rdi, rbp
	push	rbx
	.cfi_def_cfa_offset 1136
	lea	rsi, .LC2[rip]
	push	rbx
	.cfi_def_cfa_offset 1144
	push	rbx
	.cfi_def_cfa_offset 1152
	lea	rax, 56[rsp]
	push	rax
	.cfi_def_cfa_offset 1160
	push	rax
	.cfi_def_cfa_offset 1168
	lea	rdx, 64[rsp]
	push	rdx
	.cfi_def_cfa_offset 1176
	mov	rdx, rbx
	push	rbx
	.cfi_def_cfa_offset 1184
	push	rax
	.cfi_def_cfa_offset 1192
	push	rbx
	.cfi_def_cfa_offset 1200
	push	rbx
	.cfi_def_cfa_offset 1208
	push	rbx
	.cfi_def_cfa_offset 1216
	push	rax
	.cfi_def_cfa_offset 1224
	push	rbx
	.cfi_def_cfa_offset 1232
	push	rbx
	.cfi_def_cfa_offset 1240
	push	rbx
	.cfi_def_cfa_offset 1248
	push	rbx
	.cfi_def_cfa_offset 1256
	push	rbx
	.cfi_def_cfa_offset 1264
	lea	r8, 152[rsp]
	call	sscanf@PLT
	add	rsp, 144
	.cfi_def_cfa_offset 1120
	cmp	DWORD PTR 8[rsp], r13d
	je	.L10
.L2:
	mov	rdx, r12
	mov	esi, 1024
	mov	rdi, rbp
	call	fgets@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, r12
	call	fclose@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 1064[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 1080
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L10:
	.cfi_restore_state
	cmp	QWORD PTR 16[rsp], 0
	je	.L12
.L3:
	mov	rdi, r12
	call	fclose@PLT
	mov	rax, QWORD PTR 16[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, r13d
	call	get_cookie@PLT
	mov	eax, eax
	add	rax, QWORD PTR KERNEL_BASE[rip]
	mov	QWORD PTR 16[rsp], rax
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_sock_addr, .-get_sock_addr
	.comm	KERNEL_BASE,8,8
	.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_17391.c_get_sock_addr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"/proc/net/tcp\000"
	.align	2
.LC2:
	.ascii	"%4d: %08X:%04X %08X:%04X %02X %08X:%08X %02X:%08lX "
	.ascii	"%08X %5d %8d %lu %d %p %lu %lu %u %u %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_sock_addr
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_sock_addr, %function
get_sock_addr:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L13
	sub	sp, sp, #1120
	sub	sp, sp, #12
	mov	r7, r0
	ldr	r1, .L13+4
	ldr	r0, .L13+8
	ldr	r3, [r3]
	str	r3, [sp, #1124]
	mov	r3,#0
	bl	fopen
	add	r4, sp, #88
	mov	r6, r0
	ldr	r8, .L13+12
	sub	r9, r4, #4
	b	.L2
.L5:
	add	ip, sp, #96
	add	r3, sp, #104
	sub	lr, r3, #12
	mov	r2, r4
	mov	r3, r4
	mov	r1, r8
	str	r4, [sp, #48]
	str	r4, [sp, #40]
	str	r4, [sp, #36]
	str	r4, [sp, #32]
	str	r4, [sp, #24]
	str	r4, [sp, #20]
	str	r4, [sp, #16]
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r9, [sp]
	str	ip, [sp, #44]
	str	ip, [sp, #28]
	add	r0, sp, #100
	str	r4, [sp, #72]
	str	r4, [sp, #68]
	str	r4, [sp, #64]
	str	ip, [sp, #60]
	str	ip, [sp, #56]
	str	lr, [sp, #52]
	bl	sscanf
	ldr	r3, [sp, #84]
	cmp	r3, r7
	beq	.L10
.L2:
	mov	r2, r6
	mov	r1, #1024
	add	r0, sp, #100
	bl	fgets
	subs	r5, r0, #0
	bne	.L5
	mov	r0, r6
	bl	fclose
	mov	r0, r5
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #1124]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #1120
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	ldr	r3, [sp, #92]
	cmp	r3, #0
	beq	.L12
.L3:
	mov	r0, r6
	bl	fclose
	ldr	r0, [sp, #92]
	b	.L1
.L12:
	mov	r0, r7
	bl	get_cookie
	ldr	r3, .L13+16
	ldr	r3, [r3]
	add	r3, r3, r0
	str	r3, [sp, #92]
	b	.L3
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	KERNEL_BASE
	.size	get_sock_addr, .-get_sock_addr
	.comm	KERNEL_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
