	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7601u_bbp_temp
_mt7601u_bbp_temp:                      ## @mt7601u_bbp_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpl	%esi, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	callq	_trace_temp_mode
	movq	_bbp_mode_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	_MT_MCU_MEMMAP_BBP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	16(%r14), %ecx
	movl	20(%r14), %edx
	movq	%rbx, %rdi
	callq	_mt7601u_write_reg_pairs
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r15), %esi
	movq	8(%rbx), %rax
	movl	(%r14,%rax,8), %ecx
	movl	4(%r14,%rax,8), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt7601u_write_reg_pairs        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bbp_mode_table,8,3             ## @bbp_mode_table
	.comm	_MT_MCU_MEMMAP_BBP,4,2          ## @MT_MCU_MEMMAP_BBP
	.no_dead_strip	_mt7601u_bbp_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7601u_bbp_temp
_mt7601u_bbp_temp:                      ; @mt7601u_bbp_temp
	.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
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	str	w1, [x0]
	bl	_trace_temp_mode
Lloh0:
	adrp	x8, _bbp_mode_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bbp_mode_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x9, [x19]
	ldr	x20, [x8, x9, lsl #3]
Lloh3:
	adrp	x21, _MT_MCU_MEMMAP_BBP@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MT_MCU_MEMMAP_BBP@GOTPAGEOFF]
	ldr	w1, [x21]
	ldp	w3, w2, [x20, #16]
	mov	x0, x19
	bl	_mt7601u_write_reg_pairs
	cbz	w0, LBB0_4
LBB0_3:
	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_4:
	ldr	w1, [x21]
	ldr	x8, [x19, #8]
	add	x8, x20, x8, lsl #3
	ldp	w3, w2, [x8]
	mov	x0, x19
	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
	b	_mt7601u_write_reg_pairs
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bbp_mode_table,8,3             ; @bbp_mode_table
	.comm	_MT_MCU_MEMMAP_BBP,4,2          ; @MT_MCU_MEMMAP_BBP
	.no_dead_strip	_mt7601u_bbp_temp
.subsections_via_symbols
