	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mgsl_dma_test
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	2                               ## 0x2
	.byte	3                               ## 0x3
	.byte	4                               ## 0x4
	.byte	5                               ## 0x5
	.byte	6                               ## 0x6
	.byte	7                               ## 0x7
	.byte	8                               ## 0x8
	.byte	9                               ## 0x9
	.byte	10                              ## 0xa
	.byte	11                              ## 0xb
	.byte	12                              ## 0xc
	.byte	13                              ## 0xd
	.byte	14                              ## 0xe
	.byte	15                              ## 0xf
LCPI0_1:
	.byte	16                              ## 0x10
	.byte	17                              ## 0x11
	.byte	18                              ## 0x12
	.byte	19                              ## 0x13
	.byte	20                              ## 0x14
	.byte	21                              ## 0x15
	.byte	22                              ## 0x16
	.byte	23                              ## 0x17
	.byte	24                              ## 0x18
	.byte	25                              ## 0x19
	.byte	26                              ## 0x1a
	.byte	27                              ## 0x1b
	.byte	28                              ## 0x1c
	.byte	29                              ## 0x1d
	.byte	30                              ## 0x1e
	.byte	31                              ## 0x1f
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mgsl_dma_test:                         ## @mgsl_dma_test
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-60(%rbp), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_default_params@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	_usc_reset
	movq	%r14, %rdi
	callq	_usc_set_sdlc_mode
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_usc_enable_loopback
	movq	_RDMR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$57856, %edx                    ## imm = 0xE200
	callq	_usc_OutDmaReg
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	16(%r14), %rax
	movabsq	$171798691880, %rcx             ## imm = 0x2800000028
	movq	%rcx, (%rax)
	movl	$16384, 8(%rax)                 ## imm = 0x4000
	movq	16(%rax), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
	movups	%xmm0, (%rax)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]
	movups	%xmm0, 16(%rax)
	movabsq	$2820983053732684064, %rcx      ## imm = 0x2726252423222120
	movq	%rcx, 32(%rax)
	movq	8(%r14), %rax
	movw	$0, (%rax)
	movl	$44, 4(%rax)
	movl	16(%rax), %edi
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	movl	$44, %edx
	callq	_memset
	movq	16(%r14), %rax
	movl	$0, 32(%rax)
	movq	8(%r14), %rax
	movl	$0, 28(%rax)
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_RTCmd_PurgeRxFifo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usc_RTCmd
	movq	8(%r14), %rax
	movl	8(%rax), %ebx
	movq	_NRARL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%bx, %edx
	movq	%r14, %rdi
	callq	_usc_OutDmaReg
	movq	_NRARU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shrl	$16, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_usc_OutDmaReg
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_usc_InDmaReg
	movq	_DmaCmd_InitRxChannel@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usc_DmaCmd
	movq	_RMR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_usc_InReg
	andl	$-4, %eax
	orl	$2, %eax
	movzwl	%ax, %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_usc_OutReg
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r12
	addq	%rbx, %r12
	movq	(%r13), %rdi
	movq	%r12, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movq	_BIT4@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r12, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_RDMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usc_InDmaReg
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	testw	%bx, (%r13)
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_BIT5@GOTPCREL(%rip), %rax
	testw	%bx, (%rax)
	je	LBB0_2
## %bb.5:
	movb	$1, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
LBB0_6:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_7:
	movq	_jiffies@GOTPCREL(%rip), %r13
LBB0_8:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_TCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r14), %rax
	movzwl	(%rax), %edx
	movq	%r14, %rdi
	callq	_usc_OutReg
	movq	_RTCmd_PurgeTxFifo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usc_RTCmd
	movq	16(%r14), %rax
	movl	24(%rax), %ebx
	movq	_NTARL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzwl	%bx, %edx
	movq	%r14, %rdi
	callq	_usc_OutDmaReg
	movq	_NTARU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shrl	$16, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_usc_OutDmaReg
	movq	_TCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_usc_InReg
                                        ## kill: def $eax killed $eax def $rax
	andl	$3840, %eax                     ## imm = 0xF00
	leal	250(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_usc_OutReg
	movq	_DmaCmd_InitTxChannel@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_usc_DmaCmd
	movq	_TCmd_SelectTicrTxFifostatus@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_usc_TCmd
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	(%r13), %rbx
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r12
	addq	%rbx, %r12
	movq	_TICR@GOTPCREL(%rip), %r14
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r12, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%r14), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_usc_InReg
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	testl	$16773120, %ebx                 ## imm = 0xFFF000
	jne	LBB0_9
## %bb.11:
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_21
## %bb.12:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_TCmd_SendFrame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_usc_TCmd
	movq	_TMR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_usc_InReg
	andl	$-4, %eax
	orl	$2, %eax
	movzwl	%ax, %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_usc_OutReg
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_TCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %r12
	movq	%rbx, %rdi
	callq	_usc_InReg
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movzwl	%bx, %r8d
	movq	_BIT6@GOTPCREL(%rip), %rax
	movzwl	(%rax), %edx
	movq	_BIT5@GOTPCREL(%rip), %rax
	movzwl	(%rax), %ecx
	addl	%ecx, %edx
	movq	_BIT4@GOTPCREL(%rip), %rbx
	movzwl	(%rbx), %esi
	addl	%edx, %esi
	movq	_BIT2@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edi
	addl	%esi, %edi
	movq	_BIT1@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	addl	%edx, %edi
	testl	%edi, %r8d
	jne	LBB0_16
## %bb.13:
	addq	%r14, -48(%rbp)                 ## 8-byte Folded Spill
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_TCSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_usc_InReg
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movzwl	%r12w, %r8d
	movq	_BIT6@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movzwl	(%rax), %edx
	movq	%r14, %rax
	movzwl	(%r14), %ecx
	addl	%ecx, %edx
	movzwl	(%rbx), %esi
	addl	%edx, %esi
	movq	_BIT2@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edi
	addl	%esi, %edi
	movq	_BIT1@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	addl	%edx, %edi
	testl	%edi, %r8d
	je	LBB0_14
LBB0_16:
	addl	%ecx, %edx
	testl	%edx, %r8d
	jne	LBB0_22
## %bb.17:
	movq	_jiffies@GOTPCREL(%rip), %r14
	movq	(%r14), %r12
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %rbx
	addq	%r12, %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movzwl	(%rax), %ecx
	testl	%ecx, %ecx
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_18
	jmp	LBB0_22
LBB0_21:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_22:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	%r12, %rdi
	callq	_usc_reset
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	leaq	-60(%rbp), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_BIT8@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	movq	_BIT3@GOTPCREL(%rip), %rsi
	movzwl	(%rsi), %esi
	addl	%edx, %esi
	movq	_BIT1@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	addl	%esi, %edx
	testl	%ecx, %edx
	jne	LBB0_22
## %bb.24:
	movq	16(%r12), %rcx
	movq	16(%rcx), %rdi
	movl	16(%rax), %esi
	movl	$40, %edx
	callq	_memcmp
	xorl	%r13d, %r13d
	testq	%rax, %rax
	sete	%r13b
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_default_params,4,2             ## @default_params
	.comm	_RDMR,4,2                       ## @RDMR
	.comm	_RTCmd_PurgeRxFifo,4,2          ## @RTCmd_PurgeRxFifo
	.comm	_NRARL,4,2                      ## @NRARL
	.comm	_NRARU,4,2                      ## @NRARU
	.comm	_DmaCmd_InitRxChannel,4,2       ## @DmaCmd_InitRxChannel
	.comm	_RMR,4,2                        ## @RMR
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_BIT4,2,1                       ## @BIT4
	.comm	_BIT5,2,1                       ## @BIT5
	.comm	_TCLR,4,2                       ## @TCLR
	.comm	_RTCmd_PurgeTxFifo,4,2          ## @RTCmd_PurgeTxFifo
	.comm	_NTARL,4,2                      ## @NTARL
	.comm	_NTARU,4,2                      ## @NTARU
	.comm	_TCSR,4,2                       ## @TCSR
	.comm	_DmaCmd_InitTxChannel,4,2       ## @DmaCmd_InitTxChannel
	.comm	_TCmd_SelectTicrTxFifostatus,4,2 ## @TCmd_SelectTicrTxFifostatus
	.comm	_TICR,4,2                       ## @TICR
	.comm	_TCmd_SendFrame,4,2             ## @TCmd_SendFrame
	.comm	_TMR,4,2                        ## @TMR
	.comm	_BIT6,2,1                       ## @BIT6
	.comm	_BIT2,2,1                       ## @BIT2
	.comm	_BIT1,2,1                       ## @BIT1
	.comm	_BIT8,2,1                       ## @BIT8
	.comm	_BIT3,2,1                       ## @BIT3
	.comm	_TESTFRAMESIZE,4,2              ## @TESTFRAMESIZE
	.no_dead_strip	_mgsl_dma_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mgsl_dma_test
lCPI0_0:
	.byte	0                               ; 0x0
	.byte	1                               ; 0x1
	.byte	2                               ; 0x2
	.byte	3                               ; 0x3
	.byte	4                               ; 0x4
	.byte	5                               ; 0x5
	.byte	6                               ; 0x6
	.byte	7                               ; 0x7
	.byte	8                               ; 0x8
	.byte	9                               ; 0x9
	.byte	10                              ; 0xa
	.byte	11                              ; 0xb
	.byte	12                              ; 0xc
	.byte	13                              ; 0xd
	.byte	14                              ; 0xe
	.byte	15                              ; 0xf
lCPI0_1:
	.byte	16                              ; 0x10
	.byte	17                              ; 0x11
	.byte	18                              ; 0x12
	.byte	19                              ; 0x13
	.byte	20                              ; 0x14
	.byte	21                              ; 0x15
	.byte	22                              ; 0x16
	.byte	23                              ; 0x17
	.byte	24                              ; 0x18
	.byte	25                              ; 0x19
	.byte	26                              ; 0x1a
	.byte	27                              ; 0x1b
	.byte	28                              ; 0x1c
	.byte	29                              ; 0x1d
	.byte	30                              ; 0x1e
	.byte	31                              ; 0x1f
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_2:
	.byte	32                              ; 0x20
	.byte	33                              ; 0x21
	.byte	34                              ; 0x22
	.byte	35                              ; 0x23
	.byte	36                              ; 0x24
	.byte	37                              ; 0x25
	.byte	38                              ; 0x26
	.byte	39                              ; 0x27
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mgsl_dma_test:                         ; @mgsl_dma_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
Lloh0:
	adrp	x1, _default_params@GOTPAGE
Lloh1:
	ldr	x1, [x1, _default_params@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_usc_reset
	mov	x0, x19
	bl	_usc_set_sdlc_mode
	mov	x0, x19
	mov	w1, #1
	bl	_usc_enable_loopback
Lloh2:
	adrp	x24, _RDMR@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RDMR@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #57856
	bl	_usc_OutDmaReg
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x19, #16]
	movi.2s	v0, #40
	str	d0, [x8]
	mov	w9, #16384
	str	w9, [x8, #8]
	ldr	x8, [x8, #16]
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
Lloh6:
	adrp	x9, lCPI0_1@PAGE
Lloh7:
	ldr	q1, [x9, lCPI0_1@PAGEOFF]
	stp	q0, q1, [x8]
Lloh8:
	adrp	x9, lCPI0_2@PAGE
Lloh9:
	ldr	d0, [x9, lCPI0_2@PAGEOFF]
	str	d0, [x8, #32]
	ldr	x8, [x19, #8]
	strh	wzr, [x8]
	mov	w9, #44
	str	w9, [x8, #4]
	ldr	w0, [x8, #16]
	mov	w1, #0
	mov	w2, #44
	bl	_memset
	ldp	x9, x8, [x19, #8]
	str	wzr, [x8, #32]
	str	wzr, [x9, #28]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh10:
	adrp	x8, _RTCmd_PurgeRxFifo@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RTCmd_PurgeRxFifo@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usc_RTCmd
	ldr	x8, [x19, #8]
	ldr	w21, [x8, #8]
Lloh13:
	adrp	x8, _NRARL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NRARL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	and	w2, w21, #0xffff
	mov	x0, x19
	bl	_usc_OutDmaReg
Lloh16:
	adrp	x8, _NRARU@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NRARU@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	lsr	w2, w21, #16
	mov	x0, x19
	bl	_usc_OutDmaReg
	ldr	w1, [x24]
	mov	x0, x19
	bl	_usc_InDmaReg
Lloh19:
	adrp	x8, _DmaCmd_InitRxChannel@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DmaCmd_InitRxChannel@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usc_DmaCmd
Lloh22:
	adrp	x8, _RMR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RMR@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_usc_InReg
	orr	w8, w0, #0x2
	and	w2, w8, #0xfffe
	mov	x0, x19
	mov	x1, x21
	bl	_usc_OutReg
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh25:
	adrp	x23, _jiffies@GOTPAGE
Lloh26:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x21, [x23]
	mov	w0, #100
	bl	_msecs_to_jiffies
	add	x21, x0, x21
	ldr	x0, [x23]
	mov	x1, x21
	bl	_time_after
	mov	w25, #0
	cbnz	x0, LBB0_7
; %bb.1:
Lloh27:
	adrp	x25, _BIT4@GOTPAGE
Lloh28:
	ldr	x25, [x25, _BIT4@GOTPAGEOFF]
Lloh29:
	adrp	x26, _BIT5@GOTPAGE
Lloh30:
	ldr	x26, [x26, _BIT5@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23]
	mov	x1, x21
	bl	_time_after
	cbnz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x24]
	mov	x0, x19
	bl	_usc_InDmaReg
	mov	x22, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldrh	w8, [x25]
	tst	w8, w22
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrh	w8, [x26]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.5:
	mov	w25, #1
	b	LBB0_7
LBB0_6:
	mov	w25, #0
LBB0_7:
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh31:
	adrp	x8, _TCLR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TCLR@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	x8, [x19, #16]
	ldrh	w2, [x8]
	mov	x0, x19
	bl	_usc_OutReg
Lloh34:
	adrp	x8, _RTCmd_PurgeTxFifo@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RTCmd_PurgeTxFifo@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usc_RTCmd
	ldr	x8, [x19, #16]
	ldr	w21, [x8, #24]
Lloh37:
	adrp	x8, _NTARL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NTARL@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	and	w2, w21, #0xffff
	mov	x0, x19
	bl	_usc_OutDmaReg
Lloh40:
	adrp	x8, _NTARU@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NTARU@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	lsr	w2, w21, #16
	mov	x0, x19
	bl	_usc_OutDmaReg
Lloh43:
	adrp	x24, _TCSR@GOTPAGE
Lloh44:
	ldr	x24, [x24, _TCSR@GOTPAGEOFF]
	ldr	w21, [x24]
	mov	x0, x19
	mov	x1, x21
	bl	_usc_InReg
	and	w8, w0, #0xf00
	mov	w9, #250
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x21
	bl	_usc_OutReg
Lloh45:
	adrp	x8, _DmaCmd_InitTxChannel@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DmaCmd_InitTxChannel@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usc_DmaCmd
Lloh48:
	adrp	x8, _TCmd_SelectTicrTxFifostatus@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TCmd_SelectTicrTxFifostatus@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usc_TCmd
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x21, [x23]
	mov	w0, #100
	bl	_msecs_to_jiffies
	add	x21, x0, x21
Lloh51:
	adrp	x26, _TICR@GOTPAGE
Lloh52:
	ldr	x26, [x26, _TICR@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	mov	x1, x21
	bl	_time_after
	cbnz	x0, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x26]
	mov	x0, x19
	bl	_usc_InReg
	mov	x22, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	tst	w22, #0xfff000
	b.ne	LBB0_8
; %bb.10:
	cbz	w25, LBB0_20
; %bb.11:
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh53:
	adrp	x8, _TCmd_SendFrame@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TCmd_SendFrame@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_usc_TCmd
Lloh56:
	adrp	x8, _TMR@GOTPAGE
Lloh57:
	ldr	x8, [x8, _TMR@GOTPAGEOFF]
Lloh58:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_usc_InReg
	orr	w8, w0, #0x2
	and	w2, w8, #0xfffe
	mov	x0, x19
	mov	x1, x21
	bl	_usc_OutReg
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x23]
	str	x8, [sp]                        ; 8-byte Folded Spill
	mov	w0, #100
	bl	_msecs_to_jiffies
	mov	x21, x0
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x24]
	mov	x0, x19
	bl	_usc_InReg
	mov	x22, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	and	w8, w22, #0xffff
Lloh59:
	adrp	x26, _BIT6@GOTPAGE
Lloh60:
	ldr	x26, [x26, _BIT6@GOTPAGEOFF]
	ldrh	w10, [x26]
Lloh61:
	adrp	x27, _BIT5@GOTPAGE
Lloh62:
	ldr	x27, [x27, _BIT5@GOTPAGEOFF]
	ldrh	w9, [x27]
Lloh63:
	adrp	x28, _BIT4@GOTPAGE
Lloh64:
	ldr	x28, [x28, _BIT4@GOTPAGEOFF]
	ldrh	w11, [x28]
	add	w10, w9, w10
	add	w11, w10, w11
Lloh65:
	adrp	x25, _BIT2@GOTPAGE
Lloh66:
	ldr	x25, [x25, _BIT2@GOTPAGEOFF]
	ldrh	w12, [x25]
Lloh67:
	adrp	x10, _BIT1@GOTPAGE
Lloh68:
	ldr	x10, [x10, _BIT1@GOTPAGEOFF]
	ldrh	w10, [x10]
	add	w11, w11, w12
	add	w11, w11, w10
	tst	w8, w11
	b.ne	LBB0_15
; %bb.12:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x21, x21, x8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	mov	x1, x21
	bl	_time_after
	cbnz	x0, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w1, [x24]
	mov	x0, x19
	bl	_usc_InReg
	mov	x22, x0
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	and	w8, w22, #0xffff
	ldrh	w10, [x26]
	ldrh	w9, [x27]
	ldrh	w11, [x28]
	add	w10, w9, w10
	add	w11, w10, w11
	ldrh	w12, [x25]
Lloh69:
	adrp	x10, _BIT1@GOTPAGE
Lloh70:
	ldr	x10, [x10, _BIT1@GOTPAGEOFF]
	ldrh	w10, [x10]
	add	w11, w11, w12
	add	w11, w11, w10
	tst	w8, w11
	b.eq	LBB0_13
LBB0_15:
	add	w9, w10, w9
	tst	w8, w9
	b.ne	LBB0_20
; %bb.16:
	ldr	x21, [x23]
	mov	w0, #100
	bl	_msecs_to_jiffies
	add	x21, x0, x21
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldrh	w9, [x8]
	cbnz	w9, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x0, [x23]
	mov	x1, x21
	bl	_time_after
	cbz	x0, LBB0_17
	b	LBB0_20
LBB0_19:
Lloh71:
	adrp	x10, _BIT8@GOTPAGE
Lloh72:
	ldr	x10, [x10, _BIT8@GOTPAGEOFF]
Lloh73:
	adrp	x11, _BIT3@GOTPAGE
Lloh74:
	ldr	x11, [x11, _BIT3@GOTPAGEOFF]
	ldrh	w10, [x10]
	ldrh	w11, [x11]
Lloh75:
	adrp	x12, _BIT1@GOTPAGE
Lloh76:
	ldr	x12, [x12, _BIT1@GOTPAGEOFF]
	ldrh	w12, [x12]
	add	w10, w11, w10
	add	w10, w10, w12
	tst	w10, w9
	b.eq	LBB0_22
LBB0_20:
	mov	w21, #0
LBB0_21:
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_usc_reset
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_22:
	ldr	x9, [x19, #16]
	ldr	x0, [x9, #16]
	ldr	w1, [x8, #16]
	mov	w2, #40
	bl	_memcmp
	cmp	x0, #0
	cset	w21, eq
	b	LBB0_21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_default_params,4,2             ; @default_params
	.comm	_RDMR,4,2                       ; @RDMR
	.comm	_RTCmd_PurgeRxFifo,4,2          ; @RTCmd_PurgeRxFifo
	.comm	_NRARL,4,2                      ; @NRARL
	.comm	_NRARU,4,2                      ; @NRARU
	.comm	_DmaCmd_InitRxChannel,4,2       ; @DmaCmd_InitRxChannel
	.comm	_RMR,4,2                        ; @RMR
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_BIT4,2,1                       ; @BIT4
	.comm	_BIT5,2,1                       ; @BIT5
	.comm	_TCLR,4,2                       ; @TCLR
	.comm	_RTCmd_PurgeTxFifo,4,2          ; @RTCmd_PurgeTxFifo
	.comm	_NTARL,4,2                      ; @NTARL
	.comm	_NTARU,4,2                      ; @NTARU
	.comm	_TCSR,4,2                       ; @TCSR
	.comm	_DmaCmd_InitTxChannel,4,2       ; @DmaCmd_InitTxChannel
	.comm	_TCmd_SelectTicrTxFifostatus,4,2 ; @TCmd_SelectTicrTxFifostatus
	.comm	_TICR,4,2                       ; @TICR
	.comm	_TCmd_SendFrame,4,2             ; @TCmd_SendFrame
	.comm	_TMR,4,2                        ; @TMR
	.comm	_BIT6,2,1                       ; @BIT6
	.comm	_BIT2,2,1                       ; @BIT2
	.comm	_BIT1,2,1                       ; @BIT1
	.comm	_BIT8,2,1                       ; @BIT8
	.comm	_BIT3,2,1                       ; @BIT3
	.comm	_TESTFRAMESIZE,4,2              ; @TESTFRAMESIZE
	.no_dead_strip	_mgsl_dma_test
.subsections_via_symbols
