	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_get_channel_type
_wlan_get_channel_type:                 ## @wlan_get_channel_type
	.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	%rdi, %rbx
	callq	_IEEE80211_IS_CHAN_FHSS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_WlanChannelType_fhss@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_2:
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_A
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_WlanChannelType_dot11a@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_4:
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_B
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_WlanChannelType_dot11b@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_6:
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_ANYG
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_WlanChannelType_dot11g@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_8:
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_HALF
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_WlanChannelType_tenMHz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_10:
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_QUARTER
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_WlanChannelType_fiveMHz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_12:
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_TURBO
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_WlanChannelType_turbo@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_14:
	movq	%rbx, %rdi
	callq	_IEEE80211_IS_CHAN_HT
	movq	%rax, %rcx
	movq	_WlanChannelType_ht@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	$1, %rcx
	sbbl	%eax, %eax
	orl	(%rdx), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WlanChannelType_fhss,4,2       ## @WlanChannelType_fhss
	.comm	_WlanChannelType_dot11a,4,2     ## @WlanChannelType_dot11a
	.comm	_WlanChannelType_dot11b,4,2     ## @WlanChannelType_dot11b
	.comm	_WlanChannelType_dot11g,4,2     ## @WlanChannelType_dot11g
	.comm	_WlanChannelType_tenMHz,4,2     ## @WlanChannelType_tenMHz
	.comm	_WlanChannelType_fiveMHz,4,2    ## @WlanChannelType_fiveMHz
	.comm	_WlanChannelType_turbo,4,2      ## @WlanChannelType_turbo
	.comm	_WlanChannelType_ht,4,2         ## @WlanChannelType_ht
	.no_dead_strip	_wlan_get_channel_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_get_channel_type
_wlan_get_channel_type:                 ; @wlan_get_channel_type
	.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, x0
	bl	_IEEE80211_IS_CHAN_FHSS
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _WlanChannelType_fhss@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WlanChannelType_fhss@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_2:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_A
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _WlanChannelType_dot11a@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WlanChannelType_dot11a@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_4:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_B
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _WlanChannelType_dot11b@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WlanChannelType_dot11b@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_6:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_ANYG
	cbz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _WlanChannelType_dot11g@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WlanChannelType_dot11g@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_8:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_HALF
	cbz	x0, LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _WlanChannelType_tenMHz@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WlanChannelType_tenMHz@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_10:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_QUARTER
	cbz	x0, LBB0_12
; %bb.11:
Lloh15:
	adrp	x8, _WlanChannelType_fiveMHz@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WlanChannelType_fiveMHz@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_12:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_TURBO
	cbz	x0, LBB0_14
; %bb.13:
Lloh18:
	adrp	x8, _WlanChannelType_turbo@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WlanChannelType_turbo@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_IEEE80211_IS_CHAN_HT
Lloh21:
	adrp	x8, _WlanChannelType_ht@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WlanChannelType_ht@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	x0, #0
	csinv	w0, w8, wzr, ne
LBB0_15:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_WlanChannelType_fhss,4,2       ; @WlanChannelType_fhss
	.comm	_WlanChannelType_dot11a,4,2     ; @WlanChannelType_dot11a
	.comm	_WlanChannelType_dot11b,4,2     ; @WlanChannelType_dot11b
	.comm	_WlanChannelType_dot11g,4,2     ; @WlanChannelType_dot11g
	.comm	_WlanChannelType_tenMHz,4,2     ; @WlanChannelType_tenMHz
	.comm	_WlanChannelType_fiveMHz,4,2    ; @WlanChannelType_fiveMHz
	.comm	_WlanChannelType_turbo,4,2      ; @WlanChannelType_turbo
	.comm	_WlanChannelType_ht,4,2         ; @WlanChannelType_ht
	.no_dead_strip	_wlan_get_channel_type
.subsections_via_symbols
