	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_set_tx_ackto           ## -- Begin function mt76x02_set_tx_ackto
	.p2align	4, 0x90
_mt76x02_set_tx_ackto:                  ## @mt76x02_set_tx_ackto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movslq	(%rdi), %rax
	leaq	(%rax,%rax,2), %rbx
	addq	8(%rdi), %rbx
	movq	_MT_BKOFF_SLOT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_BKOFF_SLOT_CFG_SLOTTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	callq	_mt76_rmw_field
	movq	_MT_XIFS_TIME_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_XIFS_TIME_CFG_OFDM_SIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_mt76_get_field
	addq	%rax, %rbx
	movq	_MT_TX_TIMEOUT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_TX_TIMEOUT_CFG_ACKTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mt76_rmw_field                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_BKOFF_SLOT_CFG,4,2          ## @MT_BKOFF_SLOT_CFG
	.comm	_MT_BKOFF_SLOT_CFG_SLOTTIME,4,2 ## @MT_BKOFF_SLOT_CFG_SLOTTIME
	.comm	_MT_XIFS_TIME_CFG,4,2           ## @MT_XIFS_TIME_CFG
	.comm	_MT_XIFS_TIME_CFG_OFDM_SIFS,4,2 ## @MT_XIFS_TIME_CFG_OFDM_SIFS
	.comm	_MT_TX_TIMEOUT_CFG,4,2          ## @MT_TX_TIMEOUT_CFG
	.comm	_MT_TX_TIMEOUT_CFG_ACKTO,4,2    ## @MT_TX_TIMEOUT_CFG_ACKTO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_set_tx_ackto           ; -- Begin function mt76x02_set_tx_ackto
	.p2align	2
_mt76x02_set_tx_ackto:                  ; @mt76x02_set_tx_ackto
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldrsw	x9, [x0]
	add	x9, x9, x9, lsl #1
	add	x20, x8, x9
Lloh0:
	adrp	x8, _MT_BKOFF_SLOT_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_BKOFF_SLOT_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MT_BKOFF_SLOT_CFG_SLOTTIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_BKOFF_SLOT_CFG_SLOTTIME@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x20
	bl	_mt76_rmw_field
Lloh6:
	adrp	x8, _MT_XIFS_TIME_CFG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_XIFS_TIME_CFG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _MT_XIFS_TIME_CFG_OFDM_SIFS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MT_XIFS_TIME_CFG_OFDM_SIFS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mt76_get_field
	add	x3, x0, x20
Lloh12:
	adrp	x8, _MT_TX_TIMEOUT_CFG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MT_TX_TIMEOUT_CFG@GOTPAGEOFF]
Lloh14:
	adrp	x9, _MT_TX_TIMEOUT_CFG_ACKTO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MT_TX_TIMEOUT_CFG_ACKTO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	ldr	w2, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt76_rmw_field
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.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_BKOFF_SLOT_CFG,4,2          ; @MT_BKOFF_SLOT_CFG
	.comm	_MT_BKOFF_SLOT_CFG_SLOTTIME,4,2 ; @MT_BKOFF_SLOT_CFG_SLOTTIME
	.comm	_MT_XIFS_TIME_CFG,4,2           ; @MT_XIFS_TIME_CFG
	.comm	_MT_XIFS_TIME_CFG_OFDM_SIFS,4,2 ; @MT_XIFS_TIME_CFG_OFDM_SIFS
	.comm	_MT_TX_TIMEOUT_CFG,4,2          ; @MT_TX_TIMEOUT_CFG
	.comm	_MT_TX_TIMEOUT_CFG_ACKTO,4,2    ; @MT_TX_TIMEOUT_CFG_ACKTO
.subsections_via_symbols
