	.file	"extr_wps_upnp_ssdp.c_ssdp_listener_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ssdp_listener_stop
	.type	ssdp_listener_stop, @function
ssdp_listener_stop:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR [rdi]
	cmp	QWORD PTR 8[rbp], 0
	jne	.L9
.L2:
	cmp	edi, -1
	je	.L3
	call	close@PLT
	mov	DWORD PTR 0[rbp], -1
.L3:
	mov	edx, DWORD PTR ELOOP_ALL_CTX[rip]
	mov	edi, DWORD PTR msearchreply_state_machine_handler[rip]
	mov	rsi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	eloop_cancel_timeout@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR EVENT_TYPE_READ[rip]
	call	eloop_unregister_sock@PLT
	mov	QWORD PTR 8[rbp], 0
	mov	edi, DWORD PTR 0[rbp]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ssdp_listener_stop, .-ssdp_listener_stop
	.comm	msearchreply_state_machine_handler,4,4
	.comm	EVENT_TYPE_READ,4,4
	.comm	ELOOP_ALL_CTX,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_wps_upnp_ssdp.c_ssdp_listener_stop.c"
	.text
	.align	2
	.global	ssdp_listener_stop
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssdp_listener_stop, %function
ssdp_listener_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldm	r0, {r0, r3}
	cmp	r3, #0
	bne	.L12
.L2:
	cmn	r0, #1
	beq	.L3
	bl	close
	mvn	r3, #0
	str	r3, [r4]
.L3:
	ldr	r2, .L13
	ldr	r3, .L13+4
	mov	r1, r4
	pop	{r4, lr}
	ldr	r2, [r2]
	ldr	r0, [r3]
	b	eloop_cancel_timeout
.L12:
	ldr	r3, .L13+8
	ldr	r1, [r3]
	bl	eloop_unregister_sock
	mov	r3, #0
	ldr	r0, [r4]
	str	r3, [r4, #4]
	b	.L2
.L14:
	.align	2
.L13:
	.word	ELOOP_ALL_CTX
	.word	msearchreply_state_machine_handler
	.word	EVENT_TYPE_READ
	.size	ssdp_listener_stop, .-ssdp_listener_stop
	.comm	msearchreply_state_machine_handler,4,4
	.comm	EVENT_TYPE_READ,4,4
	.comm	ELOOP_ALL_CTX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
