	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_do_sysctl                 ## -- Begin function wlan_do_sysctl
	.p2align	4, 0x90
_wlan_do_sysctl:                        ## @wlan_do_sysctl
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%edx, %edx
	je	LBB0_16
## %bb.1:
	leal	-128(%r13), %eax
	cmpl	$10, %eax
	ja	LBB0_2
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	(%r14), %eax
	jmp	LBB0_5
LBB0_16:
	movq	_WLAN_SYSCTL_MAX@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	xorl	%r12d, %r12d
	movl	$0, %r15d
	cmpl	%r13d, (%rcx)
	ja	LBB0_17
	jmp	LBB0_34
LBB0_2:
	movl	$-1, %eax
	jmp	LBB0_34
LBB0_8:
	movl	12(%r14), %eax
	jmp	LBB0_5
LBB0_6:
	movl	4(%r14), %eax
	jmp	LBB0_5
LBB0_7:
	movl	8(%r14), %eax
	jmp	LBB0_5
LBB0_9:
	movl	16(%r14), %eax
	jmp	LBB0_5
LBB0_12:
	movl	28(%r14), %eax
	jmp	LBB0_5
LBB0_13:
	movl	32(%r14), %eax
	jmp	LBB0_5
LBB0_10:
	movl	20(%r14), %eax
	jmp	LBB0_5
LBB0_14:
	movl	36(%r14), %eax
	jmp	LBB0_5
LBB0_11:
	movl	24(%r14), %eax
	jmp	LBB0_5
LBB0_15:
	movl	40(%r14), %eax
LBB0_5:
	movl	%eax, -164(%rbp)
	movl	$4, %r15d
	leaq	-164(%rbp), %r12
LBB0_17:
	movq	_wlan_sysctl_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-160(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$100, %edx
	callq	_strlcpy
	movq	_wlan_sysctl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r13d, %ecx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	movl	$100, %edx
	callq	_strlcat
	movq	$4, -176(%rbp)
	leaq	-168(%rbp), %rsi
	leaq	-176(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	movq	%r15, %r8
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_18
## %bb.19:
	addl	$-128, %r13d
	cmpl	$10, %r13d
	ja	LBB0_31
## %bb.20:
	leaq	LJTI0_1(%rip), %rax
	movslq	(%rax,%r13,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_32:
	movl	-168(%rbp), %eax
	movl	%eax, (%r14)
	jmp	LBB0_33
LBB0_18:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	leaq	-160(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %ecx
	callq	_syslog
	movl	$-1, %eax
	jmp	LBB0_34
LBB0_23:
	movl	-168(%rbp), %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_33
LBB0_21:
	movl	-168(%rbp), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_33
LBB0_22:
	movl	-168(%rbp), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_33
LBB0_24:
	movl	-168(%rbp), %eax
	movl	%eax, 16(%r14)
	jmp	LBB0_33
LBB0_27:
	movl	-168(%rbp), %eax
	movl	%eax, 28(%r14)
	jmp	LBB0_33
LBB0_28:
	movl	-168(%rbp), %eax
	movl	%eax, 32(%r14)
	jmp	LBB0_33
LBB0_25:
	movl	-168(%rbp), %eax
	movl	%eax, 20(%r14)
	jmp	LBB0_33
LBB0_29:
	movl	-168(%rbp), %eax
	movl	%eax, 36(%r14)
	jmp	LBB0_33
LBB0_26:
	movl	-168(%rbp), %eax
	movl	%eax, 24(%r14)
	jmp	LBB0_33
LBB0_30:
	movl	-168(%rbp), %eax
	movl	%eax, 40(%r14)
LBB0_33:
	xorl	%eax, %eax
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_36
## %bb.35:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	callq	___stack_chk_fail
LBB0_31:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_15
.set L0_1_set_32, LBB0_32-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
LJTI0_1:
	.long	L0_1_set_32
	.long	L0_1_set_23
	.long	L0_1_set_21
	.long	L0_1_set_22
	.long	L0_1_set_24
	.long	L0_1_set_27
	.long	L0_1_set_28
	.long	L0_1_set_25
	.long	L0_1_set_29
	.long	L0_1_set_26
	.long	L0_1_set_30
	.end_data_region
                                        ## -- End function
	.comm	_WLAN_SYSCTL_MAX,4,2            ## @WLAN_SYSCTL_MAX
	.comm	_wlan_sysctl_name,4,2           ## @wlan_sysctl_name
	.comm	_wlan_sysctl,8,3                ## @wlan_sysctl
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sysctl(%s) failed - %s"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlan_do_sysctl                 ; -- Begin function wlan_do_sysctl
	.p2align	2
_wlan_do_sysctl:                        ; @wlan_do_sysctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	w2, LBB0_4
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #10
	b.hi	LBB0_22
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x19]
	b	LBB0_16
LBB0_4:
Lloh5:
	adrp	x8, _WLAN_SYSCTL_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WLAN_SYSCTL_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ls	LBB0_22
; %bb.5:
	mov	x21, #0
	mov	x22, #0
	b	LBB0_17
LBB0_6:
	ldr	w8, [x19, #12]
	b	LBB0_16
LBB0_7:
	ldr	w8, [x19, #4]
	b	LBB0_16
LBB0_8:
	ldr	w8, [x19, #8]
	b	LBB0_16
LBB0_9:
	ldr	w8, [x19, #16]
	b	LBB0_16
LBB0_10:
	ldr	w8, [x19, #28]
	b	LBB0_16
LBB0_11:
	ldr	w8, [x19, #32]
	b	LBB0_16
LBB0_12:
	ldr	w8, [x19, #20]
	b	LBB0_16
LBB0_13:
	ldr	w8, [x19, #36]
	b	LBB0_16
LBB0_14:
	ldr	w8, [x19, #24]
	b	LBB0_16
LBB0_15:
	ldr	w8, [x19, #40]
LBB0_16:
	str	w8, [sp, #12]
	add	x21, sp, #12
	mov	w22, #4
LBB0_17:
Lloh8:
	adrp	x8, _wlan_sysctl_name@GOTPAGE
Lloh9:
	ldr	x8, [x8, _wlan_sysctl_name@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #20
	mov	w2, #100
	bl	_strlcpy
Lloh11:
	adrp	x8, _wlan_sysctl@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wlan_sysctl@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w1, [x8, w20, uxtw #2]
	add	x0, sp, #20
	mov	w2, #100
	bl	_strlcat
	mov	w8, #4
	str	x8, [sp]
	add	x0, sp, #20
	add	x1, sp, #16
	mov	x2, sp
	mov	x3, x21
	mov	x4, x22
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_21
; %bb.18:
	sub	w8, w20, #128
	cmp	w8, #10
	b.hi	LBB0_36
; %bb.19:
Lloh14:
	adrp	x9, lJTI0_1@PAGE
Lloh15:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_20
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_20:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19]
	b	LBB0_23
LBB0_21:
Lloh16:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh18:
	ldr	w19, [x8]
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #20
	mov	x0, x19
	bl	_syslog
LBB0_22:
	mov	w0, #-1
LBB0_23:
	ldur	x8, [x29, #-40]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.24:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_25:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #12]
	b	LBB0_23
LBB0_26:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #4]
	b	LBB0_23
LBB0_27:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #8]
	b	LBB0_23
LBB0_28:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #16]
	b	LBB0_23
LBB0_29:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #28]
	b	LBB0_23
LBB0_30:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #32]
	b	LBB0_23
LBB0_31:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #20]
	b	LBB0_23
LBB0_32:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #36]
	b	LBB0_23
LBB0_33:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #24]
	b	LBB0_23
LBB0_34:
	mov	w0, #0
	ldr	w8, [sp, #16]
	str	w8, [x19, #40]
	b	LBB0_23
LBB0_35:
	bl	___stack_chk_fail
LBB0_36:
	bl	_abort
	.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 AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_25-LBB0_20)>>2
	.byte	(LBB0_26-LBB0_20)>>2
	.byte	(LBB0_27-LBB0_20)>>2
	.byte	(LBB0_28-LBB0_20)>>2
	.byte	(LBB0_29-LBB0_20)>>2
	.byte	(LBB0_30-LBB0_20)>>2
	.byte	(LBB0_31-LBB0_20)>>2
	.byte	(LBB0_32-LBB0_20)>>2
	.byte	(LBB0_33-LBB0_20)>>2
	.byte	(LBB0_34-LBB0_20)>>2
                                        ; -- End function
	.comm	_WLAN_SYSCTL_MAX,4,2            ; @WLAN_SYSCTL_MAX
	.comm	_wlan_sysctl_name,4,2           ; @wlan_sysctl_name
	.comm	_wlan_sysctl,8,3                ; @wlan_sysctl
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sysctl(%s) failed - %s"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
