	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwl8k_probe_hw
_mwl8k_probe_hw:                        ## @mwl8k_probe_hw
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	cmpq	$0, 32(%r13)
	je	LBB0_4
## %bb.1:
	movq	48(%r13), %rax
	movq	8(%rax), %rax
	movq	%rax, 88(%r13)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_wiphy_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_3
LBB0_4:
	movq	_rxd_sta_ops@GOTPCREL(%rip), %rax
	movq	%rax, 88(%r13)
LBB0_5:
	movq	$0, (%r13)
	movq	$0, 80(%r13)
	leaq	72(%r13), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mwl8k_rxq_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.6:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rxq_refill
	movq	$0, 64(%r13)
	cmpq	$0, 32(%r13)
	je	LBB0_7
LBB0_8:
	movq	_MWL8K_HIU_A2H_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%r13), %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	_MWL8K_HIU_A2H_INTERRUPT_MASK@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	24(%r13), %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	_MWL8K_A2H_INT_TX_DONE@GOTPCREL(%rip), %rax
	movq	_MWL8K_A2H_INT_RX_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_MWL8K_A2H_INT_BA_WATCHDOG@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%r13), %rsi
	callq	_iowrite32
	movq	_MWL8K_A2H_INT_OPC_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%r13), %rsi
	callq	_iowrite32
	movq	16(%r13), %rax
	movl	(%rax), %edi
	movq	_mwl8k_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MWL8K_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_14
## %bb.9:
	movl	%eax, %r15d
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_wiphy_err
	jmp	LBB0_10
LBB0_7:
	movq	%r14, %rdi
	callq	_mwl8k_init_txqs
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_8
LBB0_14:
	cmpl	$0, 60(%r13)
	jne	LBB0_16
## %bb.15:
	movl	56(%r13), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_16:
	movq	_MWL8K_A2H_EVENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	addq	24(%r13), %rsi
	callq	_iowrite32
	cmpq	$0, 32(%r13)
	je	LBB0_21
## %bb.17:
	movq	%r14, %rdi
	callq	_mwl8k_cmd_get_hw_spec_ap
	leaq	L_.str.2(%rip), %r12
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movl	%eax, %r15d
	jmp	LBB0_24
LBB0_21:
	movq	%r14, %rdi
	callq	_mwl8k_cmd_get_hw_spec_sta
LBB0_22:
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:
	leaq	L_.str.2(%rip), %r12
	jmp	LBB0_24
LBB0_19:
	movq	%r14, %rdi
	callq	_mwl8k_init_txqs
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.20:
	movq	%r14, %rdi
	callq	_mwl8k_cmd_set_hw_spec
	jmp	LBB0_22
LBB0_25:
	movq	%r14, %rdi
	callq	_mwl8k_cmd_radio_disable
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_24
LBB0_27:
	leaq	l_.str.4(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mwl8k_cmd_set_mac_addr
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movl	%eax, %r15d
	leaq	L_.str.5(%rip), %r12
LBB0_24:
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_wiphy_err
	movq	(%rbx), %rsi
	addq	24(%r13), %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	16(%r13), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_10:
	movq	%r13, %rdi
	callq	_mwl8k_tx_queues
	testl	%eax, %eax
	jle	LBB0_13
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_mwl8k_txq_deinit
	incl	%ebx
	movq	%r13, %rdi
	callq	_mwl8k_tx_queues
	cmpl	%eax, %ebx
	jl	LBB0_12
LBB0_13:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mwl8k_rxq_deinit
LBB0_3:
	movq	%r13, %rdi
	callq	_mwl8k_hw_reset
LBB0_34:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	movq	_MWL8K_RF_ANTENNA_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_mwl8k_cmd_rf_antenna
	testl	%eax, %eax
	je	LBB0_31
## %bb.30:
	movq	(%r14), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_wiphy_warn
LBB0_31:
	movq	_MWL8K_RF_ANTENNA_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$7, %edx
	callq	_mwl8k_cmd_rf_antenna
	testl	%eax, %eax
	je	LBB0_33
## %bb.32:
	movq	(%r14), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_wiphy_warn
LBB0_33:
	movq	(%rbx), %rsi
	addq	24(%r13), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_iowrite32
	movq	16(%r13), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_free_irq
	movq	(%r14), %rdi
	movq	48(%r13), %rax
	movl	(%rax), %edx
	movl	8(%r13), %eax
	movl	40(%r13), %ecx
	movl	(%rdi), %r8d
	cmpq	$0, 32(%r13)
	leaq	L_.str.10(%rip), %rsi
	leaq	L_.str.9(%rip), %r9
	cmoveq	%rsi, %r9
	movl	%eax, %esi
	movzbl	%ah, %ebx
	movzbl	%al, %r10d
                                        ## kill: def $eax killed $eax def $rax
	shrl	$24, %eax
	shrl	$16, %esi
	movzbl	%sil, %r11d
	leaq	L_.str.8(%rip), %rsi
	pushq	%r10
	pushq	%rbx
	pushq	%r11
	pushq	%rax
	callq	_wiphy_info
	addq	$32, %rsp
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Driver does not have AP firmware image support for this hardware\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_rxd_sta_ops,4,2                ## @rxd_sta_ops
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_MWL8K_HIU_A2H_INTERRUPT_STATUS,8,3 ## @MWL8K_HIU_A2H_INTERRUPT_STATUS
	.comm	_MWL8K_HIU_A2H_INTERRUPT_MASK,8,3 ## @MWL8K_HIU_A2H_INTERRUPT_MASK
	.comm	_MWL8K_A2H_INT_TX_DONE,4,2      ## @MWL8K_A2H_INT_TX_DONE
	.comm	_MWL8K_A2H_INT_RX_READY,4,2     ## @MWL8K_A2H_INT_RX_READY
	.comm	_MWL8K_A2H_INT_BA_WATCHDOG,4,2  ## @MWL8K_A2H_INT_BA_WATCHDOG
	.comm	_MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL,8,3 ## @MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL
	.comm	_MWL8K_A2H_INT_OPC_DONE,4,2     ## @MWL8K_A2H_INT_OPC_DONE
	.comm	_MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK,8,3 ## @MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK
	.comm	_mwl8k_interrupt,4,2            ## @mwl8k_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_MWL8K_NAME,4,2                 ## @MWL8K_NAME
L_.str.1:                               ## @.str.1
	.asciz	"failed to register IRQ handler\n"

	.comm	_MWL8K_A2H_EVENTS,4,2           ## @MWL8K_A2H_EVENTS
L_.str.2:                               ## @.str.2
	.asciz	"Cannot initialise firmware\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot disable\n"

	.section	__TEXT,__const
l_.str.4:                               ## @.str.4
	.space	7

	.section	__TEXT,__cstring,cstring_literals
L_.str.5:                               ## @.str.5
	.asciz	"Cannot clear MAC address\n"

	.comm	_MWL8K_RF_ANTENNA_RX,4,2        ## @MWL8K_RF_ANTENNA_RX
L_.str.6:                               ## @.str.6
	.asciz	"failed to set # of RX antennas"

	.comm	_MWL8K_RF_ANTENNA_TX,4,2        ## @MWL8K_RF_ANTENNA_TX
L_.str.7:                               ## @.str.7
	.asciz	"failed to set # of TX antennas"

L_.str.8:                               ## @.str.8
	.asciz	"%s v%d, %pm, %s firmware %u.%u.%u.%u\n"

L_.str.9:                               ## @.str.9
	.asciz	"AP"

L_.str.10:                              ## @.str.10
	.asciz	"STA"

	.no_dead_strip	_mwl8k_probe_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwl8k_probe_hw
_mwl8k_probe_hw:                        ; @mwl8k_probe_hw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	ldr	x19, [x0, #8]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #48]
	ldr	x8, [x8, #8]
	str	x8, [x19, #88]
	cbnz	x8, LBB0_4
; %bb.2:
	ldr	x0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wiphy_err
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_22
LBB0_3:
Lloh5:
	adrp	x8, _rxd_sta_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rxd_sta_ops@GOTPAGEOFF]
	str	x8, [x19, #88]
LBB0_4:
	str	xzr, [x19]
	add	x0, x19, #72
	str	xzr, [x19, #80]
	mov	w1, #0
	bl	_atomic_set
	mov	x0, x20
	mov	w1, #0
	bl	_mwl8k_rxq_init
	mov	x21, x0
	cbnz	w0, LBB0_22
; %bb.5:
Lloh7:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_rxq_refill
	str	xzr, [x19, #64]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_8
LBB0_6:
	ldr	x8, [x19, #24]
Lloh10:
	adrp	x9, _MWL8K_HIU_A2H_INTERRUPT_STATUS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MWL8K_HIU_A2H_INTERRUPT_STATUS@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x19, #24]
Lloh13:
	adrp	x22, _MWL8K_HIU_A2H_INTERRUPT_MASK@GOTPAGE
Lloh14:
	ldr	x22, [x22, _MWL8K_HIU_A2H_INTERRUPT_MASK@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	w0, #0
	bl	_iowrite32
Lloh15:
	adrp	x8, _MWL8K_A2H_INT_TX_DONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MWL8K_A2H_INT_TX_DONE@GOTPAGEOFF]
Lloh17:
	adrp	x9, _MWL8K_A2H_INT_RX_READY@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MWL8K_A2H_INT_RX_READY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _MWL8K_A2H_INT_BA_WATCHDOG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MWL8K_A2H_INT_BA_WATCHDOG@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #24]
Lloh24:
	adrp	x9, _MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
Lloh27:
	adrp	x8, _MWL8K_A2H_INT_OPC_DONE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MWL8K_A2H_INT_OPC_DONE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
Lloh30:
	adrp	x9, _MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_iowrite32
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _mwl8k_interrupt@GOTPAGE
Lloh34:
	ldr	x8, [x8, _mwl8k_interrupt@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x8, _MWL8K_NAME@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MWL8K_NAME@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x8]
	mov	x4, x20
	bl	_request_irq
	cbz	w0, LBB0_9
; %bb.7:
	mov	x21, x0
	ldr	x0, [x20]
Lloh42:
	adrp	x1, l_.str.1@PAGE
Lloh43:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wiphy_err
	b	LBB0_18
LBB0_8:
	mov	x0, x20
	bl	_mwl8k_init_txqs
	mov	x21, x0
	cbnz	w0, LBB0_18
	b	LBB0_6
LBB0_9:
	ldr	w8, [x19, #60]
	cbnz	w8, LBB0_11
; %bb.10:
	ldr	w0, [x19, #56]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_11:
Lloh44:
	adrp	x8, _MWL8K_A2H_EVENTS@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MWL8K_A2H_EVENTS@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_iowrite32
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_15
; %bb.12:
	mov	x0, x20
	bl	_mwl8k_cmd_get_hw_spec_ap
	cbnz	w0, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_mwl8k_init_txqs
	cbz	w0, LBB0_24
LBB0_14:
	mov	x21, x0
	b	LBB0_16
LBB0_15:
	mov	x0, x20
	bl	_mwl8k_cmd_get_hw_spec_sta
	mov	x21, x0
	cbz	w0, LBB0_25
LBB0_16:
Lloh47:
	adrp	x1, l_.str.2@PAGE
Lloh48:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_17:
	ldr	x0, [x20]
	bl	_wiphy_err
	ldr	x8, [x19, #24]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_free_irq
LBB0_18:
	mov	x0, x19
	bl	_mwl8k_tx_queues
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.19:
	mov	w22, #0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_mwl8k_txq_deinit
	add	w22, w22, #1
	mov	x0, x19
	bl	_mwl8k_tx_queues
	cmp	w22, w0
	b.lt	LBB0_20
LBB0_21:
	mov	x0, x20
	mov	w1, #0
	bl	_mwl8k_rxq_deinit
LBB0_22:
	mov	x0, x19
	bl	_mwl8k_hw_reset
LBB0_23:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_24:
	mov	x0, x20
	bl	_mwl8k_cmd_set_hw_spec
	mov	x21, x0
	cbnz	w0, LBB0_16
LBB0_25:
	mov	x0, x20
	bl	_mwl8k_cmd_radio_disable
	cbz	w0, LBB0_27
; %bb.26:
	mov	x21, x0
Lloh49:
	adrp	x1, l_.str.3@PAGE
Lloh50:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_27:
Lloh51:
	adrp	x2, l_.str.4@PAGE
Lloh52:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	bl	_mwl8k_cmd_set_mac_addr
	cbz	w0, LBB0_29
; %bb.28:
	mov	x21, x0
Lloh53:
	adrp	x1, l_.str.5@PAGE
Lloh54:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_17
LBB0_29:
Lloh55:
	adrp	x8, _MWL8K_RF_ANTENNA_RX@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MWL8K_RF_ANTENNA_RX@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #3
	bl	_mwl8k_cmd_rf_antenna
	cbz	w0, LBB0_31
; %bb.30:
	ldr	x0, [x20]
Lloh58:
	adrp	x1, l_.str.6@PAGE
Lloh59:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wiphy_warn
LBB0_31:
Lloh60:
	adrp	x8, _MWL8K_RF_ANTENNA_TX@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MWL8K_RF_ANTENNA_TX@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #7
	bl	_mwl8k_cmd_rf_antenna
	cbz	w0, LBB0_33
; %bb.32:
	ldr	x0, [x20]
Lloh63:
	adrp	x1, l_.str.7@PAGE
Lloh64:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wiphy_warn
LBB0_33:
	ldr	x8, [x19, #24]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_free_irq
	ldr	x0, [x20]
	ldr	x8, [x19, #48]
	ldr	w2, [x8]
	ldr	w3, [x19, #40]
	ldr	w4, [x0]
Lloh65:
	adrp	x8, l_.str.9@PAGE
Lloh66:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh67:
	adrp	x9, l_.str.10@PAGE
Lloh68:
	add	x9, x9, l_.str.10@PAGEOFF
	ldr	w10, [x19, #8]
	lsr	w6, w10, #24
	ldr	x11, [x19, #32]
	cmp	x11, #0
	csel	x5, x9, x8, eq
	ubfx	w7, w10, #16, #8
	ubfx	w8, w10, #8, #8
	and	w9, w10, #0xff
	stp	w8, w9, [sp]
Lloh69:
	adrp	x1, l_.str.8@PAGE
Lloh70:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_wiphy_info
	mov	w21, #0
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Driver does not have AP firmware image support for this hardware\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_rxd_sta_ops,4,2                ; @rxd_sta_ops
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_MWL8K_HIU_A2H_INTERRUPT_STATUS,8,3 ; @MWL8K_HIU_A2H_INTERRUPT_STATUS
	.comm	_MWL8K_HIU_A2H_INTERRUPT_MASK,8,3 ; @MWL8K_HIU_A2H_INTERRUPT_MASK
	.comm	_MWL8K_A2H_INT_TX_DONE,4,2      ; @MWL8K_A2H_INT_TX_DONE
	.comm	_MWL8K_A2H_INT_RX_READY,4,2     ; @MWL8K_A2H_INT_RX_READY
	.comm	_MWL8K_A2H_INT_BA_WATCHDOG,4,2  ; @MWL8K_A2H_INT_BA_WATCHDOG
	.comm	_MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL,8,3 ; @MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL
	.comm	_MWL8K_A2H_INT_OPC_DONE,4,2     ; @MWL8K_A2H_INT_OPC_DONE
	.comm	_MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK,8,3 ; @MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK
	.comm	_mwl8k_interrupt,4,2            ; @mwl8k_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_MWL8K_NAME,4,2                 ; @MWL8K_NAME
l_.str.1:                               ; @.str.1
	.asciz	"failed to register IRQ handler\n"

	.comm	_MWL8K_A2H_EVENTS,4,2           ; @MWL8K_A2H_EVENTS
l_.str.2:                               ; @.str.2
	.asciz	"Cannot initialise firmware\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot disable\n"

	.section	__TEXT,__const
l_.str.4:                               ; @.str.4
	.space	7

	.section	__TEXT,__cstring,cstring_literals
l_.str.5:                               ; @.str.5
	.asciz	"Cannot clear MAC address\n"

	.comm	_MWL8K_RF_ANTENNA_RX,4,2        ; @MWL8K_RF_ANTENNA_RX
l_.str.6:                               ; @.str.6
	.asciz	"failed to set # of RX antennas"

	.comm	_MWL8K_RF_ANTENNA_TX,4,2        ; @MWL8K_RF_ANTENNA_TX
l_.str.7:                               ; @.str.7
	.asciz	"failed to set # of TX antennas"

l_.str.8:                               ; @.str.8
	.asciz	"%s v%d, %pm, %s firmware %u.%u.%u.%u\n"

l_.str.9:                               ; @.str.9
	.asciz	"AP"

l_.str.10:                              ; @.str.10
	.asciz	"STA"

	.no_dead_strip	_mwl8k_probe_hw
.subsections_via_symbols
