	.file	"extr_out-tcp-services.c_tcp_service_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown"
.LC1:
	.string	"tcp"
	.text
	.p2align 4
	.globl	tcp_service_name
	.type	tcp_service_name, @function
tcp_service_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	sub	rsp, 2080
	.cfi_def_cfa_offset 2096
	mov	rdx, QWORD PTR tcp_services[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 2072[rsp], rax
	xor	eax, eax
	movsx	rax, edi
	lea	rbx, 0[0+rax*8]
	mov	rax, QWORD PTR [rdx+rax*8]
	test	rax, rax
	je	.L8
.L1:
	mov	rsi, QWORD PTR 2072[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L9
	add	rsp, 2080
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	movzx	edi, di
	call	htons@PLT
	mov	r8d, 2048
	lea	rcx, 16[rsp]
	lea	rdx, 4[rsp]
	mov	edi, eax
	lea	r9, 8[rsp]
	lea	rsi, .LC1[rip]
	call	getservbyport_r@PLT
	mov	r8d, eax
	lea	rax, .LC0[rip]
	test	r8d, r8d
	jne	.L1
	cmp	QWORD PTR 8[rsp], 0
	je	.L1
	mov	edi, DWORD PTR 4[rsp]
	add	rbx, QWORD PTR tcp_services[rip]
	call	strdup@PLT
	mov	QWORD PTR [rbx], rax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tcp_service_name, .-tcp_service_name
	.comm	tcp_services,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_out-tcp-services.c_tcp_service_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown\000"
	.align	2
.LC1:
	.ascii	"tcp\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tcp_service_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcp_service_name, %function
tcp_service_name:
	@ args = 0, pretend = 0, frame = 2064
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L10
	ldr	r5, .L10+4
	sub	sp, sp, #2064
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #2068]
	mov	r3,#0
	ldr	r3, [r5]
	mov	r4, r0
	ldr	r0, [r3, r0, lsl #2]
	cmp	r0, #0
	beq	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #2068]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #2064
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	lsl	r0, r4, #16
	lsr	r0, r0, #16
	bl	htons
	mov	r1, #2048
	add	r3, sp, #16
	str	r3, [sp, #4]
	str	r1, [sp]
	add	r3, sp, #20
	ldr	r1, .L10+8
	add	r2, sp, #12
	bl	getservbyport_r
	cmp	r0, #0
	bne	.L5
	ldr	r3, [sp, #16]
	cmp	r3, #0
	beq	.L5
	ldr	r0, [sp, #12]
	ldr	r5, [r5]
	bl	strdup
	str	r0, [r5, r4, lsl #2]
	b	.L1
.L5:
	ldr	r0, .L10+12
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	tcp_services
	.word	.LC1
	.word	.LC0
	.size	tcp_service_name, .-tcp_service_name
	.comm	tcp_services,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
