	.file	"extr_anet.c_anetSockName.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	anetSockName
	.type	anetSockName, @function
anetSockName:
.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	r12, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rcx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 12[rsp]
	lea	rsi, 16[rsp]
	mov	DWORD PTR 12[rsp], 8
	call	getsockname@PLT
	cmp	eax, -1
	je	.L27
	mov	rdi, QWORD PTR AF_INET[rip]
	cmp	QWORD PTR 16[rsp], rdi
	je	.L28
	test	r12, r12
	je	.L8
	mov	rdi, QWORD PTR AF_INET6[rip]
	lea	rsi, 20[rsp]
	mov	rcx, r13
	mov	rdx, r12
	call	inet_ntop@PLT
.L8:
	test	rbx, rbx
	je	.L24
	mov	edi, DWORD PTR 16[rsp]
	call	ntohs@PLT
	mov	DWORD PTR [rbx], eax
.L24:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L29
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L28:
	.cfi_restore_state
	test	r12, r12
	je	.L8
	lea	rsi, 20[rsp]
	mov	rcx, r13
	mov	rdx, r12
	call	inet_ntop@PLT
	jmp	.L8
.L27:
	test	rbx, rbx
	je	.L3
	mov	DWORD PTR [rbx], 0
.L3:
	mov	edx, 63
	mov	WORD PTR [r12], dx
	jmp	.L1
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	anetSockName, .-anetSockName
	.comm	AF_INET6,8,8
	.comm	AF_INET,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_anet.c_anetSockName.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	anetSockName
	.syntax unified
	.arm
	.fpu softvfp
	.type	anetSockName, %function
anetSockName:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #4
	push	{r4, r5, r6, lr}
	mov	r5, r3
	sub	sp, sp, #16
	ldr	r3, .L29
	mov	r4, r1
	mov	r6, r2
	add	r1, sp, ip
	add	r2, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	ip, [sp, #8]
	bl	getsockname
	cmn	r0, #1
	beq	.L26
	ldr	r3, .L29+4
	ldr	r0, [sp, #4]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L27
	cmp	r4, #0
	beq	.L6
	ldr	r0, .L29+8
	mov	r3, r6
	mov	r2, r4
	ldr	r0, [r0]
	add	r1, sp, #8
	bl	inet_ntop
.L6:
	cmp	r5, #0
	moveq	r0, #0
	beq	.L1
	ldr	r0, [sp, #4]
	bl	ntohs
	mov	r3, r0
	mov	r0, #0
	str	r3, [r5]
.L1:
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L27:
	cmp	r4, #0
	beq	.L6
	mov	r3, r6
	mov	r2, r4
	add	r1, sp, #8
	bl	inet_ntop
	b	.L6
.L26:
	cmp	r5, #0
	movne	r3, #0
	mov	r2, #63
	strne	r3, [r5]
	mov	r3, #0
	strb	r2, [r4]
	strb	r3, [r4, #1]
	b	.L1
.L28:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LC0
	.word	AF_INET
	.word	AF_INET6
	.size	anetSockName, .-anetSockName
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
