	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl18xx_setup
_wl18xx_setup:                          ## @wl18xx_setup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	80(%rdi), %r15
	movq	_WL18XX_MAX_LINKS@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_WLCORE_MAX_LINKS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_BUILD_BUG_ON
	movq	_WL18XX_MAX_AP_STATIONS@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setg	%dil
	callq	_BUILD_BUG_ON
	movq	_WL18XX_CONF_SG_PARAMS_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WLCORE_CONF_SG_PARAMS_MAX@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_BUILD_BUG_ON
	movq	_wl18xx_rtable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movq	_WL18XX_NUM_TX_DESCRIPTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_WL18XX_NUM_RX_DESCRIPTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	(%r14), %rax
	movq	%rax, 64(%rbx)
	movq	(%r12), %rax
	movq	%rax, 56(%rbx)
	movq	_wl18xx_iface_combinations@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 48(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 44(%rbx)
	movq	_WL18XX_NUM_MAC_ADDRESSES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_wl18xx_band_rate_to_idx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_WL18XX_CONF_HW_RXTX_RATE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_WL18XX_CONF_HW_RXTX_RATE_MCS0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, 4(%rbx)
	movl	$4, 24(%rbx)
	movl	$4, 12(%rbx)
	movq	_num_rx_desc_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, (%rbx)
LBB0_2:
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	callq	_wl18xx_conf_init
	testl	%eax, %eax
	js	LBB0_59
## %bb.3:
	movq	_board_type_param@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.7:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.10:
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movq	(%r14), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movq	(%r14), %rsi
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_19
LBB0_4:
	movq	(%r15), %rsi
	jmp	LBB0_5
LBB0_8:
	movq	_BOARD_TYPE_FPGA_18XX@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movq	_BOARD_TYPE_HDK_18XX@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	_BOARD_TYPE_DVP_18XX@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_15:
	movq	_BOARD_TYPE_EVB_18XX@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_17:
	movq	_BOARD_TYPE_COM8_18XX@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rsi
	movq	%rsi, (%r15)
LBB0_5:
	movq	_NUM_BOARD_TYPES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jge	LBB0_6
## %bb.20:
	movq	_low_band_component_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, 8(%r15)
LBB0_22:
	movq	_low_band_component_type_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, 12(%r15)
LBB0_24:
	movq	_high_band_component_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_26
## %bb.25:
	movl	%eax, 16(%r15)
LBB0_26:
	movq	_high_band_component_type_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_28
## %bb.27:
	movl	%eax, 20(%r15)
LBB0_28:
	movq	_pwr_limit_reference_11_abg_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_30
## %bb.29:
	movl	%eax, 24(%r15)
LBB0_30:
	movq	_n_antennas_2_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_32
## %bb.31:
	movl	%eax, 28(%r15)
LBB0_32:
	movq	_n_antennas_5_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_34
## %bb.33:
	movl	%eax, 32(%r15)
LBB0_34:
	movq	_dc2dc_param@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$-1, %eax
	je	LBB0_36
## %bb.35:
	movl	%eax, 36(%r15)
LBB0_36:
	movq	_ht_mode_param@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_37
## %bb.41:
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_42
## %bb.44:
	movq	(%r14), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_45
## %bb.46:
	movq	(%r14), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_47
## %bb.48:
	movq	(%r14), %rsi
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_19
LBB0_6:
	leaq	L_.str.6(%rip), %rdi
LBB0_19:
	callq	_wl1271_error
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_59
LBB0_37:
	movq	40(%r15), %rax
	jmp	LBB0_38
LBB0_42:
	movq	_HT_MODE_DEFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_45:
	movq	_HT_MODE_WIDE@GOTPCREL(%rip), %rax
	jmp	LBB0_43
LBB0_47:
	movq	_HT_MODE_SISO20@GOTPCREL(%rip), %rax
LBB0_43:
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
LBB0_38:
	movq	_HT_MODE_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_51
## %bb.39:
	movq	%rbx, %rdi
	callq	_wl18xx_is_mimo_supported
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	je	LBB0_49
## %bb.40:
	movq	_wl18xx_mimo_ht_cap_2ghz@GOTPCREL(%rip), %rdx
	jmp	LBB0_50
LBB0_51:
	movq	_HT_MODE_WIDE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_53
## %bb.52:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_49:
	movq	_wl18xx_siso40_ht_cap_2ghz@GOTPCREL(%rip), %rdx
LBB0_50:
	movq	%rbx, %rdi
	callq	_wlcore_set_ht_cap
	movq	_wl18xx_siso40_ht_cap_5ghz@GOTPCREL(%rip), %r14
LBB0_55:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_wlcore_set_ht_cap
LBB0_56:
	movq	_checksum_param@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_58
## %bb.57:
	xorps	%xmm0, %xmm0
	movq	_wl18xx_ops@GOTPCREL(%rip), %rax
	movups	%xmm0, (%rax)
LBB0_58:
	xorl	%eax, %eax
	cmpl	$0, 32(%r15)
	setne	%al
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
LBB0_59:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	movq	_HT_MODE_SISO20@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_56
## %bb.54:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_wl18xx_siso20_ht_cap@GOTPCREL(%rip), %r14
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_wlcore_set_ht_cap
	jmp	LBB0_55
	.cfi_endproc
                                        ## -- End function
	.comm	_WL18XX_MAX_LINKS,8,3           ## @WL18XX_MAX_LINKS
	.comm	_WLCORE_MAX_LINKS,8,3           ## @WLCORE_MAX_LINKS
	.comm	_WL18XX_MAX_AP_STATIONS,8,3     ## @WL18XX_MAX_AP_STATIONS
	.comm	_WL18XX_CONF_SG_PARAMS_MAX,8,3  ## @WL18XX_CONF_SG_PARAMS_MAX
	.comm	_WLCORE_CONF_SG_PARAMS_MAX,8,3  ## @WLCORE_CONF_SG_PARAMS_MAX
	.comm	_wl18xx_rtable,4,2              ## @wl18xx_rtable
	.comm	_WL18XX_NUM_TX_DESCRIPTORS,4,2  ## @WL18XX_NUM_TX_DESCRIPTORS
	.comm	_WL18XX_NUM_RX_DESCRIPTORS,4,2  ## @WL18XX_NUM_RX_DESCRIPTORS
	.comm	_wl18xx_iface_combinations,4,2  ## @wl18xx_iface_combinations
	.comm	_WL18XX_NUM_MAC_ADDRESSES,4,2   ## @WL18XX_NUM_MAC_ADDRESSES
	.comm	_wl18xx_band_rate_to_idx,4,2    ## @wl18xx_band_rate_to_idx
	.comm	_WL18XX_CONF_HW_RXTX_RATE_MAX,4,2 ## @WL18XX_CONF_HW_RXTX_RATE_MAX
	.comm	_WL18XX_CONF_HW_RXTX_RATE_MCS0,4,2 ## @WL18XX_CONF_HW_RXTX_RATE_MCS0
	.comm	_num_rx_desc_param,4,2          ## @num_rx_desc_param
	.comm	_board_type_param,8,3           ## @board_type_param
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fpga"

	.comm	_BOARD_TYPE_FPGA_18XX,8,3       ## @BOARD_TYPE_FPGA_18XX
L_.str.1:                               ## @.str.1
	.asciz	"hdk"

	.comm	_BOARD_TYPE_HDK_18XX,8,3        ## @BOARD_TYPE_HDK_18XX
L_.str.2:                               ## @.str.2
	.asciz	"dvp"

	.comm	_BOARD_TYPE_DVP_18XX,8,3        ## @BOARD_TYPE_DVP_18XX
L_.str.3:                               ## @.str.3
	.asciz	"evb"

	.comm	_BOARD_TYPE_EVB_18XX,8,3        ## @BOARD_TYPE_EVB_18XX
L_.str.4:                               ## @.str.4
	.asciz	"com8"

	.comm	_BOARD_TYPE_COM8_18XX,8,3       ## @BOARD_TYPE_COM8_18XX
L_.str.5:                               ## @.str.5
	.asciz	"invalid board type '%s'"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NUM_BOARD_TYPES,8,3            ## @NUM_BOARD_TYPES
L_.str.6:                               ## @.str.6
	.asciz	"invalid board type '%d'"

	.comm	_low_band_component_param,4,2   ## @low_band_component_param
	.comm	_low_band_component_type_param,4,2 ## @low_band_component_type_param
	.comm	_high_band_component_param,4,2  ## @high_band_component_param
	.comm	_high_band_component_type_param,4,2 ## @high_band_component_type_param
	.comm	_pwr_limit_reference_11_abg_param,4,2 ## @pwr_limit_reference_11_abg_param
	.comm	_n_antennas_2_param,4,2         ## @n_antennas_2_param
	.comm	_n_antennas_5_param,4,2         ## @n_antennas_5_param
	.comm	_dc2dc_param,4,2                ## @dc2dc_param
	.comm	_ht_mode_param,8,3              ## @ht_mode_param
L_.str.7:                               ## @.str.7
	.asciz	"default"

	.comm	_HT_MODE_DEFAULT,8,3            ## @HT_MODE_DEFAULT
L_.str.8:                               ## @.str.8
	.asciz	"wide"

	.comm	_HT_MODE_WIDE,8,3               ## @HT_MODE_WIDE
L_.str.9:                               ## @.str.9
	.asciz	"siso20"

	.comm	_HT_MODE_SISO20,8,3             ## @HT_MODE_SISO20
L_.str.10:                              ## @.str.10
	.asciz	"invalid ht_mode '%s'"

	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_wl18xx_mimo_ht_cap_2ghz,4,2    ## @wl18xx_mimo_ht_cap_2ghz
	.comm	_wl18xx_siso40_ht_cap_2ghz,4,2  ## @wl18xx_siso40_ht_cap_2ghz
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.comm	_wl18xx_siso40_ht_cap_5ghz,4,2  ## @wl18xx_siso40_ht_cap_5ghz
	.comm	_wl18xx_siso20_ht_cap,4,2       ## @wl18xx_siso20_ht_cap
	.comm	_checksum_param,4,2             ## @checksum_param
	.comm	_wl18xx_ops,16,3                ## @wl18xx_ops
	.no_dead_strip	_wl18xx_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl18xx_setup
_wl18xx_setup:                          ; @wl18xx_setup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	x21, [x0, #80]
Lloh0:
	adrp	x20, _WL18XX_MAX_LINKS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _WL18XX_MAX_LINKS@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _WLCORE_MAX_LINKS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WLCORE_MAX_LINKS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_BUILD_BUG_ON
Lloh5:
	adrp	x22, _WL18XX_MAX_AP_STATIONS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _WL18XX_MAX_AP_STATIONS@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, gt
	bl	_BUILD_BUG_ON
Lloh7:
	adrp	x8, _WL18XX_CONF_SG_PARAMS_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WL18XX_CONF_SG_PARAMS_MAX@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _WLCORE_CONF_SG_PARAMS_MAX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _WLCORE_CONF_SG_PARAMS_MAX@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_BUILD_BUG_ON
Lloh13:
	adrp	x8, _wl18xx_rtable@GOTPAGE
Lloh14:
	ldr	x8, [x8, _wl18xx_rtable@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _WL18XX_NUM_TX_DESCRIPTORS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _WL18XX_NUM_TX_DESCRIPTORS@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #72]
Lloh19:
	adrp	x8, _WL18XX_NUM_RX_DESCRIPTORS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WL18XX_NUM_RX_DESCRIPTORS@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	x8, [x20]
	ldr	x9, [x22]
	stp	x9, x8, [x19, #56]
Lloh22:
	adrp	x8, _wl18xx_iface_combinations@GOTPAGE
Lloh23:
	ldr	x8, [x8, _wl18xx_iface_combinations@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	str	w0, [x19, #48]
	bl	_ARRAY_SIZE
Lloh25:
	adrp	x8, _WL18XX_NUM_MAC_ADDRESSES@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WL18XX_NUM_MAC_ADDRESSES@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #40]
Lloh28:
	adrp	x8, _wl18xx_band_rate_to_idx@GOTPAGE
Lloh29:
	ldr	x8, [x8, _wl18xx_band_rate_to_idx@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _WL18XX_CONF_HW_RXTX_RATE_MAX@GOTPAGE
Lloh32:
	ldr	x9, [x9, _WL18XX_CONF_HW_RXTX_RATE_MAX@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _WL18XX_CONF_HW_RXTX_RATE_MCS0@GOTPAGE
Lloh35:
	ldr	x10, [x10, _WL18XX_CONF_HW_RXTX_RATE_MCS0@GOTPAGEOFF]
	stp	w9, w8, [x19, #32]
Lloh36:
	ldr	w8, [x10]
	movi.2s	v0, #4
	stur	d0, [x19, #4]
	mov	w9, #4
	stp	w9, w8, [x19, #24]
	str	w9, [x19, #12]
Lloh37:
	adrp	x8, _num_rx_desc_param@GOTPAGE
Lloh38:
	ldr	x8, [x8, _num_rx_desc_param@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	str	w8, [x19]
LBB0_2:
	ldr	w1, [x19, #20]
	mov	x0, x19
	bl	_wl18xx_conf_init
	tbnz	w0, #31, LBB0_56
; %bb.3:
Lloh40:
	adrp	x20, _board_type_param@GOTPAGE
Lloh41:
	ldr	x20, [x20, _board_type_param@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_10
; %bb.4:
Lloh42:
	adrp	x1, l_.str@PAGE
Lloh43:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.5:
	ldr	x0, [x20]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.6:
	ldr	x0, [x20]
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.7:
	ldr	x0, [x20]
Lloh48:
	adrp	x1, l_.str.3@PAGE
Lloh49:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.8:
	ldr	x0, [x20]
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.9:
	ldr	x1, [x20]
Lloh52:
	adrp	x0, l_.str.5@PAGE
Lloh53:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_40
LBB0_10:
	ldr	x1, [x21]
	b	LBB0_17
LBB0_11:
Lloh54:
	adrp	x8, _BOARD_TYPE_FPGA_18XX@GOTPAGE
Lloh55:
	ldr	x8, [x8, _BOARD_TYPE_FPGA_18XX@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh56:
	adrp	x8, _BOARD_TYPE_HDK_18XX@GOTPAGE
Lloh57:
	ldr	x8, [x8, _BOARD_TYPE_HDK_18XX@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh58:
	adrp	x8, _BOARD_TYPE_DVP_18XX@GOTPAGE
Lloh59:
	ldr	x8, [x8, _BOARD_TYPE_DVP_18XX@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh60:
	adrp	x8, _BOARD_TYPE_EVB_18XX@GOTPAGE
Lloh61:
	ldr	x8, [x8, _BOARD_TYPE_EVB_18XX@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh62:
	adrp	x8, _BOARD_TYPE_COM8_18XX@GOTPAGE
Lloh63:
	ldr	x8, [x8, _BOARD_TYPE_COM8_18XX@GOTPAGEOFF]
LBB0_16:
	ldr	x1, [x8]
	str	x1, [x21]
LBB0_17:
Lloh64:
	adrp	x8, _NUM_BOARD_TYPES@GOTPAGE
Lloh65:
	ldr	x8, [x8, _NUM_BOARD_TYPES@GOTPAGEOFF]
Lloh66:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ge	LBB0_39
; %bb.18:
Lloh67:
	adrp	x8, _low_band_component_param@GOTPAGE
Lloh68:
	ldr	x8, [x8, _low_band_component_param@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_20
; %bb.19:
	str	w8, [x21, #8]
LBB0_20:
Lloh70:
	adrp	x8, _low_band_component_type_param@GOTPAGE
Lloh71:
	ldr	x8, [x8, _low_band_component_type_param@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_22
; %bb.21:
	str	w8, [x21, #12]
LBB0_22:
Lloh73:
	adrp	x8, _high_band_component_param@GOTPAGE
Lloh74:
	ldr	x8, [x8, _high_band_component_param@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_24
; %bb.23:
	str	w8, [x21, #16]
LBB0_24:
Lloh76:
	adrp	x8, _high_band_component_type_param@GOTPAGE
Lloh77:
	ldr	x8, [x8, _high_band_component_type_param@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_26
; %bb.25:
	str	w8, [x21, #20]
LBB0_26:
Lloh79:
	adrp	x8, _pwr_limit_reference_11_abg_param@GOTPAGE
Lloh80:
	ldr	x8, [x8, _pwr_limit_reference_11_abg_param@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_28
; %bb.27:
	str	w8, [x21, #24]
LBB0_28:
Lloh82:
	adrp	x8, _n_antennas_2_param@GOTPAGE
Lloh83:
	ldr	x8, [x8, _n_antennas_2_param@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_30
; %bb.29:
	str	w8, [x21, #28]
LBB0_30:
Lloh85:
	adrp	x8, _n_antennas_5_param@GOTPAGE
Lloh86:
	ldr	x8, [x8, _n_antennas_5_param@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_32
; %bb.31:
	str	w8, [x21, #32]
LBB0_32:
Lloh88:
	adrp	x8, _dc2dc_param@GOTPAGE
Lloh89:
	ldr	x8, [x8, _dc2dc_param@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_34
; %bb.33:
	str	w8, [x21, #36]
LBB0_34:
Lloh91:
	adrp	x22, _ht_mode_param@GOTPAGE
Lloh92:
	ldr	x22, [x22, _ht_mode_param@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh93:
	adrp	x20, _HT_MODE_DEFAULT@GOTPAGE
Lloh94:
	ldr	x20, [x20, _HT_MODE_DEFAULT@GOTPAGEOFF]
	cbz	x0, LBB0_41
; %bb.35:
Lloh95:
	adrp	x1, l_.str.7@PAGE
Lloh96:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_42
; %bb.36:
	ldr	x0, [x22]
Lloh97:
	adrp	x1, l_.str.8@PAGE
Lloh98:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_43
; %bb.37:
	ldr	x0, [x22]
Lloh99:
	adrp	x1, l_.str.9@PAGE
Lloh100:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_44
; %bb.38:
	ldr	x1, [x22]
Lloh101:
	adrp	x0, l_.str.10@PAGE
Lloh102:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_40
LBB0_39:
Lloh103:
	adrp	x0, l_.str.6@PAGE
Lloh104:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_40:
	bl	_wl1271_error
Lloh105:
	adrp	x8, _EINVAL@GOTPAGE
Lloh106:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh107:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_56
LBB0_41:
	ldr	x8, [x21, #40]
	b	LBB0_47
LBB0_42:
	ldr	x8, [x20]
	b	LBB0_46
LBB0_43:
Lloh108:
	adrp	x8, _HT_MODE_WIDE@GOTPAGE
Lloh109:
	ldr	x8, [x8, _HT_MODE_WIDE@GOTPAGEOFF]
	b	LBB0_45
LBB0_44:
Lloh110:
	adrp	x8, _HT_MODE_SISO20@GOTPAGE
Lloh111:
	ldr	x8, [x8, _HT_MODE_SISO20@GOTPAGEOFF]
LBB0_45:
	ldr	x8, [x8]
LBB0_46:
	str	x8, [x21, #40]
LBB0_47:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_49
; %bb.48:
	mov	x0, x19
	bl	_wl18xx_is_mimo_supported
Lloh112:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh113:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh114:
	ldr	w1, [x8]
Lloh115:
	adrp	x8, _wl18xx_mimo_ht_cap_2ghz@GOTPAGE
Lloh116:
	ldr	x8, [x8, _wl18xx_mimo_ht_cap_2ghz@GOTPAGEOFF]
Lloh117:
	adrp	x9, _wl18xx_siso40_ht_cap_2ghz@GOTPAGE
Lloh118:
	ldr	x9, [x9, _wl18xx_siso40_ht_cap_2ghz@GOTPAGEOFF]
	cmp	x0, #0
	csel	x2, x9, x8, eq
	b	LBB0_51
LBB0_49:
Lloh119:
	adrp	x9, _HT_MODE_WIDE@GOTPAGE
Lloh120:
	ldr	x9, [x9, _HT_MODE_WIDE@GOTPAGEOFF]
Lloh121:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_57
; %bb.50:
Lloh122:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh123:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh124:
	ldr	w1, [x8]
Lloh125:
	adrp	x2, _wl18xx_siso40_ht_cap_2ghz@GOTPAGE
Lloh126:
	ldr	x2, [x2, _wl18xx_siso40_ht_cap_2ghz@GOTPAGEOFF]
LBB0_51:
	mov	x0, x19
	bl	_wlcore_set_ht_cap
Lloh127:
	adrp	x20, _wl18xx_siso40_ht_cap_5ghz@GOTPAGE
Lloh128:
	ldr	x20, [x20, _wl18xx_siso40_ht_cap_5ghz@GOTPAGEOFF]
LBB0_52:
Lloh129:
	adrp	x8, _NL80211_BAND_5GHZ@GOTPAGE
Lloh130:
	ldr	x8, [x8, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh131:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_wlcore_set_ht_cap
LBB0_53:
Lloh132:
	adrp	x8, _checksum_param@GOTPAGE
Lloh133:
	ldr	x8, [x8, _checksum_param@GOTPAGEOFF]
Lloh134:
	ldr	w8, [x8]
	cbnz	w8, LBB0_55
; %bb.54:
Lloh135:
	adrp	x8, _wl18xx_ops@GOTPAGE
Lloh136:
	ldr	x8, [x8, _wl18xx_ops@GOTPAGEOFF]
	stp	xzr, xzr, [x8]
LBB0_55:
	mov	w0, #0
	ldr	w8, [x21, #32]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [x19, #16]
LBB0_56:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_57:
Lloh137:
	adrp	x9, _HT_MODE_SISO20@GOTPAGE
Lloh138:
	ldr	x9, [x9, _HT_MODE_SISO20@GOTPAGEOFF]
Lloh139:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_53
; %bb.58:
Lloh140:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh141:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh142:
	ldr	w1, [x8]
Lloh143:
	adrp	x20, _wl18xx_siso20_ht_cap@GOTPAGE
Lloh144:
	ldr	x20, [x20, _wl18xx_siso20_ht_cap@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_wlcore_set_ht_cap
	b	LBB0_52
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGot	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGot	Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.cfi_endproc
                                        ; -- End function
	.comm	_WL18XX_MAX_LINKS,8,3           ; @WL18XX_MAX_LINKS
	.comm	_WLCORE_MAX_LINKS,8,3           ; @WLCORE_MAX_LINKS
	.comm	_WL18XX_MAX_AP_STATIONS,8,3     ; @WL18XX_MAX_AP_STATIONS
	.comm	_WL18XX_CONF_SG_PARAMS_MAX,8,3  ; @WL18XX_CONF_SG_PARAMS_MAX
	.comm	_WLCORE_CONF_SG_PARAMS_MAX,8,3  ; @WLCORE_CONF_SG_PARAMS_MAX
	.comm	_wl18xx_rtable,4,2              ; @wl18xx_rtable
	.comm	_WL18XX_NUM_TX_DESCRIPTORS,4,2  ; @WL18XX_NUM_TX_DESCRIPTORS
	.comm	_WL18XX_NUM_RX_DESCRIPTORS,4,2  ; @WL18XX_NUM_RX_DESCRIPTORS
	.comm	_wl18xx_iface_combinations,4,2  ; @wl18xx_iface_combinations
	.comm	_WL18XX_NUM_MAC_ADDRESSES,4,2   ; @WL18XX_NUM_MAC_ADDRESSES
	.comm	_wl18xx_band_rate_to_idx,4,2    ; @wl18xx_band_rate_to_idx
	.comm	_WL18XX_CONF_HW_RXTX_RATE_MAX,4,2 ; @WL18XX_CONF_HW_RXTX_RATE_MAX
	.comm	_WL18XX_CONF_HW_RXTX_RATE_MCS0,4,2 ; @WL18XX_CONF_HW_RXTX_RATE_MCS0
	.comm	_num_rx_desc_param,4,2          ; @num_rx_desc_param
	.comm	_board_type_param,8,3           ; @board_type_param
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fpga"

	.comm	_BOARD_TYPE_FPGA_18XX,8,3       ; @BOARD_TYPE_FPGA_18XX
l_.str.1:                               ; @.str.1
	.asciz	"hdk"

	.comm	_BOARD_TYPE_HDK_18XX,8,3        ; @BOARD_TYPE_HDK_18XX
l_.str.2:                               ; @.str.2
	.asciz	"dvp"

	.comm	_BOARD_TYPE_DVP_18XX,8,3        ; @BOARD_TYPE_DVP_18XX
l_.str.3:                               ; @.str.3
	.asciz	"evb"

	.comm	_BOARD_TYPE_EVB_18XX,8,3        ; @BOARD_TYPE_EVB_18XX
l_.str.4:                               ; @.str.4
	.asciz	"com8"

	.comm	_BOARD_TYPE_COM8_18XX,8,3       ; @BOARD_TYPE_COM8_18XX
l_.str.5:                               ; @.str.5
	.asciz	"invalid board type '%s'"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NUM_BOARD_TYPES,8,3            ; @NUM_BOARD_TYPES
l_.str.6:                               ; @.str.6
	.asciz	"invalid board type '%d'"

	.comm	_low_band_component_param,4,2   ; @low_band_component_param
	.comm	_low_band_component_type_param,4,2 ; @low_band_component_type_param
	.comm	_high_band_component_param,4,2  ; @high_band_component_param
	.comm	_high_band_component_type_param,4,2 ; @high_band_component_type_param
	.comm	_pwr_limit_reference_11_abg_param,4,2 ; @pwr_limit_reference_11_abg_param
	.comm	_n_antennas_2_param,4,2         ; @n_antennas_2_param
	.comm	_n_antennas_5_param,4,2         ; @n_antennas_5_param
	.comm	_dc2dc_param,4,2                ; @dc2dc_param
	.comm	_ht_mode_param,8,3              ; @ht_mode_param
l_.str.7:                               ; @.str.7
	.asciz	"default"

	.comm	_HT_MODE_DEFAULT,8,3            ; @HT_MODE_DEFAULT
l_.str.8:                               ; @.str.8
	.asciz	"wide"

	.comm	_HT_MODE_WIDE,8,3               ; @HT_MODE_WIDE
l_.str.9:                               ; @.str.9
	.asciz	"siso20"

	.comm	_HT_MODE_SISO20,8,3             ; @HT_MODE_SISO20
l_.str.10:                              ; @.str.10
	.asciz	"invalid ht_mode '%s'"

	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_wl18xx_mimo_ht_cap_2ghz,4,2    ; @wl18xx_mimo_ht_cap_2ghz
	.comm	_wl18xx_siso40_ht_cap_2ghz,4,2  ; @wl18xx_siso40_ht_cap_2ghz
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.comm	_wl18xx_siso40_ht_cap_5ghz,4,2  ; @wl18xx_siso40_ht_cap_5ghz
	.comm	_wl18xx_siso20_ht_cap,4,2       ; @wl18xx_siso20_ht_cap
	.comm	_checksum_param,4,2             ; @checksum_param
	.comm	_wl18xx_ops,16,3                ; @wl18xx_ops
	.no_dead_strip	_wl18xx_setup
.subsections_via_symbols
