	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x2_mac_pbf_init
_mt76x2_mac_pbf_init:                   ## @mt76x2_mac_pbf_init
	.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
	movq	_MT_PBF_SYS_CTRL_MCU_RESET@GOTPCREL(%rip), %rax
	movq	_MT_PBF_SYS_CTRL_DMA_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	%rdi, %r14
	movq	_MT_PBF_SYS_CTRL_MAC_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MT_PBF_SYS_CTRL_PBF_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MT_PBF_SYS_CTRL_ASY_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_MT_PBF_SYS_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%ebx, %edx
	callq	_mt76_set
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_mt76_clear
	movq	_MT_PBF_TX_MAX_PCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-269533409, %edx               ## imm = 0xEFEF3F1F
	callq	_mt76_wr
	movq	_MT_PBF_RX_MAX_PCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$65215, %edx                    ## imm = 0xFEBF
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_wr                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_PBF_SYS_CTRL_MCU_RESET,4,2  ## @MT_PBF_SYS_CTRL_MCU_RESET
	.comm	_MT_PBF_SYS_CTRL_DMA_RESET,4,2  ## @MT_PBF_SYS_CTRL_DMA_RESET
	.comm	_MT_PBF_SYS_CTRL_MAC_RESET,4,2  ## @MT_PBF_SYS_CTRL_MAC_RESET
	.comm	_MT_PBF_SYS_CTRL_PBF_RESET,4,2  ## @MT_PBF_SYS_CTRL_PBF_RESET
	.comm	_MT_PBF_SYS_CTRL_ASY_RESET,4,2  ## @MT_PBF_SYS_CTRL_ASY_RESET
	.comm	_MT_PBF_SYS_CTRL,4,2            ## @MT_PBF_SYS_CTRL
	.comm	_MT_PBF_TX_MAX_PCNT,4,2         ## @MT_PBF_TX_MAX_PCNT
	.comm	_MT_PBF_RX_MAX_PCNT,4,2         ## @MT_PBF_RX_MAX_PCNT
	.no_dead_strip	_mt76x2_mac_pbf_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x2_mac_pbf_init
_mt76x2_mac_pbf_init:                   ; @mt76x2_mac_pbf_init
	.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	x8, _MT_PBF_SYS_CTRL_MCU_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_PBF_SYS_CTRL_MCU_RESET@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MT_PBF_SYS_CTRL_DMA_RESET@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MT_PBF_SYS_CTRL_DMA_RESET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _MT_PBF_SYS_CTRL_MAC_RESET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MT_PBF_SYS_CTRL_MAC_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _MT_PBF_SYS_CTRL_PBF_RESET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MT_PBF_SYS_CTRL_PBF_RESET@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _MT_PBF_SYS_CTRL_ASY_RESET@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MT_PBF_SYS_CTRL_ASY_RESET@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w20, w8, w9
Lloh15:
	adrp	x21, _MT_PBF_SYS_CTRL@GOTPAGE
Lloh16:
	ldr	x21, [x21, _MT_PBF_SYS_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x2, x20
	bl	_mt76_set
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_mt76_clear
Lloh17:
	adrp	x8, _MT_PBF_TX_MAX_PCNT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MT_PBF_TX_MAX_PCNT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16159
	movk	w2, #61423, lsl #16
	bl	_mt76_wr
Lloh20:
	adrp	x8, _MT_PBF_RX_MAX_PCNT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MT_PBF_RX_MAX_PCNT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65215
	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_wr
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_PBF_SYS_CTRL_MCU_RESET,4,2  ; @MT_PBF_SYS_CTRL_MCU_RESET
	.comm	_MT_PBF_SYS_CTRL_DMA_RESET,4,2  ; @MT_PBF_SYS_CTRL_DMA_RESET
	.comm	_MT_PBF_SYS_CTRL_MAC_RESET,4,2  ; @MT_PBF_SYS_CTRL_MAC_RESET
	.comm	_MT_PBF_SYS_CTRL_PBF_RESET,4,2  ; @MT_PBF_SYS_CTRL_PBF_RESET
	.comm	_MT_PBF_SYS_CTRL_ASY_RESET,4,2  ; @MT_PBF_SYS_CTRL_ASY_RESET
	.comm	_MT_PBF_SYS_CTRL,4,2            ; @MT_PBF_SYS_CTRL
	.comm	_MT_PBF_TX_MAX_PCNT,4,2         ; @MT_PBF_TX_MAX_PCNT
	.comm	_MT_PBF_RX_MAX_PCNT,4,2         ; @MT_PBF_RX_MAX_PCNT
	.no_dead_strip	_mt76x2_mac_pbf_init
.subsections_via_symbols
