	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_spec2wmi_ch                ## -- Begin function wil_spec2wmi_ch
	.p2align	4, 0x90
_wil_spec2wmi_ch:                       ## @wil_spec2wmi_ch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	decl	%edi
	cmpl	$11, %edi
	ja	LBB0_13
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_WMI_CHANNEL_1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_WMI_CHANNEL_2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_WMI_CHANNEL_3@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_WMI_CHANNEL_4@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_WMI_CHANNEL_5@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	_WMI_CHANNEL_6@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_9:
	movq	_WMI_CHANNEL_9@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	_WMI_CHANNEL_10@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movq	_WMI_CHANNEL_11@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_12:
	movq	_WMI_CHANNEL_12@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	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_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_WMI_CHANNEL_1,4,2              ## @WMI_CHANNEL_1
	.comm	_WMI_CHANNEL_2,4,2              ## @WMI_CHANNEL_2
	.comm	_WMI_CHANNEL_3,4,2              ## @WMI_CHANNEL_3
	.comm	_WMI_CHANNEL_4,4,2              ## @WMI_CHANNEL_4
	.comm	_WMI_CHANNEL_5,4,2              ## @WMI_CHANNEL_5
	.comm	_WMI_CHANNEL_6,4,2              ## @WMI_CHANNEL_6
	.comm	_WMI_CHANNEL_9,4,2              ## @WMI_CHANNEL_9
	.comm	_WMI_CHANNEL_10,4,2             ## @WMI_CHANNEL_10
	.comm	_WMI_CHANNEL_11,4,2             ## @WMI_CHANNEL_11
	.comm	_WMI_CHANNEL_12,4,2             ## @WMI_CHANNEL_12
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_spec2wmi_ch                ; -- Begin function wil_spec2wmi_ch
	.p2align	2
_wil_spec2wmi_ch:                       ; @wil_spec2wmi_ch
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1
	cmp	w8, #11
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	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	w0, #0
Lloh2:
	adrp	x8, _WMI_CHANNEL_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WMI_CHANNEL_1@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
	mov	w0, #0
Lloh4:
	adrp	x8, _WMI_CHANNEL_2@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WMI_CHANNEL_2@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
	mov	w0, #0
Lloh6:
	adrp	x8, _WMI_CHANNEL_3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WMI_CHANNEL_3@GOTPAGEOFF]
	b	LBB0_13
LBB0_5:
	mov	w0, #0
Lloh8:
	adrp	x8, _WMI_CHANNEL_4@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WMI_CHANNEL_4@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	mov	w0, #0
Lloh10:
	adrp	x8, _WMI_CHANNEL_5@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WMI_CHANNEL_5@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	mov	w0, #0
Lloh12:
	adrp	x8, _WMI_CHANNEL_6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WMI_CHANNEL_6@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
	mov	w0, #0
Lloh17:
	adrp	x8, _WMI_CHANNEL_9@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WMI_CHANNEL_9@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	mov	w0, #0
Lloh19:
	adrp	x8, _WMI_CHANNEL_10@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WMI_CHANNEL_10@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	w0, #0
Lloh21:
	adrp	x8, _WMI_CHANNEL_11@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WMI_CHANNEL_11@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	mov	w0, #0
Lloh23:
	adrp	x8, _WMI_CHANNEL_12@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WMI_CHANNEL_12@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x1]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_WMI_CHANNEL_1,4,2              ; @WMI_CHANNEL_1
	.comm	_WMI_CHANNEL_2,4,2              ; @WMI_CHANNEL_2
	.comm	_WMI_CHANNEL_3,4,2              ; @WMI_CHANNEL_3
	.comm	_WMI_CHANNEL_4,4,2              ; @WMI_CHANNEL_4
	.comm	_WMI_CHANNEL_5,4,2              ; @WMI_CHANNEL_5
	.comm	_WMI_CHANNEL_6,4,2              ; @WMI_CHANNEL_6
	.comm	_WMI_CHANNEL_9,4,2              ; @WMI_CHANNEL_9
	.comm	_WMI_CHANNEL_10,4,2             ; @WMI_CHANNEL_10
	.comm	_WMI_CHANNEL_11,4,2             ; @WMI_CHANNEL_11
	.comm	_WMI_CHANNEL_12,4,2             ; @WMI_CHANNEL_12
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
