	.file	"extr_tcp.c_tcp_get_address.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d.%d.%d.%d"
.LC1:
	.string	"127.0.0.1"
	.text
	.p2align 4
	.globl	tcp_get_address
	.type	tcp_get_address, @function
tcp_get_address:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR g_sock[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rdx, 4[rsp]
	mov	rsi, rsp
	mov	DWORD PTR 4[rsp], 4
	call	getsockname@PLT
	test	rax, rax
	jne	.L2
	mov	r9d, DWORD PTR 12[rsp]
	mov	r8d, DWORD PTR 8[rsp]
	lea	rsi, .LC0[rip]
	lea	rdi, ipaddr.1939[rip]
	mov	ecx, DWORD PTR 4[rsp]
	mov	edx, DWORD PTR [rsp]
	call	sprintf@PLT
.L3:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	lea	rax, ipaddr.1939[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	lea	rdi, ipaddr.1939[rip]
	call	strcpy@PLT
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tcp_get_address, .-tcp_get_address
	.local	ipaddr.1939
	.comm	ipaddr.1939,32,32
	.comm	g_sock,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_tcp.c_tcp_get_address.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d.%d.%d.%d\000"
	.align	2
.LC1:
	.ascii	"127.0.0.1\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tcp_get_address
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_get_address, %function
tcp_get_address:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #4
	str	lr, [sp, #-4]!
	ldr	r1, .L8
	sub	sp, sp, #28
	ldr	ip, .L8+4
	ldr	r0, [r1]
	add	r2, sp, #16
	add	r1, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	str	r3, [sp, #16]
	bl	getsockname
	cmp	r0, #0
	bne	.L2
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #20]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r2, [sp, #12]
	ldr	r3, [sp, #16]
	ldr	r1, .L8+8
	ldr	r0, .L8+12
	bl	sprintf
.L3:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	ldr	r0, .L8+12
	add	sp, sp, #28
	@ sp needed
	ldr	pc, [sp], #4
.L2:
	ldr	r2, .L8+16
	ldr	r3, .L8+12
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	b	.L3
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	g_sock
	.word	.LC2
	.word	.LC0
	.word	.LANCHOR0
	.word	.LC1
	.size	tcp_get_address, .-tcp_get_address
	.comm	g_sock,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	ipaddr.4223, %object
	.size	ipaddr.4223, 32
ipaddr.4223:
	.space	32
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
