	.file	"extr_wifi.c_wifi_getbroadcast.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d.%d.%d.%d"
	.text
	.p2align 4
	.type	wifi_getbroadcast, @function
wifi_getbroadcast:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, esi
	sub	rsp, 104
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	lea	rsi, 8[rsp]
	call	wifi_get_ip_info@PLT
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	jne	.L2
	mov	rdi, rbp
	call	lua_pushnil@PLT
.L3:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR 8[rsp]
	lea	rdi, 4[rsp]
	lea	r12, 16[rsp]
	not	eax
	or	eax, edx
	mov	DWORD PTR 4[rsp], eax
	call	IP2STR@PLT
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	mov	edx, eax
	call	sprintf@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	lua_pushstring@PLT
	jmp	.L3
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wifi_getbroadcast, .-wifi_getbroadcast
	.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_wifi.c_wifi_getbroadcast.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%d.%d.%d.%d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wifi_getbroadcast, %function
wifi_getbroadcast:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, lr}
	mov	r4, r0
	sub	sp, sp, #80
	mov	r0, r3
	ldr	r3, .L8
	add	r1, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	bl	wifi_get_ip_info
	ldr	r2, [sp, #8]
	cmp	r2, #0
	bne	.L2
	mov	r0, r4
	bl	lua_pushnil
.L3:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, #1
	add	sp, sp, #80
	@ sp needed
	pop	{r4, pc}
.L2:
	ldr	r3, [sp, #4]
	mov	r0, sp
	mvn	r3, r3
	orr	r3, r3, r2
	str	r3, [sp]
	bl	IP2STR
	ldr	r1, .L8+4
	mov	r2, r0
	add	r0, sp, #12
	bl	sprintf
	mov	r0, r4
	add	r1, sp, #12
	bl	lua_pushstring
	b	.L3
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC1
	.word	.LC0
	.size	wifi_getbroadcast, .-wifi_getbroadcast
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
