	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wmi_set_channel                ## -- Begin function wmi_set_channel
	.p2align	4, 0x90
_wmi_set_channel:                       ## @wmi_set_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_ndev_to_vif
	decl	%ebx
	movl	%ebx, -24(%rbp)
	movq	_WMI_SET_PCP_CHANNEL_CMDID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	leaq	-24(%rbp), %rcx
	movq	%r14, %rdi
	movl	$4, %r8d
	callq	_wmi_send
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_SET_PCP_CHANNEL_CMDID,4,2  ## @WMI_SET_PCP_CHANNEL_CMDID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wmi_set_channel                ; -- Begin function wmi_set_channel
	.p2align	2
_wmi_set_channel:                       ; @wmi_set_channel
	.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, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_ndev_to_vif
	sub	w8, w19, #1
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _WMI_SET_PCP_CHANNEL_CMDID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMI_SET_PCP_CHANNEL_CMDID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0]
	add	x3, sp, #8
	mov	x0, x20
	mov	w4, #4
	bl	_wmi_send
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_SET_PCP_CHANNEL_CMDID,4,2  ; @WMI_SET_PCP_CHANNEL_CMDID
.subsections_via_symbols
