	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_mesh_config_set           ## -- Begin function wlan_mesh_config_set
	.p2align	4, 0x90
_wlan_mesh_config_set:                  ## @wlan_mesh_config_set
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$0, -164(%rbp)
	movq	$0, -176(%rbp)
	movl	$-1, %eax
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_15
## %bb.1:
	movq	%rdi, %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_IEEE80211_IOC_MESH_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r15), %eax
	movl	%eax, -164(%rbp)
	jmp	LBB0_13
LBB0_3:
	movq	_IEEE80211_IOC_MESH_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	20(%r15), %eax
	movq	_wlanMeshPeeringEnabled_true@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.4:
	movl	$1, -164(%rbp)
	jmp	LBB0_13
LBB0_5:
	movl	8(%r15), %ecx
	movq	_wlanMeshPath_hwmp@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_15
## %bb.6:
	movq	_IEEE80211_IOC_MESH_PR_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-160(%rbp), %rbx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	movl	12(%r15), %ecx
	movq	_wlanMeshMetric_airtime@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_15
## %bb.8:
	movq	_IEEE80211_IOC_MESH_PR_METRIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-160(%rbp), %rbx
	leaq	L_.str(%rip), %rsi
LBB0_9:
	movq	%rbx, %rdi
	callq	_strcpy
	movq	$128, -176(%rbp)
	jmp	LBB0_14
LBB0_10:
	movl	16(%r15), %eax
	movq	_wlanMeshForwardingEnabled_true@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.11:
	movl	$1, -164(%rbp)
LBB0_12:
	movq	_IEEE80211_IOC_MESH_FWRD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movl	4(%r15), %edi
	leaq	-164(%rbp), %rdx
	leaq	-176(%rbp), %r8
	movl	%r14d, %esi
	movq	%rbx, %rcx
	movl	$1, %r9d
	callq	_wlan_ioctl
	sarq	$63, %rax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_IOC_MESH_TTL,4,2     ## @IEEE80211_IOC_MESH_TTL
	.comm	_IEEE80211_IOC_MESH_AP,4,2      ## @IEEE80211_IOC_MESH_AP
	.comm	_wlanMeshPeeringEnabled_true,4,2 ## @wlanMeshPeeringEnabled_true
	.comm	_wlanMeshForwardingEnabled_true,4,2 ## @wlanMeshForwardingEnabled_true
	.comm	_IEEE80211_IOC_MESH_FWRD,4,2    ## @IEEE80211_IOC_MESH_FWRD
	.comm	_IEEE80211_IOC_MESH_PR_METRIC,4,2 ## @IEEE80211_IOC_MESH_PR_METRIC
	.comm	_wlanMeshMetric_airtime,4,2     ## @wlanMeshMetric_airtime
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AIRTIME"

	.comm	_IEEE80211_IOC_MESH_PR_PATH,4,2 ## @IEEE80211_IOC_MESH_PR_PATH
	.comm	_wlanMeshPath_hwmp,4,2          ## @wlanMeshPath_hwmp
L_.str.1:                               ## @.str.1
	.asciz	"HWMP"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_mesh_config_set           ; -- Begin function wlan_mesh_config_set
	.p2align	2
_wlan_mesh_config_set:                  ; @wlan_mesh_config_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	wzr, [sp, #20]
	str	xzr, [sp, #8]
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x21, #0
Lloh5:
	adrp	x8, _IEEE80211_IOC_MESH_TTL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_IOC_MESH_TTL@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	ldr	w8, [x19]
	str	w8, [sp, #20]
	b	LBB0_15
LBB0_3:
Lloh8:
	adrp	x8, _IEEE80211_IOC_MESH_AP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_IOC_MESH_AP@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	ldr	w8, [x19, #20]
Lloh11:
	adrp	x9, _wlanMeshPeeringEnabled_true@GOTPAGE
Lloh12:
	ldr	x9, [x9, _wlanMeshPeeringEnabled_true@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.4:
	mov	x21, #0
	mov	w8, #1
	str	w8, [sp, #20]
	b	LBB0_15
LBB0_5:
	ldr	w8, [x19, #8]
Lloh14:
	adrp	x9, _wlanMeshPath_hwmp@GOTPAGE
Lloh15:
	ldr	x9, [x9, _wlanMeshPath_hwmp@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.6:
Lloh17:
	adrp	x8, _IEEE80211_IOC_MESH_PR_PATH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IEEE80211_IOC_MESH_PR_PATH@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	add	x21, sp, #24
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
	ldr	w8, [x19, #12]
Lloh22:
	adrp	x9, _wlanMeshMetric_airtime@GOTPAGE
Lloh23:
	ldr	x9, [x9, _wlanMeshMetric_airtime@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
Lloh25:
	adrp	x8, _IEEE80211_IOC_MESH_PR_METRIC@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IEEE80211_IOC_MESH_PR_METRIC@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
	add	x21, sp, #24
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	add	x0, sp, #24
	bl	_strcpy
	mov	w8, #128
	str	x8, [sp, #8]
	b	LBB0_15
LBB0_10:
	mov	w0, #-1
	b	LBB0_16
LBB0_11:
	ldr	w8, [x19, #16]
Lloh30:
	adrp	x9, _wlanMeshForwardingEnabled_true@GOTPAGE
Lloh31:
	ldr	x9, [x9, _wlanMeshForwardingEnabled_true@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [sp, #20]
LBB0_13:
	mov	x21, #0
Lloh33:
	adrp	x8, _IEEE80211_IOC_MESH_FWRD@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IEEE80211_IOC_MESH_FWRD@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
	b	LBB0_15
LBB0_14:
	mov	x21, #0
LBB0_15:
	ldr	w0, [x19, #4]
	add	x2, sp, #20
	add	x4, sp, #8
	mov	x1, x20
	mov	x3, x21
	mov	w5, #1
	bl	_wlan_ioctl
	asr	x0, x0, #63
LBB0_16:
	ldur	x8, [x29, #-40]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_IEEE80211_IOC_MESH_TTL,4,2     ; @IEEE80211_IOC_MESH_TTL
	.comm	_IEEE80211_IOC_MESH_AP,4,2      ; @IEEE80211_IOC_MESH_AP
	.comm	_wlanMeshPeeringEnabled_true,4,2 ; @wlanMeshPeeringEnabled_true
	.comm	_wlanMeshForwardingEnabled_true,4,2 ; @wlanMeshForwardingEnabled_true
	.comm	_IEEE80211_IOC_MESH_FWRD,4,2    ; @IEEE80211_IOC_MESH_FWRD
	.comm	_IEEE80211_IOC_MESH_PR_METRIC,4,2 ; @IEEE80211_IOC_MESH_PR_METRIC
	.comm	_wlanMeshMetric_airtime,4,2     ; @wlanMeshMetric_airtime
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AIRTIME"

	.comm	_IEEE80211_IOC_MESH_PR_PATH,4,2 ; @IEEE80211_IOC_MESH_PR_PATH
	.comm	_wlanMeshPath_hwmp,4,2          ; @wlanMeshPath_hwmp
l_.str.1:                               ; @.str.1
	.asciz	"HWMP"

.subsections_via_symbols
