	.file	"extr_wlan_snmp.c_wlan_update_interface.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wlan_update_interface, @function
wlan_update_interface:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	esi, esi
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	wlan_config_state@PLT
	mov	rdi, rbp
	call	wlan_get_driver_caps@PLT
	mov	ebx, DWORD PTR LEAF_wlanIfacePacketBurst[rip]
	cmp	ebx, DWORD PTR LEAF_wlanIfaceTdmaBeaconInterval[rip]
	jg	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, ebx
	mov	rdi, rbp
	add	ebx, 1
	call	wlan_config_get_ioctl@PLT
	cmp	DWORD PTR LEAF_wlanIfaceTdmaBeaconInterval[rip], ebx
	jge	.L3
.L2:
	mov	rdi, rbp
	call	wlan_get_stats@PLT
	mov	rdi, rbp
	call	wlan_get_channel_list@PLT
	mov	rdi, rbp
	call	wlan_get_roam_params@PLT
	mov	rdi, rbp
	call	wlan_get_tx_params@PLT
	mov	rdi, rbp
	call	wlan_get_scan_results@PLT
	mov	rdi, rbp
	call	wlan_get_wepmode@PLT
	mov	rdi, rbp
	call	wlan_get_weptxkey@PLT
	mov	rdi, rbp
	call	wlan_get_mac_policy@PLT
	mov	rdi, rbp
	call	wlan_get_mac_acl_macs@PLT
	mov	rdi, rbp
	call	wlan_get_peerinfo@PLT
	mov	rax, QWORD PTR WlanIfaceOperatingModeType_meshPoint[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L13
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	ebx, DWORD PTR LEAF_wlanMeshTTL[rip]
	cmp	ebx, DWORD PTR LEAF_wlanMeshPath[rip]
	jg	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, ebx
	mov	rdi, rbp
	add	ebx, 1
	call	wlan_mesh_config_get@PLT
	cmp	DWORD PTR LEAF_wlanMeshPath[rip], ebx
	jge	.L6
.L5:
	mov	rdi, rbp
	call	wlan_mesh_get_routelist@PLT
	mov	ebx, DWORD PTR LEAF_wlanHWMPRootMode[rip]
	cmp	ebx, DWORD PTR LEAF_wlanHWMPMaxHops[rip]
	jg	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, ebx
	mov	rdi, rbp
	add	ebx, 1
	call	wlan_hwmp_config_get@PLT
	cmp	DWORD PTR LEAF_wlanHWMPMaxHops[rip], ebx
	jge	.L7
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	wlan_update_interface, .-wlan_update_interface
	.comm	WlanIfaceOperatingModeType_meshPoint,8,8
	.comm	LEAF_wlanMeshTTL,4,4
	.comm	LEAF_wlanMeshPath,4,4
	.comm	LEAF_wlanIfaceTdmaBeaconInterval,4,4
	.comm	LEAF_wlanIfacePacketBurst,4,4
	.comm	LEAF_wlanHWMPRootMode,4,4
	.comm	LEAF_wlanHWMPMaxHops,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_wlan_snmp.c_wlan_update_interface.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlan_update_interface, %function
wlan_update_interface:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r1, #0
	bl	wlan_config_state
	mov	r0, r5
	bl	wlan_get_driver_caps
	ldr	r6, .L14
	ldr	r2, .L14+4
	ldr	r3, [r6]
	ldr	r4, [r2]
	cmp	r4, r3
	bgt	.L2
.L3:
	mov	r1, r4
	mov	r0, r5
	bl	wlan_config_get_ioctl
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bge	.L3
.L2:
	mov	r0, r5
	bl	wlan_get_stats
	mov	r0, r5
	bl	wlan_get_channel_list
	mov	r0, r5
	bl	wlan_get_roam_params
	mov	r0, r5
	bl	wlan_get_tx_params
	mov	r0, r5
	bl	wlan_get_scan_results
	mov	r0, r5
	bl	wlan_get_wepmode
	mov	r0, r5
	bl	wlan_get_weptxkey
	mov	r0, r5
	bl	wlan_get_mac_policy
	mov	r0, r5
	bl	wlan_get_mac_acl_macs
	mov	r0, r5
	bl	wlan_get_peerinfo
	ldr	r3, .L14+8
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L13
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, .L14+12
	ldr	r6, .L14+16
	ldr	r4, [r3]
	ldr	r3, [r6]
	cmp	r4, r3
	bgt	.L5
.L6:
	mov	r1, r4
	mov	r0, r5
	bl	wlan_mesh_config_get
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bge	.L6
.L5:
	mov	r0, r5
	bl	wlan_mesh_get_routelist
	ldr	r6, .L14+20
	ldr	r2, .L14+24
	ldr	r3, [r6]
	ldr	r4, [r2]
	cmp	r4, r3
	bgt	.L4
.L7:
	mov	r1, r4
	mov	r0, r5
	bl	wlan_hwmp_config_get
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bge	.L7
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	LEAF_wlanIfaceTdmaBeaconInterval
	.word	LEAF_wlanIfacePacketBurst
	.word	WlanIfaceOperatingModeType_meshPoint
	.word	LEAF_wlanMeshTTL
	.word	LEAF_wlanMeshPath
	.word	LEAF_wlanHWMPMaxHops
	.word	LEAF_wlanHWMPRootMode
	.size	wlan_update_interface, .-wlan_update_interface
	.comm	WlanIfaceOperatingModeType_meshPoint,4,4
	.comm	LEAF_wlanMeshTTL,4,4
	.comm	LEAF_wlanMeshPath,4,4
	.comm	LEAF_wlanIfaceTdmaBeaconInterval,4,4
	.comm	LEAF_wlanIfacePacketBurst,4,4
	.comm	LEAF_wlanHWMPRootMode,4,4
	.comm	LEAF_wlanHWMPMaxHops,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
