	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function talitos_error
_talitos_error:                         ## @talitos_error
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	_TALITOS_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, %rdi
	callq	_has_ftr_sec1
	movl	%eax, %ebx
	cmpl	$0, (%r14)
	jle	LBB0_41
## %bb.1:
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	setne	%r12b
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str.9(%rip), %rax
	leaq	L_.str.8(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_reset_channel
	movl	$1, %r12d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jge	LBB0_40
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
	leal	(%r15,%r15), %eax
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	andl	$2, %eax
	movl	%r15d, %ecx
	andl	$2, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,2), %ecx
	negl	%ecx
	orl	%eax, %ecx
	addb	$29, %cl
	movzbl	%cl, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	orb	$1, %al
	movzbl	%al, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	btl	%eax, %ecx
	jae	LBB0_39
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %rax
	movq	_TALITOS_CCPSR_LO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax,%r15,8), %rdi
	callq	_in_be32
	movl	%eax, %r14d
	movq	_TALITOS_CCPSR_LO_DOF@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$1, %r12d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_SOF@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_MDTE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_SGDLZ@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_FPZ@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_IDH@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_IEU@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_EU@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_current_desc_hdr
	movq	%rbx, %rdi
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_report_eu_error
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	negl	%edx
	testl	%ebx, %ebx
	jne	LBB0_31
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %ebx
	movq	_TALITOS_CCPSR_LO_GB@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_GRL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_SB@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_SRL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	movl	%ebx, %edx
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %edx
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	callq	_flush_channel
	testl	%r12d, %r12d
	jne	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rax
	movq	_TALITOS_CCCR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%rax,%r15,8), %rdi
	movq	_TALITOS2_CCCR_CONT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_setbits32
	movq	8(%r14), %rax
	movq	_TALITOS_CCCR_LO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax,%r15,8), %rdi
	xorl	%esi, %esi
	callq	_setbits32
	movq	8(%r14), %rax
	movq	(%rbx), %rdi
	addq	(%rax,%r15,8), %rdi
	callq	_in_be32
	testl	%eax, (%r12)
	je	LBB0_37
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$1, %r13d
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_cpu_relax
	movq	8(%r14), %rax
	movq	_TALITOS_CCCR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax,%r15,8), %rdi
	callq	_in_be32
	decl	%r13d
	movq	_TALITOS2_CCCR_CONT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_35
	jmp	LBB0_39
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	testl	%r13d, %r13d
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.14(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_39
LBB0_40:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_41
## %bb.43:
	testl	%ebx, %ebx
	jne	LBB0_44
	jmp	LBB0_46
LBB0_41:
	testl	%ebx, %ebx
	je	LBB0_51
## %bb.42:
	movq	_TALITOS1_ISR_4CHERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	orl	%r12d, %eax
	je	LBB0_52
LBB0_44:
	movq	_TALITOS1_ISR_TEA_ERR@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_46
## %bb.45:
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_47
LBB0_51:
	movq	_TALITOS2_ISR_4CHERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	orl	%r12d, %eax
	je	LBB0_52
LBB0_46:
	leaq	L_.str.16(%rip), %rsi
LBB0_47:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	cmpl	$0, (%r14)
	jle	LBB0_50
## %bb.48:
	movq	%r14, %r12
	movq	_EIO@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	subl	(%r14), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$1, %ecx
	callq	_flush_channel
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_49
LBB0_50:
	movq	%r15, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_device                    ## TAILCALL
LBB0_52:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TALITOS_TIMEOUT,4,2            ## @TALITOS_TIMEOUT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TALITOS_CCPSR_LO,8,3           ## @TALITOS_CCPSR_LO
	.comm	_TALITOS_CCPSR_LO_DOF,4,2       ## @TALITOS_CCPSR_LO_DOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"double fetch fifo overflow error\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_TALITOS_CCPSR_LO_SOF,4,2       ## @TALITOS_CCPSR_LO_SOF
L_.str.1:                               ## @.str.1
	.asciz	"single fetch fifo overflow error\n"

	.comm	_TALITOS_CCPSR_LO_MDTE,4,2      ## @TALITOS_CCPSR_LO_MDTE
L_.str.2:                               ## @.str.2
	.asciz	"master data transfer error\n"

	.comm	_TALITOS_CCPSR_LO_SGDLZ,4,2     ## @TALITOS_CCPSR_LO_SGDLZ
L_.str.3:                               ## @.str.3
	.asciz	"pointer not complete error\n"

L_.str.4:                               ## @.str.4
	.asciz	"s/g data length zero error\n"

	.comm	_TALITOS_CCPSR_LO_FPZ,4,2       ## @TALITOS_CCPSR_LO_FPZ
L_.str.5:                               ## @.str.5
	.asciz	"parity error\n"

L_.str.6:                               ## @.str.6
	.asciz	"fetch pointer zero error\n"

	.comm	_TALITOS_CCPSR_LO_IDH,4,2       ## @TALITOS_CCPSR_LO_IDH
L_.str.7:                               ## @.str.7
	.asciz	"illegal descriptor header error\n"

	.comm	_TALITOS_CCPSR_LO_IEU,4,2       ## @TALITOS_CCPSR_LO_IEU
L_.str.8:                               ## @.str.8
	.asciz	"static assignment error\n"

L_.str.9:                               ## @.str.9
	.asciz	"invalid exec unit error\n"

	.comm	_TALITOS_CCPSR_LO_EU,4,2        ## @TALITOS_CCPSR_LO_EU
	.comm	_TALITOS_CCPSR_LO_GB,4,2        ## @TALITOS_CCPSR_LO_GB
L_.str.10:                              ## @.str.10
	.asciz	"gather boundary error\n"

	.comm	_TALITOS_CCPSR_LO_GRL,4,2       ## @TALITOS_CCPSR_LO_GRL
L_.str.11:                              ## @.str.11
	.asciz	"gather return/length error\n"

	.comm	_TALITOS_CCPSR_LO_SB,4,2        ## @TALITOS_CCPSR_LO_SB
L_.str.12:                              ## @.str.12
	.asciz	"scatter boundary error\n"

	.comm	_TALITOS_CCPSR_LO_SRL,4,2       ## @TALITOS_CCPSR_LO_SRL
L_.str.13:                              ## @.str.13
	.asciz	"scatter return/length error\n"

	.comm	_TALITOS_CCCR,8,3               ## @TALITOS_CCCR
	.comm	_TALITOS2_CCCR_CONT,4,2         ## @TALITOS2_CCCR_CONT
	.comm	_TALITOS_CCCR_LO,8,3            ## @TALITOS_CCCR_LO
L_.str.14:                              ## @.str.14
	.asciz	"failed to restart channel %d\n"

	.comm	_TALITOS1_ISR_4CHERR,4,2        ## @TALITOS1_ISR_4CHERR
	.comm	_TALITOS2_ISR_4CHERR,4,2        ## @TALITOS2_ISR_4CHERR
	.comm	_TALITOS1_ISR_TEA_ERR,4,2       ## @TALITOS1_ISR_TEA_ERR
L_.str.15:                              ## @.str.15
	.asciz	"TEA error: ISR 0x%08x_%08x\n"

L_.str.16:                              ## @.str.16
	.asciz	"done overflow, internal time out, or rngu error: ISR 0x%08x_%08x\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_talitos_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function talitos_error
_talitos_error:                         ; @talitos_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x2
	str	x1, [sp, #56]                   ; 8-byte Folded Spill
	mov	x19, x0
	bl	_dev_get_drvdata
	mov	x20, x0
Lloh0:
	adrp	x8, _TALITOS_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TALITOS_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	bl	_has_ftr_sec1
	mov	x23, x0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_42
; %bb.1:
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	mov	x24, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	cmp	w23, #0
Lloh3:
	adrp	x8, l_.str.3@PAGE
Lloh4:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh5:
	adrp	x9, l_.str.4@PAGE
Lloh6:
	add	x9, x9, l_.str.4@PAGEOFF
	csel	x11, x9, x8, eq
Lloh7:
	adrp	x8, l_.str.5@PAGE
Lloh8:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh9:
	adrp	x9, l_.str.6@PAGE
Lloh10:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh11:
	adrp	x10, l_.str.8@PAGE
Lloh12:
	add	x10, x10, l_.str.8@PAGEOFF
	csel	x8, x9, x8, eq
	stp	x8, x11, [sp, #40]              ; 16-byte Folded Spill
Lloh13:
	adrp	x8, l_.str.9@PAGE
Lloh14:
	add	x8, x8, l_.str.9@PAGEOFF
	csel	x8, x8, x10, eq
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh15:
	adrp	x27, _TALITOS_CCCR@GOTPAGE
Lloh16:
	ldr	x27, [x27, _TALITOS_CCCR@GOTPAGEOFF]
Lloh17:
	adrp	x21, _TALITOS2_CCCR_CONT@GOTPAGE
Lloh18:
	ldr	x21, [x21, _TALITOS2_CCCR_CONT@GOTPAGEOFF]
	cset	w28, ne
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_reset_channel
	mov	w28, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20]
	cmp	x24, x8
	b.ge	LBB0_40
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_35 Depth 2
	lsl	w8, w24, #1
	cbz	w23, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w8, #0x2
	and	w9, w24, #0x2
	mov	w10, #-6
	mul	w9, w9, w10
	orr	w8, w9, w8
	add	w8, w8, #29
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	orr	w8, w8, #0x1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w25, [x8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x24, lsl #3]
Lloh22:
	adrp	x9, _TALITOS_CCPSR_LO@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TALITOS_CCPSR_LO@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_in_be32
	mov	x22, x0
Lloh25:
	adrp	x8, _TALITOS_CCPSR_LO_DOF@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_DOF@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh30:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh32:
	ldr	w25, [x8]
	mov	w28, #1
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh33:
	adrp	x8, _TALITOS_CCPSR_LO_SOF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SOF@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh38:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh40:
	ldr	w25, [x8]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh41:
	adrp	x8, _TALITOS_CCPSR_LO_MDTE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_MDTE@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh46:
	adrp	x8, _TALITOS_CCPSR_LO_SGDLZ@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SGDLZ@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	bl	_dev_err
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh49:
	adrp	x8, _TALITOS_CCPSR_LO_FPZ@GOTPAGE
Lloh50:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_FPZ@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	bl	_dev_err
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh52:
	adrp	x8, _TALITOS_CCPSR_LO_IDH@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_IDH@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh55:
	adrp	x1, l_.str.7@PAGE
Lloh56:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_err
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh57:
	adrp	x8, _TALITOS_CCPSR_LO_IEU@GOTPAGE
Lloh58:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_IEU@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	bl	_dev_err
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh60:
	adrp	x8, _TALITOS_CCPSR_LO_EU@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_EU@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_current_desc_hdr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_report_eu_error
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	neg	w25, w25
	cbnz	w23, LBB0_33
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh63:
	adrp	x8, _TALITOS_CCPSR_LO_GB@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_GB@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh66:
	adrp	x1, l_.str.10@PAGE
Lloh67:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_err
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh68:
	adrp	x8, _TALITOS_CCPSR_LO_GRL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_GRL@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh71:
	adrp	x1, l_.str.11@PAGE
Lloh72:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_dev_err
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh73:
	adrp	x8, _TALITOS_CCPSR_LO_SB@GOTPAGE
Lloh74:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SB@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh76:
	adrp	x1, l_.str.12@PAGE
Lloh77:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_dev_err
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh78:
	adrp	x8, _TALITOS_CCPSR_LO_SRL@GOTPAGE
Lloh79:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SRL@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh81:
	adrp	x1, l_.str.13@PAGE
Lloh82:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_dev_err
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	mov	x3, x28
	bl	_flush_channel
	cbnz	w28, LBB0_2
; %bb.34:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	lsl	x22, x24, #3
	ldr	x8, [x8, x22]
	ldr	x9, [x27]
	add	x0, x9, x8
	ldr	w1, [x21]
	bl	_setbits32
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x22]
Lloh83:
	adrp	x9, _TALITOS_CCCR_LO@GOTPAGE
Lloh84:
	ldr	x9, [x9, _TALITOS_CCCR_LO@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	bl	_setbits32
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x22]
	ldr	x9, [x27]
	add	x0, x9, x8
	bl	_in_be32
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_37
LBB0_35:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w26, w26, #1
	b.eq	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=2
	bl	_cpu_relax
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x9, [x27]
	add	x0, x9, x8
	bl	_in_be32
	ldr	w8, [x21]
	and	w8, w8, w0
	cbnz	w8, LBB0_35
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w26, LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	b	LBB0_3
LBB0_39:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x24
	str	x8, [sp]
	mov	x0, x19
Lloh86:
	adrp	x1, l_.str.14@PAGE
Lloh87:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_dev_err
	mov	w26, #0
	mov	w28, #0
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_40:
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_42
; %bb.41:
	cbnz	w23, LBB0_44
	b	LBB0_47
LBB0_42:
	cbz	w23, LBB0_46
; %bb.43:
Lloh88:
	adrp	x8, _TALITOS1_ISR_4CHERR@GOTPAGE
Lloh89:
	ldr	x8, [x8, _TALITOS1_ISR_4CHERR@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	bic	w8, w9, w8
	orr	w8, w8, w21
	cbz	w8, LBB0_52
LBB0_44:
Lloh91:
	adrp	x8, _TALITOS1_ISR_TEA_ERR@GOTPAGE
Lloh92:
	ldr	x8, [x8, _TALITOS1_ISR_TEA_ERR@GOTPAGEOFF]
Lloh93:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_47
; %bb.45:
Lloh94:
	adrp	x1, l_.str.15@PAGE
Lloh95:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_48
LBB0_46:
Lloh96:
	adrp	x8, _TALITOS2_ISR_4CHERR@GOTPAGE
Lloh97:
	ldr	x8, [x8, _TALITOS2_ISR_4CHERR@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	bic	w8, w9, w8
	orr	w8, w8, w21
	cbz	w8, LBB0_52
LBB0_47:
Lloh99:
	adrp	x1, l_.str.16@PAGE
Lloh100:
	add	x1, x1, l_.str.16@PAGEOFF
LBB0_48:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	stp	x8, x21, [sp]
	mov	x0, x19
	bl	_dev_err
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_51
; %bb.49:
	mov	w21, #0
Lloh101:
	adrp	x22, _EIO@GOTPAGE
Lloh102:
	ldr	x22, [x22, _EIO@GOTPAGEOFF]
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	neg	w2, w8
	mov	x0, x19
	mov	x1, x21
	mov	w3, #1
	bl	_flush_channel
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_50
LBB0_51:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_init_device
LBB0_52:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.comm	_TALITOS_TIMEOUT,4,2            ; @TALITOS_TIMEOUT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TALITOS_CCPSR_LO,8,3           ; @TALITOS_CCPSR_LO
	.comm	_TALITOS_CCPSR_LO_DOF,4,2       ; @TALITOS_CCPSR_LO_DOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"double fetch fifo overflow error\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_TALITOS_CCPSR_LO_SOF,4,2       ; @TALITOS_CCPSR_LO_SOF
l_.str.1:                               ; @.str.1
	.asciz	"single fetch fifo overflow error\n"

	.comm	_TALITOS_CCPSR_LO_MDTE,4,2      ; @TALITOS_CCPSR_LO_MDTE
l_.str.2:                               ; @.str.2
	.asciz	"master data transfer error\n"

	.comm	_TALITOS_CCPSR_LO_SGDLZ,4,2     ; @TALITOS_CCPSR_LO_SGDLZ
l_.str.3:                               ; @.str.3
	.asciz	"pointer not complete error\n"

l_.str.4:                               ; @.str.4
	.asciz	"s/g data length zero error\n"

	.comm	_TALITOS_CCPSR_LO_FPZ,4,2       ; @TALITOS_CCPSR_LO_FPZ
l_.str.5:                               ; @.str.5
	.asciz	"parity error\n"

l_.str.6:                               ; @.str.6
	.asciz	"fetch pointer zero error\n"

	.comm	_TALITOS_CCPSR_LO_IDH,4,2       ; @TALITOS_CCPSR_LO_IDH
l_.str.7:                               ; @.str.7
	.asciz	"illegal descriptor header error\n"

	.comm	_TALITOS_CCPSR_LO_IEU,4,2       ; @TALITOS_CCPSR_LO_IEU
l_.str.8:                               ; @.str.8
	.asciz	"static assignment error\n"

l_.str.9:                               ; @.str.9
	.asciz	"invalid exec unit error\n"

	.comm	_TALITOS_CCPSR_LO_EU,4,2        ; @TALITOS_CCPSR_LO_EU
	.comm	_TALITOS_CCPSR_LO_GB,4,2        ; @TALITOS_CCPSR_LO_GB
l_.str.10:                              ; @.str.10
	.asciz	"gather boundary error\n"

	.comm	_TALITOS_CCPSR_LO_GRL,4,2       ; @TALITOS_CCPSR_LO_GRL
l_.str.11:                              ; @.str.11
	.asciz	"gather return/length error\n"

	.comm	_TALITOS_CCPSR_LO_SB,4,2        ; @TALITOS_CCPSR_LO_SB
l_.str.12:                              ; @.str.12
	.asciz	"scatter boundary error\n"

	.comm	_TALITOS_CCPSR_LO_SRL,4,2       ; @TALITOS_CCPSR_LO_SRL
l_.str.13:                              ; @.str.13
	.asciz	"scatter return/length error\n"

	.comm	_TALITOS_CCCR,8,3               ; @TALITOS_CCCR
	.comm	_TALITOS2_CCCR_CONT,4,2         ; @TALITOS2_CCCR_CONT
	.comm	_TALITOS_CCCR_LO,8,3            ; @TALITOS_CCCR_LO
l_.str.14:                              ; @.str.14
	.asciz	"failed to restart channel %d\n"

	.comm	_TALITOS1_ISR_4CHERR,4,2        ; @TALITOS1_ISR_4CHERR
	.comm	_TALITOS2_ISR_4CHERR,4,2        ; @TALITOS2_ISR_4CHERR
	.comm	_TALITOS1_ISR_TEA_ERR,4,2       ; @TALITOS1_ISR_TEA_ERR
l_.str.15:                              ; @.str.15
	.asciz	"TEA error: ISR 0x%08x_%08x\n"

l_.str.16:                              ; @.str.16
	.asciz	"done overflow, internal time out, or rngu error: ISR 0x%08x_%08x\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_talitos_error
.subsections_via_symbols
