	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_mac_rx_ba_reset         ## -- Begin function mt7603_mac_rx_ba_reset
	.p2align	4, 0x90
_mt7603_mac_rx_ba_reset:                ## @mt7603_mac_rx_ba_reset
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_MT_BA_CONTROL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rsi, %rdi
	callq	_get_unaligned_le32
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mt76_wr
	movq	_MT_BA_CONTROL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_get_unaligned_le16
	movl	%eax, %ebx
	movq	_MT_BA_CONTROL_1_TID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movq	_MT_BA_CONTROL_1_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_wr                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_BA_CONTROL_0,4,2            ## @MT_BA_CONTROL_0
	.comm	_MT_BA_CONTROL_1,4,2            ## @MT_BA_CONTROL_1
	.comm	_MT_BA_CONTROL_1_TID,4,2        ## @MT_BA_CONTROL_1_TID
	.comm	_MT_BA_CONTROL_1_RESET,4,2      ## @MT_BA_CONTROL_1_RESET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_mac_rx_ba_reset         ; -- Begin function mt7603_mac_rx_ba_reset
	.p2align	2
_mt7603_mac_rx_ba_reset:                ; @mt7603_mac_rx_ba_reset
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MT_BA_CONTROL_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_BA_CONTROL_0@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x1
	bl	_get_unaligned_le32
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_mt76_wr
Lloh3:
	adrp	x8, _MT_BA_CONTROL_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_BA_CONTROL_1@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	add	x0, x20, #4
	bl	_get_unaligned_le16
	mov	x20, x0
Lloh6:
	adrp	x8, _MT_BA_CONTROL_1_TID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_BA_CONTROL_1_TID@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FIELD_PREP
Lloh9:
	adrp	x8, _MT_BA_CONTROL_1_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MT_BA_CONTROL_1_RESET@GOTPAGEOFF]
	orr	w9, w0, w20
Lloh11:
	ldr	w8, [x8]
	orr	w2, w9, w8
	mov	x0, x21
	mov	x1, x22
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_BA_CONTROL_0,4,2            ; @MT_BA_CONTROL_0
	.comm	_MT_BA_CONTROL_1,4,2            ; @MT_BA_CONTROL_1
	.comm	_MT_BA_CONTROL_1_TID,4,2        ; @MT_BA_CONTROL_1_TID
	.comm	_MT_BA_CONTROL_1_RESET,4,2      ; @MT_BA_CONTROL_1_RESET
.subsections_via_symbols
