	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x0e_load_firmware
_mt76x0e_load_firmware:                 ## @mt76x0e_load_firmware
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_mt76_chip
	movl	%eax, %r14d
	cmpl	$30224, %eax                    ## imm = 0x7610
	jne	LBB0_1
## %bb.2:
	movq	_MT7610E_FIRMWARE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MT7650E_FIRMWARE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rsi
	movl	(%r13), %edx
	leaq	-72(%rbp), %rdi
	callq	_request_firmware
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.4:
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	cmpl	$19, (%rax)
	jbe	LBB0_7
## %bb.9:
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r15,%rax), %ecx
	addl	$20, %ecx
	movq	-72(%rbp), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_7
## %bb.10:
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %edi
	callq	_le16_to_cpu
	movl	(%r13), %edi
	movl	%eax, %edx
	shrl	$12, %edx
	andl	$15, %edx
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	andl	$15, %eax
	leaq	L_.str(%rip), %rsi
	movl	%eax, %r8d
	callq	_dev_info
	movl	16(%rbx), %edi
	callq	_le16_to_cpu
	movq	%rbx, %rcx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, %ebx
	shrl	$12, %ebx
	andl	$15, %ebx
	movl	%r15d, %r12d
	shrl	$8, %r12d
	andl	$15, %r12d
	andl	$15, %r15d
	movl	12(%rcx), %edi
	callq	_le16_to_cpu
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$30224, %r14d                   ## imm = 0x7610
	je	LBB0_13
## %bb.11:
	movq	_MT_MCU_SEMAPHORE_00@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$600, %r8d                      ## imm = 0x258
	callq	_mt76_poll
	testl	%eax, %eax
	je	LBB0_12
LBB0_13:
	addq	$80, -56(%rbp)                  ## 8-byte Folded Spill
	movq	_MT_MCU_PCIE_REMAP_BASE4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_mt76_wr
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	_MT_MCU_IVB_SIZE@GOTPCREL(%rip), %r15
	movl	$0, %r12d
	cmpl	$30224, %r14d                   ## imm = 0x7610
	je	LBB0_15
## %bb.14:
	movl	(%r15), %r12d
LBB0_15:
	subl	%r12d, %ebx
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_MT_MCU_ILM_ADDR@GOTPCREL(%rip), %rcx
	movslq	%r12d, %rax
	addl	(%rcx), %r12d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %ecx
	callq	_mt76_wr_copy
	cmpl	$30224, %r14d                   ## imm = 0x7610
	jne	LBB0_17
## %bb.16:
	movq	_MT_MCU_RESET_CTL@GOTPCREL(%rip), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$768, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x300
	jmp	LBB0_18
LBB0_7:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	cmpl	$30224, %r14d                   ## imm = 0x7610
	je	LBB0_23
LBB0_22:
	movq	_MT_MCU_SEMAPHORE_00@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_mt76_wr
LBB0_23:
	movq	-72(%rbp), %rdi
	callq	_release_firmware
LBB0_24:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	(%r13), %edi
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_MT_MCU_IVB_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_mt76_wr_copy
	movq	_MT_MCU_INT_LEVEL@GOTPCREL(%rip), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$3, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_18:
	movq	_MT_MCU_PCIE_REMAP_BASE4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_MCU_DLM_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_mt76_wr
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	4(%r12), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_MT_MCU_ILM_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	(%r12), %edi
	callq	_le32_to_cpu
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdx
	movq	%r13, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %ecx
	callq	_mt76_wr_copy
	movq	_MT_MCU_PCIE_REMAP_BASE4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_mt76_wr
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_mt76_wr
	movq	_MT_MCU_COM_REG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	movl	$1, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_mt76_poll_msec
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_mt76x02_set_ethtool_fwver
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$30224, %r14d                   ## imm = 0x7610
	jne	LBB0_22
	jmp	LBB0_23
LBB0_19:
	movl	(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_err
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_MT7650E_FIRMWARE,8,3           ## @MT7650E_FIRMWARE
	.comm	_MT7610E_FIRMWARE,8,3           ## @MT7610E_FIRMWARE
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Firmware Version: %d.%d.%02d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Firmware Version: %d.%d.%02d Build: %x Build time: %.16s\n"

	.comm	_MT_MCU_SEMAPHORE_00,4,2        ## @MT_MCU_SEMAPHORE_00
L_.str.2:                               ## @.str.2
	.asciz	"Could not get hardware semaphore for loading fw\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_MT_MCU_PCIE_REMAP_BASE4,4,2    ## @MT_MCU_PCIE_REMAP_BASE4
	.comm	_MT_MCU_IVB_SIZE,4,2            ## @MT_MCU_IVB_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"loading FW - ILM %u\n"

	.comm	_MT_MCU_ILM_ADDR,4,2            ## @MT_MCU_ILM_ADDR
L_.str.4:                               ## @.str.4
	.asciz	"loading FW - IVB %u\n"

	.comm	_MT_MCU_IVB_ADDR,4,2            ## @MT_MCU_IVB_ADDR
	.comm	_MT_MCU_DLM_OFFSET,4,2          ## @MT_MCU_DLM_OFFSET
L_.str.5:                               ## @.str.5
	.asciz	"loading FW - DLM %u\n"

	.comm	_MT_MCU_INT_LEVEL,4,2           ## @MT_MCU_INT_LEVEL
	.comm	_MT_MCU_RESET_CTL,4,2           ## @MT_MCU_RESET_CTL
	.comm	_MT_MCU_COM_REG0,4,2            ## @MT_MCU_COM_REG0
L_.str.6:                               ## @.str.6
	.asciz	"Firmware failed to start\n"

L_.str.7:                               ## @.str.7
	.asciz	"Firmware running!\n"

	.no_dead_strip	_mt76x0e_load_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x0e_load_firmware
_mt76x0e_load_firmware:                 ; @mt76x0e_load_firmware
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_mt76_chip
	mov	x20, x0
Lloh0:
	adrp	x8, _MT7610E_FIRMWARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT7610E_FIRMWARE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MT7650E_FIRMWARE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MT7650E_FIRMWARE@GOTPAGEOFF]
	mov	w10, #30224
	cmp	w0, w10
	csel	x8, x8, x9, eq
	ldr	x1, [x8]
	ldr	w2, [x19]
	add	x0, sp, #40
	bl	_request_firmware
	mov	x21, x0
	cbnz	w0, LBB0_14
; %bb.1:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	x21, [x8, #8]
	cbz	x21, LBB0_9
; %bb.3:
	ldr	w8, [x8]
	cmp	w8, #19
	b.ls	LBB0_9
; %bb.4:
	ldr	w0, [x21]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	add	w8, w22, w0
	add	w9, w8, #20
	ldr	x8, [sp, #40]
	ldr	w10, [x8]
	cmp	w10, w9
	b.ne	LBB0_9
; %bb.5:
	ldr	x23, [x8, #8]
	ldr	w0, [x21, #16]
	bl	_le16_to_cpu
	ldr	w8, [x19]
	ubfx	w2, w0, #12, #4
	ubfx	w3, w0, #8, #4
	and	w4, w0, #0xf
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_info
	ldr	w0, [x21, #16]
	bl	_le16_to_cpu
	ldr	w22, [x19]
	ubfx	w24, w0, #12, #4
	ubfx	w25, w0, #8, #4
	and	w26, w0, #0xf
	ldr	w0, [x21, #12]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x21, #8]
	stp	x0, x8, [sp, #24]
	stp	x25, x26, [sp, #8]
	str	x24, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_dev_dbg
	mov	w24, #30224
	cmp	w20, w24
	b.eq	LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _MT_MCU_SEMAPHORE_00@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MT_MCU_SEMAPHORE_00@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	mov	w4, #600
	bl	_mt76_poll
	cbz	w0, LBB0_19
LBB0_7:
	add	x22, x23, #80
Lloh11:
	adrp	x26, _MT_MCU_PCIE_REMAP_BASE4@GOTPAGE
Lloh12:
	ldr	x26, [x26, _MT_MCU_PCIE_REMAP_BASE4@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_mt76_wr
	ldr	w0, [x21]
	bl	_le32_to_cpu
Lloh13:
	adrp	x27, _MT_MCU_IVB_SIZE@GOTPAGE
Lloh14:
	ldr	x27, [x27, _MT_MCU_IVB_SIZE@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w20, w24
	csel	w28, wzr, w8, eq
	sub	w23, w0, w28
	ldr	w0, [x19]
	str	x23, [sp]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
Lloh17:
	adrp	x25, _MT_MCU_ILM_ADDR@GOTPAGE
Lloh18:
	ldr	x25, [x25, _MT_MCU_ILM_ADDR@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w1, w8, w28
	add	x2, x22, w28, sxtw #2
	mov	x0, x19
	mov	x3, x23
	bl	_mt76_wr_copy
	cmp	w20, w24
	b.ne	LBB0_15
; %bb.8:
Lloh19:
	adrp	x27, _MT_MCU_RESET_CTL@GOTPAGE
Lloh20:
	ldr	x27, [x27, _MT_MCU_RESET_CTL@GOTPAGEOFF]
	mov	w23, #768
	b	LBB0_16
LBB0_9:
Lloh21:
	adrp	x8, _EIO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	mov	w8, #30224
	cmp	w20, w8
	b.eq	LBB0_13
LBB0_12:
Lloh23:
	adrp	x8, _MT_MCU_SEMAPHORE_00@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MT_MCU_SEMAPHORE_00@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_mt76_wr
LBB0_13:
	ldr	x0, [sp, #40]
	bl	_release_firmware
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	ldr	w0, [x19]
	ldr	w8, [x27]
	str	x8, [sp]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_dbg
Lloh28:
	adrp	x8, _MT_MCU_IVB_ADDR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MT_MCU_IVB_ADDR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x2, x22
	bl	_mt76_wr_copy
Lloh31:
	adrp	x27, _MT_MCU_INT_LEVEL@GOTPAGE
Lloh32:
	ldr	x27, [x27, _MT_MCU_INT_LEVEL@GOTPAGEOFF]
	mov	w23, #3
LBB0_16:
	ldr	w1, [x26]
Lloh33:
	adrp	x8, _MT_MCU_DLM_OFFSET@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MT_MCU_DLM_OFFSET@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mt76_wr
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	mov	x24, x0
	ldr	w0, [x19]
	str	x24, [sp]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_dbg
	ldr	w25, [x25]
	ldr	w0, [x21]
	bl	_le32_to_cpu
	add	x2, x22, w0, sxtw #2
	mov	x0, x19
	mov	x1, x25
	mov	x3, x24
	bl	_mt76_wr_copy
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_mt76_wr
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x23
	bl	_mt76_wr
Lloh38:
	adrp	x8, _MT_MCU_COM_REG0@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MT_MCU_COM_REG0@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	mov	w4, #1000
	bl	_mt76_poll_msec
	cbz	w0, LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x21
	bl	_mt76x02_set_ethtool_fwver
	ldr	w0, [x19]
Lloh41:
	adrp	x1, l_.str.7@PAGE
Lloh42:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_dbg
	mov	w21, #0
	b	LBB0_11
LBB0_18:
	ldr	w0, [x19]
Lloh43:
	adrp	x1, l_.str.6@PAGE
Lloh44:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_err
Lloh45:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_10
LBB0_19:
	ldr	w0, [x19]
Lloh47:
	adrp	x1, l_.str.2@PAGE
Lloh48:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh49:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_12
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_MT7650E_FIRMWARE,8,3           ; @MT7650E_FIRMWARE
	.comm	_MT7610E_FIRMWARE,8,3           ; @MT7610E_FIRMWARE
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Firmware Version: %d.%d.%02d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Firmware Version: %d.%d.%02d Build: %x Build time: %.16s\n"

	.comm	_MT_MCU_SEMAPHORE_00,4,2        ; @MT_MCU_SEMAPHORE_00
l_.str.2:                               ; @.str.2
	.asciz	"Could not get hardware semaphore for loading fw\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_MT_MCU_PCIE_REMAP_BASE4,4,2    ; @MT_MCU_PCIE_REMAP_BASE4
	.comm	_MT_MCU_IVB_SIZE,4,2            ; @MT_MCU_IVB_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"loading FW - ILM %u\n"

	.comm	_MT_MCU_ILM_ADDR,4,2            ; @MT_MCU_ILM_ADDR
l_.str.4:                               ; @.str.4
	.asciz	"loading FW - IVB %u\n"

	.comm	_MT_MCU_IVB_ADDR,4,2            ; @MT_MCU_IVB_ADDR
	.comm	_MT_MCU_DLM_OFFSET,4,2          ; @MT_MCU_DLM_OFFSET
l_.str.5:                               ; @.str.5
	.asciz	"loading FW - DLM %u\n"

	.comm	_MT_MCU_INT_LEVEL,4,2           ; @MT_MCU_INT_LEVEL
	.comm	_MT_MCU_RESET_CTL,4,2           ; @MT_MCU_RESET_CTL
	.comm	_MT_MCU_COM_REG0,4,2            ; @MT_MCU_COM_REG0
l_.str.6:                               ; @.str.6
	.asciz	"Firmware failed to start\n"

l_.str.7:                               ; @.str.7
	.asciz	"Firmware running!\n"

	.no_dead_strip	_mt76x0e_load_firmware
.subsections_via_symbols
