	.file	"extr_hostapd_cli.c_hostapd_cli_ping.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PING"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Connection to hostapd lost - trying to reconnect\n"
	.align 8
.LC2:
	.string	"Connection to hostapd re-established\n"
	.text
	.p2align 4
	.type	hostapd_cli_ping, @function
hostapd_cli_ping:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdi, QWORD PTR ctrl_conn[rip]
	test	rdi, rdi
	jne	.L2
.L6:
	mov	edi, DWORD PTR ctrl_ifname[rip]
	call	hostapd_cli_reconnect@PLT
	test	rax, rax
	je	.L20
.L4:
	mov	rdi, QWORD PTR ctrl_conn[rip]
	test	rdi, rdi
	jne	.L7
.L8:
	mov	edi, DWORD PTR ping_interval[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	xor	esi, esi
	lea	rdx, hostapd_cli_ping[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	eloop_register_timeout@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edx, edx
	lea	rsi, .LC0[rip]
	call	_wpa_ctrl_command@PLT
	test	rax, rax
	jne	.L21
.L5:
	mov	rdi, QWORD PTR ctrl_conn[rip]
	test	rdi, rdi
	je	.L6
.L7:
	xor	edx, edx
	mov	esi, 1
	call	hostapd_cli_recv_pending@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rdi, .LC2[rip]
	call	printf@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rdi, .LC1[rip]
	call	printf@PLT
	xor	eax, eax
	call	hostapd_cli_close_connection@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	hostapd_cli_ping, .-hostapd_cli_ping
	.comm	ping_interval,4,4
	.comm	ctrl_ifname,4,4
	.comm	ctrl_conn,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_hostapd_cli.c_hostapd_cli_ping.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PING\000"
	.align	2
.LC1:
	.ascii	"Connection to hostapd lost - trying to reconnect\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Connection to hostapd re-established\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hostapd_cli_ping, %function
hostapd_cli_ping:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L22
	sub	sp, sp, #8
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L2
.L6:
	ldr	r3, .L22+4
	ldr	r0, [r3]
	bl	hostapd_cli_reconnect
	cmp	r0, #0
	beq	.L20
.L4:
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L7
.L8:
	mov	r3, #0
	ldr	r2, .L22+8
	str	r3, [sp]
	mov	r1, r3
	ldr	r0, [r2]
	ldr	r2, .L22+12
	bl	eloop_register_timeout
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L2:
	mov	r2, #0
	ldr	r1, .L22+16
	bl	_wpa_ctrl_command
	cmp	r0, #0
	bne	.L21
.L5:
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L6
.L7:
	mov	r2, #0
	mov	r1, #1
	bl	hostapd_cli_recv_pending
	b	.L8
.L20:
	ldr	r0, .L22+20
	bl	printf
	b	.L4
.L21:
	ldr	r0, .L22+24
	bl	printf
	bl	hostapd_cli_close_connection
	b	.L5
.L23:
	.align	2
.L22:
	.word	ctrl_conn
	.word	ctrl_ifname
	.word	ping_interval
	.word	hostapd_cli_ping
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.size	hostapd_cli_ping, .-hostapd_cli_ping
	.comm	ping_interval,4,4
	.comm	ctrl_ifname,4,4
	.comm	ctrl_conn,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
