	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfg80211_wext_siwfreq
_cfg80211_wext_siwfreq:                 ## @cfg80211_wext_siwfreq
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movl	4(%rbx), %edi
	callq	_wiphy_to_dev
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	_NL80211_CHAN_WIDTH_20_NOHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movl	(%rbx), %edx
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_mgd_wext_siwfreq      ## TAILCALL
LBB0_13:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	%rax, %r14
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	callq	_cfg80211_wext_freq
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_15
## %bb.5:
	je	LBB0_6
## %bb.7:
	movl	%r15d, -64(%rbp)
	movq	%r14, %rbx
	movq	%r14, %rdi
	addq	$4, %rdi
	movl	%r15d, %esi
	callq	_ieee80211_get_channel
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rbx, %rdi
	callq	_mutex_lock
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_cfg80211_set_monitor_channel
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	jmp	LBB0_15
LBB0_9:
	movq	%rax, %r14
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	callq	_cfg80211_wext_freq
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_15
## %bb.10:
	je	LBB0_6
## %bb.11:
	movl	%r15d, -64(%rbp)
	movq	%r14, %rdi
	addq	$4, %rdi
	movl	%r15d, %esi
	callq	_ieee80211_get_channel
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.12:
	movq	%r14, %rdi
	callq	_mutex_lock
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_cfg80211_set_mesh_channel
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_15
LBB0_3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_ibss_wext_siwfreq     ## TAILCALL
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_14:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_NL80211_CHAN_WIDTH_20_NOHT,4,2 ## @NL80211_CHAN_WIDTH_20_NOHT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_cfg80211_wext_siwfreq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfg80211_wext_siwfreq
_cfg80211_wext_siwfreq:                 ; @cfg80211_wext_siwfreq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x21, [x0]
	ldr	w0, [x21, #4]
	bl	_wiphy_to_dev
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _NL80211_CHAN_WIDTH_20_NOHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_CHAN_WIDTH_20_NOHT@GOTPAGEOFF]
	stp	xzr, xzr, [sp, #8]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %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	x0, x24
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_cfg80211_mgd_wext_siwfreq
LBB0_3:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_15
LBB0_4:
	ldr	w0, [x21, #4]
	mov	x1, x20
	bl	_cfg80211_wext_freq
	mov	x20, x0
	tbnz	w0, #31, LBB0_16
; %bb.5:
	cbz	w20, LBB0_14
; %bb.6:
	str	w20, [sp, #8]
	add	x0, x19, #4
	mov	x1, x20
	bl	_ieee80211_get_channel
	str	x0, [sp, #16]
	cbz	x0, LBB0_14
; %bb.7:
	mov	x0, x19
	bl	_mutex_lock
	add	x1, sp, #8
	mov	x0, x19
	bl	_cfg80211_set_monitor_channel
	b	LBB0_12
LBB0_8:
	ldr	w0, [x21, #4]
	mov	x1, x20
	bl	_cfg80211_wext_freq
	mov	x20, x0
	tbnz	w0, #31, LBB0_16
; %bb.9:
	cbz	w20, LBB0_14
; %bb.10:
	str	w20, [sp, #8]
	add	x0, x19, #4
	mov	x1, x20
	bl	_ieee80211_get_channel
	str	x0, [sp, #16]
	cbz	x0, LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_mutex_lock
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_cfg80211_set_mesh_channel
LBB0_12:
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_16
LBB0_13:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_cfg80211_ibss_wext_siwfreq
LBB0_14:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_NL80211_CHAN_WIDTH_20_NOHT,4,2 ; @NL80211_CHAN_WIDTH_20_NOHT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_cfg80211_wext_siwfreq
.subsections_via_symbols
