	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbtf_set_channel               ## -- Begin function lbtf_set_channel
	.p2align	4, 0x90
_lbtf_set_channel:                      ## @lbtf_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_LBTF_DEB_CMD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_lbtf_deb_enter
	movl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, -32(%rbp)
	movq	_CMD_OPT_802_11_RF_CHANNEL_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -40(%rbp)
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
	movq	_CMD_802_11_RF_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_lbtf_cmd_with_response
	movl	%eax, %ebx
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_lbtf_deb_leave_args
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBTF_DEB_CMD,4,2               ## @LBTF_DEB_CMD
	.comm	_CMD_OPT_802_11_RF_CHANNEL_SET,4,2 ## @CMD_OPT_802_11_RF_CHANNEL_SET
	.comm	_CMD_802_11_RF_CHANNEL,4,2      ## @CMD_802_11_RF_CHANNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ret %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbtf_set_channel               ; -- Begin function lbtf_set_channel
	.p2align	2
_lbtf_set_channel:                      ; @lbtf_set_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _LBTF_DEB_CMD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LBTF_DEB_CMD@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_lbtf_deb_enter
	mov	w0, #24
	bl	_cpu_to_le16
	str	x0, [sp, #24]
Lloh2:
	adrp	x8, _CMD_OPT_802_11_RF_CHANNEL_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_OPT_802_11_RF_CHANNEL_SET@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [sp, #16]
	mov	x0, x19
	bl	_cpu_to_le16
	str	x0, [sp, #8]
Lloh5:
	adrp	x8, _CMD_802_11_RF_CHANNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_802_11_RF_CHANNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_lbtf_cmd_with_response
	mov	x19, x0
	ldr	w0, [x21]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_lbtf_deb_leave_args
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LBTF_DEB_CMD,4,2               ; @LBTF_DEB_CMD
	.comm	_CMD_OPT_802_11_RF_CHANNEL_SET,4,2 ; @CMD_OPT_802_11_RF_CHANNEL_SET
	.comm	_CMD_802_11_RF_CHANNEL,4,2      ; @CMD_802_11_RF_CHANNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ret %d"

.subsections_via_symbols
