	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7601u_read_bootup_temp
_mt7601u_read_bootup_temp:              ## @mt7601u_read_bootup_temp
	.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, %r13
	movq	_MT_RF_SETTING_0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_mt7601u_rr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_MT_RF_BYPASS_0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_mt7601u_rr
	movl	%eax, %r15d
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_mt7601u_wr
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$16, %edx
	callq	_mt7601u_wr
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$16, %edx
	callq	_mt7601u_wr
	movq	%r13, %rdi
	movl	$47, %esi
	xorl	%edx, %edx
	movl	$16, %ecx
	callq	_mt7601u_bbp_rmw
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	$22, %esi
	movl	$64, %edx
	callq	_mt7601u_bbp_wr
	testb	$16, %r12b
	je	LBB0_4
## %bb.1:
	movl	$-99, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_mt7601u_bbp_rr
	movl	%eax, %r12d
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	andl	$16, %eax
	incl	%ebx
	testl	%eax, %eax
	jne	LBB0_2
LBB0_4:
	movq	_BBP_R47_F_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_mt7601u_bbp_r47_get
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	$22, %esi
	xorl	%edx, %edx
	callq	_mt7601u_bbp_wr
	movq	%r13, %rdi
	movl	$21, %esi
	callq	_mt7601u_bbp_rr
	movl	%eax, %ebx
	movl	%eax, %edx
	orl	$2, %edx
	movq	%r13, %rdi
	movl	$21, %esi
	callq	_mt7601u_bbp_wr
	andl	$-3, %ebx
	movq	%r13, %rdi
	movl	$21, %esi
	movl	%ebx, %edx
	callq	_mt7601u_bbp_wr
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_mt7601u_wr
	movq	_MT_RF_SETTING_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_mt7601u_wr
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_mt7601u_wr
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_trace_read_temp
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_RF_SETTING_0,4,2            ## @MT_RF_SETTING_0
	.comm	_MT_RF_BYPASS_0,4,2             ## @MT_RF_BYPASS_0
	.comm	_BBP_R47_F_TEMP,4,2             ## @BBP_R47_F_TEMP
	.no_dead_strip	_mt7601u_read_bootup_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7601u_read_bootup_temp
_mt7601u_read_bootup_temp:              ; @mt7601u_read_bootup_temp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x24, _MT_RF_SETTING_0@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MT_RF_SETTING_0@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_mt7601u_rr
	mov	x20, x0
Lloh2:
	adrp	x25, _MT_RF_BYPASS_0@GOTPAGE
Lloh3:
	ldr	x25, [x25, _MT_RF_BYPASS_0@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_mt7601u_rr
	mov	x21, x0
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_mt7601u_wr
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #16
	bl	_mt7601u_wr
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #16
	bl	_mt7601u_wr
	mov	x0, x19
	mov	w1, #47
	mov	w2, #0
	mov	w3, #16
	bl	_mt7601u_bbp_rmw
	mov	x22, x0
	mov	x0, x19
	mov	w1, #22
	mov	w2, #64
	bl	_mt7601u_bbp_wr
	tbz	w22, #4, LBB0_4
; %bb.1:
	mov	w23, #-99
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #47
	bl	_mt7601u_bbp_rr
	mov	x22, x0
	cbz	w23, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	tbnz	w22, #4, LBB0_2
LBB0_4:
Lloh4:
	adrp	x8, _BBP_R47_F_TEMP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BBP_R47_F_TEMP@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_mt7601u_bbp_r47_get
	mov	x22, x0
	mov	x0, x19
	mov	w1, #22
	mov	w2, #0
	bl	_mt7601u_bbp_wr
	mov	x0, x19
	mov	w1, #21
	bl	_mt7601u_bbp_rr
	mov	x23, x0
	orr	w2, w0, #0x2
	mov	x0, x19
	mov	w1, #21
	bl	_mt7601u_bbp_wr
	and	w2, w23, #0xfffffffd
	mov	x0, x19
	mov	w1, #21
	bl	_mt7601u_bbp_wr
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #0
	bl	_mt7601u_wr
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_mt7601u_wr
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x21
	bl	_mt7601u_wr
	mov	x0, x19
	mov	x1, x22
	bl	_trace_read_temp
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_RF_SETTING_0,4,2            ; @MT_RF_SETTING_0
	.comm	_MT_RF_BYPASS_0,4,2             ; @MT_RF_BYPASS_0
	.comm	_BBP_R47_F_TEMP,4,2             ; @BBP_R47_F_TEMP
	.no_dead_strip	_mt7601u_read_bootup_temp
.subsections_via_symbols
