	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set80211chanswitch
_set80211chanswitch:                    ## @set80211chanswitch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	movq	%rdi, %rdx
	leaq	-16(%rbp), %rsi
	movl	%ebx, %edi
	callq	_getchannel
	movabsq	$21474836481, %rax              ## imm = 0x500000001
	movq	%rax, -24(%rbp)
	movq	_IEEE80211_IOC_CHANSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %r8
	movl	%ebx, %edi
	xorl	%edx, %edx
	movl	$12, %ecx
	callq	_set80211
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_IOC_CHANSWITCH,4,2   ## @IEEE80211_IOC_CHANSWITCH
	.no_dead_strip	_set80211chanswitch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function set80211chanswitch
lCPI0_0:
	.long	1                               ; 0x1
	.long	5                               ; 0x5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_set80211chanswitch:                    ; @set80211chanswitch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x2, x0
	mov	x8, sp
	add	x1, x8, #8
	mov	x0, x19
	bl	_getchannel
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
Lloh2:
	adrp	x8, _IEEE80211_IOC_CHANSWITCH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_IOC_CHANSWITCH@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x4, sp
	mov	x0, x19
	mov	w2, #0
	mov	w3, #12
	bl	_set80211
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_IOC_CHANSWITCH,4,2   ; @IEEE80211_IOC_CHANSWITCH
	.no_dead_strip	_set80211chanswitch
.subsections_via_symbols
