	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x2u_power_on_rf_patch
_mt76x2u_power_on_rf_patch:             ## @mt76x2u_power_on_rf_patch
	.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, %r14
	movq	_CFG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	$304, %esi                      ## imm = 0x130
	callq	_MT_VEND_ADDR
	movl	%eax, %r15d
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$16, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_mt76_set
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %edi
	movl	$28, %esi
	callq	_MT_VEND_ADDR
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$255, %edx
	callq	_mt76_clear
	movl	(%r12), %edi
	movl	$28, %esi
	callq	_MT_VEND_ADDR
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$48, %edx
	callq	_mt76_set
	movl	(%r12), %edi
	movl	$20, %esi
	callq	_MT_VEND_ADDR
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$18511, %edx                    ## imm = 0x484F
	callq	_mt76_wr
	movl	$1, %edi
	callq	_udelay
	movl	(%r12), %edi
	movl	$304, %esi                      ## imm = 0x130
	callq	_MT_VEND_ADDR
	movl	%eax, %ebx
	movl	$17, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_mt76_set
	movl	$150, %edi
	movl	$200, %esi
	callq	_usleep_range
	movl	(%r12), %edi
	movl	$304, %esi                      ## imm = 0x130
	callq	_MT_VEND_ADDR
	movl	%eax, %ebx
	movl	$16, %edi
	callq	_BIT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_mt76_clear
	movl	$50, %edi
	movl	$100, %esi
	callq	_usleep_range
	movl	(%r12), %edi
	movl	$332, %esi                      ## imm = 0x14C
	callq	_MT_VEND_ADDR
	movl	%eax, %r15d
	movl	$19, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$20, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_set                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG,4,2                        ## @CFG
	.no_dead_strip	_mt76x2u_power_on_rf_patch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x2u_power_on_rf_patch
_mt76x2u_power_on_rf_patch:             ; @mt76x2u_power_on_rf_patch
	.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
Lloh0:
	adrp	x22, _CFG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CFG@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #304
	bl	_MT_VEND_ADDR
	mov	x20, x0
	mov	w0, #0
	bl	_BIT
	mov	x21, x0
	mov	w0, #16
	bl	_BIT
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_set
	mov	w0, #1
	bl	_udelay
	ldr	w0, [x22]
	mov	w1, #28
	bl	_MT_VEND_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	w2, #255
	bl	_mt76_clear
	ldr	w0, [x22]
	mov	w1, #28
	bl	_MT_VEND_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	w2, #48
	bl	_mt76_set
	ldr	w0, [x22]
	mov	w1, #20
	bl	_MT_VEND_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	w2, #18511
	bl	_mt76_wr
	mov	w0, #1
	bl	_udelay
	ldr	w0, [x22]
	mov	w1, #304
	bl	_MT_VEND_ADDR
	mov	x20, x0
	mov	w0, #17
	bl	_BIT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_set
	mov	w0, #150
	mov	w1, #200
	bl	_usleep_range
	ldr	w0, [x22]
	mov	w1, #304
	bl	_MT_VEND_ADDR
	mov	x20, x0
	mov	w0, #16
	bl	_BIT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_clear
	mov	w0, #50
	mov	w1, #100
	bl	_usleep_range
	ldr	w0, [x22]
	mov	w1, #332
	bl	_MT_VEND_ADDR
	mov	x20, x0
	mov	w0, #19
	bl	_BIT
	mov	x21, x0
	mov	w0, #20
	bl	_BIT
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	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	_mt76_set
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG,4,2                        ; @CFG
	.no_dead_strip	_mt76x2u_power_on_rf_patch
.subsections_via_symbols
