	.file	"extr_mmstu.c_MMSClose.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Connection closed"
	.text
	.p2align 4
	.type	MMSClose, @function
MMSClose:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbx, QWORD PTR [rdi]
	call	msg_Dbg@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	mov	ecx, 1
	mov	edx, DWORD PTR 36[rbx]
	mov	esi, 13
	mov	rdi, rbp
	call	mms_CommandSend@PLT
	mov	edi, DWORD PTR 32[rbx]
	call	net_Close@PLT
	mov	rax, QWORD PTR MMS_PROTO_UDP[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L5
.L2:
	mov	edi, DWORD PTR 24[rbx]
	call	FREENULL@PLT
	mov	edi, DWORD PTR 20[rbx]
	call	FREENULL@PLT
	mov	edi, DWORD PTR 16[rbx]
	call	FREENULL@PLT
	mov	QWORD PTR 8[rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 28[rbx]
	call	net_Close@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	MMSClose, .-MMSClose
	.comm	MMS_PROTO_UDP,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_mmstu.c_MMSClose.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Connection closed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	MMSClose, %function
MMSClose:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r1, .L6
	sub	sp, sp, #12
	ldr	r4, [r0]
	mov	r5, r0
	bl	msg_Dbg
	mov	r3, #0
	ldr	r2, [r4, #28]
	mov	r1, #13
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r0, r5
	mov	r3, #1
	bl	mms_CommandSend
	ldr	r0, [r4, #24]
	bl	net_Close
	ldr	r3, .L6+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L5
.L2:
	ldr	r0, [r4, #16]
	bl	FREENULL
	ldr	r0, [r4, #12]
	bl	FREENULL
	ldr	r0, [r4, #8]
	bl	FREENULL
	mov	r3, #0
	str	r3, [r4, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	ldr	r0, [r4, #20]
	bl	net_Close
	b	.L2
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	MMS_PROTO_UDP
	.size	MMSClose, .-MMSClose
	.comm	MMS_PROTO_UDP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
