	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chan_to_phymode
_chan_to_phymode:                       ## @chan_to_phymode
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MODE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rcx
	movl	(%rcx), %edx
	cmpl	$136, %edx
	je	LBB0_10
## %bb.1:
	movl	%eax, %ebx
	cmpl	$137, %edx
	jne	LBB0_19
## %bb.2:
	movl	(%rdi), %edx
	cmpl	$131, %edx
	je	LBB0_9
## %bb.3:
	cmpl	$133, %edx
	je	LBB0_8
## %bb.4:
	movl	%eax, %ebx
	cmpl	$132, %edx
	jne	LBB0_19
## %bb.5:
	movq	_IEEE80211_CHAN_NO_OFDM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 4(%rcx)
	je	LBB0_7
## %bb.6:
	movq	_MODE_11B@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_10:
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	movl	%eax, %ebx
	cmpl	$6, %ecx
	ja	LBB0_19
## %bb.11:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	movl	%eax, %ebx
	jmpq	*%rcx
LBB0_17:
	movq	_MODE_11AC_VHT80_80@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_9:
	movq	_MODE_11NG_HT40@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_8:
	movq	_MODE_11NG_HT20@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_15:
	movq	_MODE_11AC_VHT80@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_14:
	movq	_MODE_11NA_HT40@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_12:
	movq	_MODE_11A@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_13:
	movq	_MODE_11NA_HT20@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_16:
	movq	_MODE_11AC_VHT160@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_7:
	movq	_MODE_11G@GOTPCREL(%rip), %rcx
LBB0_18:
	movl	(%rcx), %ebx
LBB0_19:
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_WARN_ON
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_19
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_MODE_UNKNOWN,4,2               ## @MODE_UNKNOWN
	.comm	_IEEE80211_CHAN_NO_OFDM,4,2     ## @IEEE80211_CHAN_NO_OFDM
	.comm	_MODE_11B,4,2                   ## @MODE_11B
	.comm	_MODE_11G,4,2                   ## @MODE_11G
	.comm	_MODE_11NG_HT20,4,2             ## @MODE_11NG_HT20
	.comm	_MODE_11NG_HT40,4,2             ## @MODE_11NG_HT40
	.comm	_MODE_11A,4,2                   ## @MODE_11A
	.comm	_MODE_11NA_HT20,4,2             ## @MODE_11NA_HT20
	.comm	_MODE_11NA_HT40,4,2             ## @MODE_11NA_HT40
	.comm	_MODE_11AC_VHT80,4,2            ## @MODE_11AC_VHT80
	.comm	_MODE_11AC_VHT160,4,2           ## @MODE_11AC_VHT160
	.comm	_MODE_11AC_VHT80_80,4,2         ## @MODE_11AC_VHT80_80
	.no_dead_strip	_chan_to_phymode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chan_to_phymode
_chan_to_phymode:                       ; @chan_to_phymode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _MODE_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x19, x8
	ldr	x9, [x0, #8]
	ldr	w10, [x9]
	cmp	w10, #136
	b.eq	LBB0_7
; %bb.1:
	cmp	w10, #137
	b.ne	LBB0_19
; %bb.2:
	ldr	w10, [x0]
	cmp	w10, #131
	b.eq	LBB0_10
; %bb.3:
	cmp	w10, #133
	b.eq	LBB0_11
; %bb.4:
	cmp	w10, #132
	b.ne	LBB0_19
; %bb.5:
	ldr	w9, [x9, #4]
Lloh3:
	adrp	x10, _IEEE80211_CHAN_NO_OFDM@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_CHAN_NO_OFDM@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_17
; %bb.6:
Lloh6:
	adrp	x9, _MODE_11B@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MODE_11B@GOTPAGEOFF]
	b	LBB0_18
LBB0_7:
	ldr	w9, [x0]
	sub	w9, w9, #128
	cmp	w9, #6
	b.hi	LBB0_19
; %bb.8:
Lloh8:
	adrp	x10, lJTI0_0@PAGE
Lloh9:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_9
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:
Lloh10:
	adrp	x9, _MODE_11AC_VHT80_80@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MODE_11AC_VHT80_80@GOTPAGEOFF]
	b	LBB0_18
LBB0_10:
Lloh12:
	adrp	x9, _MODE_11NG_HT40@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MODE_11NG_HT40@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
Lloh14:
	adrp	x9, _MODE_11NG_HT20@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MODE_11NG_HT20@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
Lloh16:
	adrp	x9, _MODE_11AC_VHT80@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MODE_11AC_VHT80@GOTPAGEOFF]
	b	LBB0_18
LBB0_13:
Lloh18:
	adrp	x9, _MODE_11NA_HT40@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MODE_11NA_HT40@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
Lloh20:
	adrp	x9, _MODE_11A@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MODE_11A@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
Lloh22:
	adrp	x9, _MODE_11NA_HT20@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MODE_11NA_HT20@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh24:
	adrp	x9, _MODE_11AC_VHT160@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MODE_11AC_VHT160@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh26:
	adrp	x9, _MODE_11G@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MODE_11G@GOTPAGEOFF]
LBB0_18:
	ldr	w19, [x9]
LBB0_19:
	cmp	w19, w8
	cset	w0, eq
	bl	_WARN_ON
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
                                        ; -- End function
	.comm	_MODE_UNKNOWN,4,2               ; @MODE_UNKNOWN
	.comm	_IEEE80211_CHAN_NO_OFDM,4,2     ; @IEEE80211_CHAN_NO_OFDM
	.comm	_MODE_11B,4,2                   ; @MODE_11B
	.comm	_MODE_11G,4,2                   ; @MODE_11G
	.comm	_MODE_11NG_HT20,4,2             ; @MODE_11NG_HT20
	.comm	_MODE_11NG_HT40,4,2             ; @MODE_11NG_HT40
	.comm	_MODE_11A,4,2                   ; @MODE_11A
	.comm	_MODE_11NA_HT20,4,2             ; @MODE_11NA_HT20
	.comm	_MODE_11NA_HT40,4,2             ; @MODE_11NA_HT40
	.comm	_MODE_11AC_VHT80,4,2            ; @MODE_11AC_VHT80
	.comm	_MODE_11AC_VHT160,4,2           ; @MODE_11AC_VHT160
	.comm	_MODE_11AC_VHT80_80,4,2         ; @MODE_11AC_VHT80_80
	.no_dead_strip	_chan_to_phymode
.subsections_via_symbols
