	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_update_interface
_wlan_update_interface:                 ## @wlan_update_interface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%esi, %esi
	callq	_wlan_config_state
	movq	%r14, %rdi
	callq	_wlan_get_driver_caps
	movq	_LEAF_wlanIfacePacketBurst@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LEAF_wlanIfaceTdmaBeaconInterval@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jg	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wlan_config_get_ioctl
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_1
LBB0_2:
	movq	%r14, %rdi
	callq	_wlan_get_stats
	movq	%r14, %rdi
	callq	_wlan_get_channel_list
	movq	%r14, %rdi
	callq	_wlan_get_roam_params
	movq	%r14, %rdi
	callq	_wlan_get_tx_params
	movq	%r14, %rdi
	callq	_wlan_get_scan_results
	movq	%r14, %rdi
	callq	_wlan_get_wepmode
	movq	%r14, %rdi
	callq	_wlan_get_weptxkey
	movq	%r14, %rdi
	callq	_wlan_get_mac_policy
	movq	%r14, %rdi
	callq	_wlan_get_mac_acl_macs
	movq	%r14, %rdi
	callq	_wlan_get_peerinfo
	movq	(%r14), %rax
	movq	_WlanIfaceOperatingModeType_meshPoint@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	_LEAF_wlanMeshTTL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LEAF_wlanMeshPath@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jg	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wlan_mesh_config_get
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	callq	_wlan_mesh_get_routelist
	movq	_LEAF_wlanHWMPRootMode@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_LEAF_wlanHWMPMaxHops@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jg	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wlan_hwmp_config_get
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEAF_wlanIfacePacketBurst,4,2  ## @LEAF_wlanIfacePacketBurst
	.comm	_LEAF_wlanIfaceTdmaBeaconInterval,4,2 ## @LEAF_wlanIfaceTdmaBeaconInterval
	.comm	_WlanIfaceOperatingModeType_meshPoint,8,3 ## @WlanIfaceOperatingModeType_meshPoint
	.comm	_LEAF_wlanMeshTTL,4,2           ## @LEAF_wlanMeshTTL
	.comm	_LEAF_wlanMeshPath,4,2          ## @LEAF_wlanMeshPath
	.comm	_LEAF_wlanHWMPRootMode,4,2      ## @LEAF_wlanHWMPRootMode
	.comm	_LEAF_wlanHWMPMaxHops,4,2       ## @LEAF_wlanHWMPMaxHops
	.no_dead_strip	_wlan_update_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_update_interface
_wlan_update_interface:                 ; @wlan_update_interface
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	mov	w1, #0
	bl	_wlan_config_state
	mov	x0, x19
	bl	_wlan_get_driver_caps
Lloh0:
	adrp	x8, _LEAF_wlanIfacePacketBurst@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEAF_wlanIfacePacketBurst@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x21, _LEAF_wlanIfaceTdmaBeaconInterval@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LEAF_wlanIfaceTdmaBeaconInterval@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.gt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_wlan_config_get_ioctl
	add	w8, w20, #1
	ldr	w9, [x21]
	cmp	w20, w9
	mov	x20, x8
	b.lt	LBB0_1
LBB0_2:
	mov	x0, x19
	bl	_wlan_get_stats
	mov	x0, x19
	bl	_wlan_get_channel_list
	mov	x0, x19
	bl	_wlan_get_roam_params
	mov	x0, x19
	bl	_wlan_get_tx_params
	mov	x0, x19
	bl	_wlan_get_scan_results
	mov	x0, x19
	bl	_wlan_get_wepmode
	mov	x0, x19
	bl	_wlan_get_weptxkey
	mov	x0, x19
	bl	_wlan_get_mac_policy
	mov	x0, x19
	bl	_wlan_get_mac_acl_macs
	mov	x0, x19
	bl	_wlan_get_peerinfo
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _WlanIfaceOperatingModeType_meshPoint@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WlanIfaceOperatingModeType_meshPoint@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
Lloh8:
	adrp	x8, _LEAF_wlanMeshTTL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LEAF_wlanMeshTTL@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x21, _LEAF_wlanMeshPath@GOTPAGE
Lloh12:
	ldr	x21, [x21, _LEAF_wlanMeshPath@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.gt	LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_wlan_mesh_config_get
	add	w8, w20, #1
	ldr	w9, [x21]
	cmp	w20, w9
	mov	x20, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_wlan_mesh_get_routelist
Lloh13:
	adrp	x8, _LEAF_wlanHWMPRootMode@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LEAF_wlanHWMPRootMode@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
Lloh16:
	adrp	x21, _LEAF_wlanHWMPMaxHops@GOTPAGE
Lloh17:
	ldr	x21, [x21, _LEAF_wlanHWMPMaxHops@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.gt	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_wlan_hwmp_config_get
	add	w8, w20, #1
	ldr	w9, [x21]
	cmp	w20, w9
	mov	x20, x8
	b.lt	LBB0_6
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LEAF_wlanIfacePacketBurst,4,2  ; @LEAF_wlanIfacePacketBurst
	.comm	_LEAF_wlanIfaceTdmaBeaconInterval,4,2 ; @LEAF_wlanIfaceTdmaBeaconInterval
	.comm	_WlanIfaceOperatingModeType_meshPoint,8,3 ; @WlanIfaceOperatingModeType_meshPoint
	.comm	_LEAF_wlanMeshTTL,4,2           ; @LEAF_wlanMeshTTL
	.comm	_LEAF_wlanMeshPath,4,2          ; @LEAF_wlanMeshPath
	.comm	_LEAF_wlanHWMPRootMode,4,2      ; @LEAF_wlanHWMPRootMode
	.comm	_LEAF_wlanHWMPMaxHops,4,2       ; @LEAF_wlanHWMPMaxHops
	.no_dead_strip	_wlan_update_interface
.subsections_via_symbols
