	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar9003_hw_tx99_start
_ar9003_hw_tx99_start:                  ## @ar9003_hw_tx99_start
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_AR_PHY_TEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_AGC_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_REG_SET_BIT
	movq	_AR_DIAG_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_DIAG_RX_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_CLR_BIT
	movq	_AR_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AR_CR_RXD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_WRITE
	movl	%r14d, %edi
	callq	_AR_DLCL_IFS
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movq	_AR_D_GBL_IFS_SIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_REG_WRITE
	movq	_AR_D_GBL_IFS_EIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_REG_WRITE
	movq	_AR_TIME_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_REG_WRITE
	movl	%r14d, %edi
	callq	_AR_DRETRY_LIMIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_REG_WRITE
	movl	%r14d, %edi
	callq	_AR_QMISC
	movq	_AR_Q_MISC_DCU_EARLY_TERM_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_SET_BIT                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_PHY_TEST,4,2                ## @AR_PHY_TEST
	.comm	_PHY_AGC_CLR,4,2                ## @PHY_AGC_CLR
	.comm	_AR_DIAG_SW,4,2                 ## @AR_DIAG_SW
	.comm	_AR_DIAG_RX_DIS,4,2             ## @AR_DIAG_RX_DIS
	.comm	_AR_CR,4,2                      ## @AR_CR
	.comm	_AR_CR_RXD,4,2                  ## @AR_CR_RXD
	.comm	_AR_D_GBL_IFS_SIFS,4,2          ## @AR_D_GBL_IFS_SIFS
	.comm	_AR_D_GBL_IFS_EIFS,4,2          ## @AR_D_GBL_IFS_EIFS
	.comm	_AR_TIME_OUT,4,2                ## @AR_TIME_OUT
	.comm	_AR_Q_MISC_DCU_EARLY_TERM_REQ,4,2 ## @AR_Q_MISC_DCU_EARLY_TERM_REQ
	.no_dead_strip	_ar9003_hw_tx99_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar9003_hw_tx99_start
_ar9003_hw_tx99_start:                  ; @ar9003_hw_tx99_start
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _AR_PHY_TE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25:
	ldr	x8, [x8, _AR_TIME_OUT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1024
	bl	_REG_WRITE
	mov	x0, x20
	bl	_AR_DRETRY_LIMIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_REG_WRITE
	mov	x0, x20
	bl	_AR_QMISC
	mov	x1, x0
Lloh27:
	adrp	x8, _AR_Q_MISC_DCU_EARLY_TERM_REQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR_Q_MISC_DCU_EARLY_TERM_REQ@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_SET_BIT
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_AR_PHY_TEST,4,2                ; @AR_PHY_TEST
	.comm	_PHY_AGC_CLR,4,2                ; @PHY_AGC_CLR
	.comm	_AR_DIAG_SW,4,2                 ; @AR_DIAG_SW
	.comm	_AR_DIAG_RX_DIS,4,2             ; @AR_DIAG_RX_DIS
	.comm	_AR_CR,4,2                      ; @AR_CR
	.comm	_AR_CR_RXD,4,2                  ; @AR_CR_RXD
	.comm	_AR_D_GBL_IFS_SIFS,4,2          ; @AR_D_GBL_IFS_SIFS
	.comm	_AR_D_GBL_IFS_EIFS,4,2          ; @AR_D_GBL_IFS_EIFS
	.comm	_AR_TIME_OUT,4,2                ; @AR_TIME_OUT
	.comm	_AR_Q_MISC_DCU_EARLY_TERM_REQ,4,2 ; @AR_Q_MISC_DCU_EARLY_TERM_REQ
	.no_dead_strip	_ar9003_hw_tx99_start
.subsections_via_symbols
