	.file	"838602.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	mysock, @object
	.size	mysock, 4
mysock:
	.long	-1
	.text
	.globl	transport_sendPacketBuffer
	.type	transport_sendPacketBuffer, @function
transport_sendPacketBuffer:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	transport_sendPacketBuffer, .-transport_sendPacketBuffer
	.globl	transport_getdata
	.type	transport_getdata, @function
transport_getdata:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR mysock[rip]
	mov	rsi, QWORD PTR -24[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	transport_getdata, .-transport_getdata
	.globl	transport_getdatanb
	.type	transport_getdatanb, @function
transport_getdatanb:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rsi, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L6
	mov	eax, 0
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -4[rbp]
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	transport_getdatanb, .-transport_getdatanb
	.globl	transport_open
	.type	transport_open, @function
transport_open:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, mysock[rip]
	mov	QWORD PTR -120[rbp], rax
	mov	DWORD PTR -140[rbp], 1
	mov	DWORD PTR -144[rbp], -1
	mov	WORD PTR -146[rbp], 2
	mov	QWORD PTR -136[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -104[rbp], 1
	mov	DWORD PTR -100[rbp], 6
	mov	DWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	rax, QWORD PTR -120[rbp]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -168[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jne	.L9
	add	QWORD PTR -168[rbp], 1
.L9:
	lea	rcx, -136[rbp]
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -144[rbp], eax
	cmp	DWORD PTR -144[rbp], 0
	jne	.L10
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -128[rbp], rax
	jmp	.L11
.L14:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 2
	jne	.L12
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -136[rbp], rax
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -128[rbp], rax
.L11:
	cmp	QWORD PTR -128[rbp], 0
	jne	.L14
.L13:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 10
	jne	.L15
	mov	eax, DWORD PTR -172[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	mov	WORD PTR -146[rbp], 10
	movzx	eax, WORD PTR -146[rbp]
	mov	WORD PTR -48[rbp], ax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -32[rbp], rdx
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 2
	jne	.L17
	mov	eax, DWORD PTR -172[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -62[rbp], ax
	mov	WORD PTR -146[rbp], 2
	movzx	eax, WORD PTR -146[rbp]
	mov	WORD PTR -64[rbp], ax
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -60[rbp], eax
	jmp	.L16
.L17:
	mov	DWORD PTR -144[rbp], -1
.L16:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
.L10:
	cmp	DWORD PTR -144[rbp], 0
	jne	.L18
	movzx	eax, WORD PTR -146[rbp]
	mov	ecx, DWORD PTR -140[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L18
	cmp	WORD PTR -146[rbp], 2
	jne	.L19
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rcx, -64[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -144[rbp], eax
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	lea	rcx, -48[rbp]
	mov	edx, 28
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -144[rbp], eax
.L18:
	mov	eax, DWORD PTR mysock[rip]
	cmp	eax, -1
	jne	.L20
	mov	eax, DWORD PTR -144[rbp]
	jmp	.L22
.L20:
	mov	QWORD PTR tv.0[rip], 1
	mov	QWORD PTR tv.0[rip+8], 0
	mov	eax, DWORD PTR mysock[rip]
	mov	r8d, 16
	lea	rcx, tv.0[rip]
	mov	edx, 20
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	eax, DWORD PTR mysock[rip]
.L22:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	transport_open, .-transport_open
	.globl	transport_close
	.type	transport_close, @function
transport_close:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 1
	mov	edi, eax
	call	shutdown@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	transport_close, .-transport_close
	.local	tv.0
	.comm	tv.0,16,16
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"838602.c"
	.text
	.data
	.align	2
	.type	mysock, %object
	.size	mysock, 4
mysock:
	.word	-1
	.text
	.align	2
	.global	transport_sendPacketBuffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	transport_sendPacketBuffer, %function
transport_sendPacketBuffer:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	transport_sendPacketBuffer, .-transport_sendPacketBuffer
	.align	2
	.global	transport_getdata
	.syntax unified
	.arm
	.fpu softvfp
	.type	transport_getdata, %function
transport_getdata:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L5
	ldr	r0, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, #0
	ldr	r1, [fp, #-16]
	bl	recv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	mysock
	.size	transport_getdata, .-transport_getdata
	.align	2
	.global	transport_getdatanb
	.syntax unified
	.arm
	.fpu softvfp
	.type	transport_getdatanb, %function
transport_getdatanb:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	mov	r3, #0
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	recv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L8
	mov	r3, #0
	b	.L9
.L8:
	ldr	r3, [fp, #-8]
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	transport_getdatanb, .-transport_getdatanb
	.section	.rodata
	.align	2
.LC0:
	.word	0
	.word	0
	.word	1
	.word	6
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	transport_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	transport_open, %function
transport_open:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L26+4
	str	r3, [fp, #-92]
	mov	r3, #1
	str	r3, [fp, #-88]
	mvn	r3, #0
	str	r3, [fp, #-100]
	mov	r3, #2
	strh	r3, [fp, #-106]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-104]
	ldr	r3, .L26+8
	sub	ip, fp, #84
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-92]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-112]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L11
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L11:
	sub	r3, fp, #104
	sub	r2, fp, #84
	mov	r1, #0
	ldr	r0, [fp, #-112]
	bl	getaddrinfo
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-96]
	b	.L13
.L16:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #4]
	cmp	r3, #2
	bne	.L14
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-104]
	b	.L15
.L14:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-96]
.L13:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L16
.L15:
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #4]
	cmp	r3, #10
	bne	.L17
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-34]	@ movhi
	mov	r3, #10
	strh	r3, [fp, #-106]	@ movhi
	ldrh	r3, [fp, #-106]	@ movhi
	strh	r3, [fp, #-36]	@ movhi
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #20]
	sub	ip, fp, #28
	add	r3, r3, #8
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	b	.L18
.L17:
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #4]
	cmp	r3, #2
	bne	.L19
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-50]	@ movhi
	mov	r3, #2
	strh	r3, [fp, #-106]	@ movhi
	ldrh	r3, [fp, #-106]	@ movhi
	strh	r3, [fp, #-52]	@ movhi
	ldr	r3, [fp, #-104]
	ldr	r3, [r3, #20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-48]
	b	.L18
.L19:
	mvn	r3, #0
	str	r3, [fp, #-100]
.L18:
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	freeaddrinfo
.L12:
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L20
	ldrh	r3, [fp, #-106]
	mov	r2, #0
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	socket
	mov	r2, r0
	ldr	r3, [fp, #-92]
	str	r2, [r3]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L20
	ldrh	r3, [fp, #-106]
	cmp	r3, #2
	bne	.L21
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	sub	r1, fp, #52
	mov	r2, #16
	mov	r0, r3
	bl	connect
	str	r0, [fp, #-100]
	b	.L20
.L21:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	sub	r1, fp, #36
	mov	r2, #28
	mov	r0, r3
	bl	connect
	str	r0, [fp, #-100]
.L20:
	ldr	r3, .L26+4
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L22
	ldr	r3, [fp, #-100]
	b	.L24
.L22:
	ldr	r3, .L26+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L26+12
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L26+4
	ldr	r0, [r3]
	mov	r3, #8
	str	r3, [sp]
	ldr	r3, .L26+12
	mov	r2, #20
	mov	r1, #1
	bl	setsockopt
	ldr	r3, .L26+4
	ldr	r3, [r3]
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC1
	.word	mysock
	.word	.LC0
	.word	tv.7260
	.size	transport_open, .-transport_open
	.align	2
	.global	transport_close
	.syntax unified
	.arm
	.fpu softvfp
	.type	transport_close, %function
transport_close:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	shutdown
	str	r0, [fp, #-8]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	recv
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	close
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	transport_close, .-transport_close
	.local	tv.7260
	.comm	tv.7260,8,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
