	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function media_status
_media_status:                          ## @media_status
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
                                        ## kill: def $edi killed $edi def $rdi
	movq	_IFM_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$-128, %edi
	cmpl	$6, %edi
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_IFM_IEEE80211_WDS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movq	_IFM_IEEE80211_MONITOR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_IFM_IEEE80211_MBSS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_IFM_IEEE80211_ADHOC@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_IFM_IEEE80211_HOSTAP@GOTPCREL(%rip), %rax
LBB0_8:
	orl	(%rax), %ebx
LBB0_9:
	movq	%r14, %rdi
	callq	_IEEE80211_IS_CHAN_HTA
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_IFM_IEEE80211_11NA@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_11:
	movq	%r14, %rdi
	callq	_IEEE80211_IS_CHAN_HTG
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_IFM_IEEE80211_11NG@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_5:
	movq	_IFM_IEEE80211_ADHOC@GOTPCREL(%rip), %rax
	movq	_IFM_FLAG0@GOTPCREL(%rip), %rcx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	jmp	LBB0_9
LBB0_13:
	movq	%r14, %rdi
	callq	_IEEE80211_IS_CHAN_A
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_IFM_IEEE80211_11A@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movq	%r14, %rdi
	callq	_IEEE80211_IS_CHAN_B
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_IFM_IEEE80211_11B@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_17:
	movq	%r14, %rdi
	callq	_IEEE80211_IS_CHAN_ANYG
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_IFM_IEEE80211_11G@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	movq	%r14, %rdi
	callq	_IEEE80211_IS_CHAN_FHSS
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	_IFM_IEEE80211_FH@GOTPCREL(%rip), %rax
LBB0_21:
	orl	(%rax), %ebx
LBB0_22:
	movq	%r14, %rdi
	callq	_IEEE80211_IS_CHAN_TURBO
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.23:
	movq	_IFM_IEEE80211_TURBO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	orl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_IFM_IEEE80211,4,2              ## @IFM_IEEE80211
	.comm	_IFM_IEEE80211_ADHOC,4,2        ## @IFM_IEEE80211_ADHOC
	.comm	_IFM_IEEE80211_HOSTAP,4,2       ## @IFM_IEEE80211_HOSTAP
	.comm	_IFM_IEEE80211_MONITOR,4,2      ## @IFM_IEEE80211_MONITOR
	.comm	_IFM_FLAG0,4,2                  ## @IFM_FLAG0
	.comm	_IFM_IEEE80211_WDS,4,2          ## @IFM_IEEE80211_WDS
	.comm	_IFM_IEEE80211_MBSS,4,2         ## @IFM_IEEE80211_MBSS
	.comm	_IFM_IEEE80211_11NA,4,2         ## @IFM_IEEE80211_11NA
	.comm	_IFM_IEEE80211_11NG,4,2         ## @IFM_IEEE80211_11NG
	.comm	_IFM_IEEE80211_11A,4,2          ## @IFM_IEEE80211_11A
	.comm	_IFM_IEEE80211_11B,4,2          ## @IFM_IEEE80211_11B
	.comm	_IFM_IEEE80211_11G,4,2          ## @IFM_IEEE80211_11G
	.comm	_IFM_IEEE80211_FH,4,2           ## @IFM_IEEE80211_FH
	.comm	_IFM_IEEE80211_TURBO,4,2        ## @IFM_IEEE80211_TURBO
	.comm	_IFM_IEEE80211_HT20,4,2         ## @IFM_IEEE80211_HT20
	.comm	_IFM_IEEE80211_HT40,4,2         ## @IFM_IEEE80211_HT40
	.no_dead_strip	_media_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function media_status
_media_status:                          ; @media_status
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _IFM_IEEE80211@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFM_IEEE80211@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_8
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x8, _IFM_IEEE80211_WDS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IFM_IEEE80211_WDS@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh7:
	adrp	x8, _IFM_IEEE80211_MONITOR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IFM_IEEE80211_MONITOR@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _IFM_IEEE80211_MBSS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFM_IEEE80211_MBSS@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _IFM_IEEE80211_ADHOC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFM_IEEE80211_ADHOC@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _IFM_IEEE80211_HOSTAP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IFM_IEEE80211_HOSTAP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_8:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_HTA
	cbz	x0, LBB0_10
; %bb.9:
Lloh15:
	adrp	x8, _IFM_IEEE80211_11NA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IFM_IEEE80211_11NA@GOTPAGEOFF]
	b	LBB0_21
LBB0_10:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_HTG
	cbz	x0, LBB0_13
; %bb.11:
Lloh17:
	adrp	x8, _IFM_IEEE80211_11NG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IFM_IEEE80211_11NG@GOTPAGEOFF]
	b	LBB0_21
LBB0_12:
Lloh19:
	adrp	x8, _IFM_IEEE80211_ADHOC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IFM_IEEE80211_ADHOC@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _IFM_FLAG0@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IFM_FLAG0@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w20
	orr	w20, w8, w9
	b	LBB0_8
LBB0_13:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_A
	cbz	x0, LBB0_15
; %bb.14:
Lloh25:
	adrp	x8, _IFM_IEEE80211_11A@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IFM_IEEE80211_11A@GOTPAGEOFF]
	b	LBB0_21
LBB0_15:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_B
	cbz	x0, LBB0_17
; %bb.16:
Lloh27:
	adrp	x8, _IFM_IEEE80211_11B@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IFM_IEEE80211_11B@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_ANYG
	cbz	x0, LBB0_19
; %bb.18:
Lloh29:
	adrp	x8, _IFM_IEEE80211_11G@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IFM_IEEE80211_11G@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_FHSS
	cbz	x0, LBB0_22
; %bb.20:
Lloh31:
	adrp	x8, _IFM_IEEE80211_FH@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IFM_IEEE80211_FH@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_22:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_TURBO
Lloh33:
	adrp	x8, _IFM_IEEE80211_TURBO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IFM_IEEE80211_TURBO@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w0, w8, w20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-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_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_IFM_IEEE80211,4,2              ; @IFM_IEEE80211
	.comm	_IFM_IEEE80211_ADHOC,4,2        ; @IFM_IEEE80211_ADHOC
	.comm	_IFM_IEEE80211_HOSTAP,4,2       ; @IFM_IEEE80211_HOSTAP
	.comm	_IFM_IEEE80211_MONITOR,4,2      ; @IFM_IEEE80211_MONITOR
	.comm	_IFM_FLAG0,4,2                  ; @IFM_FLAG0
	.comm	_IFM_IEEE80211_WDS,4,2          ; @IFM_IEEE80211_WDS
	.comm	_IFM_IEEE80211_MBSS,4,2         ; @IFM_IEEE80211_MBSS
	.comm	_IFM_IEEE80211_11NA,4,2         ; @IFM_IEEE80211_11NA
	.comm	_IFM_IEEE80211_11NG,4,2         ; @IFM_IEEE80211_11NG
	.comm	_IFM_IEEE80211_11A,4,2          ; @IFM_IEEE80211_11A
	.comm	_IFM_IEEE80211_11B,4,2          ; @IFM_IEEE80211_11B
	.comm	_IFM_IEEE80211_11G,4,2          ; @IFM_IEEE80211_11G
	.comm	_IFM_IEEE80211_FH,4,2           ; @IFM_IEEE80211_FH
	.comm	_IFM_IEEE80211_TURBO,4,2        ; @IFM_IEEE80211_TURBO
	.comm	_IFM_IEEE80211_HT20,4,2         ; @IFM_IEEE80211_HT20
	.comm	_IFM_IEEE80211_HT40,4,2         ; @IFM_IEEE80211_HT40
	.no_dead_strip	_media_status
.subsections_via_symbols
