	.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	$40, %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, %r13d
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r14
	cmpl	$0, (%rax)
	jle	LBB0_37
## %bb.1:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movq	_TALITOS_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_reset_channel
	movl	$1, %r13d
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	cmpl	(%r14), %r15d
	jge	LBB0_36
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
	leal	(%r15,%r15), %eax
	orb	$1, %al
	movzbl	%al, %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	btl	%eax, %ecx
	jae	LBB0_35
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %rbx
	movl	%r15d, %edi
	callq	_TALITOS_CCPSR
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_in_be32
	movq	8(%r14), %rbx
	movl	%r15d, %edi
	callq	_TALITOS_CCPSR_LO
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_in_be32
	movl	%eax, %r14d
	movq	_TALITOS_CCPSR_LO_DOF@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_SOF@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_MDTE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_SGDLZ@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_FPZ@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_IDH@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_IEU@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_EU@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_current_desc
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_report_eu_error
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_GB@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_GRL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TALITOS_CCPSR_LO_SB@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	negl	-44(%rbp)                       ## 4-byte Folded Spill
	movq	_TALITOS_CCPSR_LO_SRL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_flush_channel
	testl	%r13d, %r13d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rbx
	movl	%r15d, %edi
	callq	_TALITOS_CCCR
	addq	%rax, %rbx
	movq	_TALITOS_CCCR_CONT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_setbits32
	movq	8(%r14), %rbx
	movl	%r15d, %edi
	callq	_TALITOS_CCCR_LO
	addq	%rax, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_setbits32
	movq	8(%r14), %rbx
	movl	%r15d, %edi
	callq	_TALITOS_CCCR
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_in_be32
	testl	%eax, (%r13)
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$1, %r12d
	je	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_cpu_relax
	movq	8(%r14), %rbx
	movl	%r15d, %edi
	callq	_TALITOS_CCCR
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_in_be32
	decl	%r12d
	movq	_TALITOS_CCCR_CONT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_31
	jmp	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	testl	%r12d, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_35
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	leaq	L_.str.11(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_35
LBB0_36:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_38
LBB0_37:
	movq	_TALITOS_ISR_CHERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%r13d, %eax
	orl	%r12d, %eax
	je	LBB0_42
LBB0_38:
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %r15
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	cmpl	$0, (%r14)
	jle	LBB0_41
## %bb.39:
	movq	%r14, %r12
	movq	_EIO@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_40:                                ## =>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_40
LBB0_41:
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_device                    ## TAILCALL
LBB0_42:
	addq	$40, %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_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	"s/g data length zero error\n"

	.comm	_TALITOS_CCPSR_LO_FPZ,4,2       ## @TALITOS_CCPSR_LO_FPZ
L_.str.4:                               ## @.str.4
	.asciz	"fetch pointer zero error\n"

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

	.comm	_TALITOS_CCPSR_LO_IEU,4,2       ## @TALITOS_CCPSR_LO_IEU
L_.str.6:                               ## @.str.6
	.asciz	"invalid execution 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.7:                               ## @.str.7
	.asciz	"gather boundary error\n"

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

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

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

	.comm	_TALITOS_CCCR_CONT,4,2          ## @TALITOS_CCCR_CONT
L_.str.11:                              ## @.str.11
	.asciz	"failed to restart channel %d\n"

	.comm	_TALITOS_ISR_CHERR,4,2          ## @TALITOS_ISR_CHERR
L_.str.12:                              ## @.str.12
	.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, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_37
; %bb.1:
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	mov	w23, #0
	mov	w22, #0
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _TALITOS_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TALITOS_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x28, _TALITOS_CCCR_CONT@GOTPAGE
Lloh4:
	ldr	x28, [x28, _TALITOS_CCCR_CONT@GOTPAGEOFF]
Lloh5:
	adrp	x24, _EAGAIN@GOTPAGE
Lloh6:
	ldr	x24, [x24, _EAGAIN@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_reset_channel
	mov	w22, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	w8, [x20]
	cmp	w23, w8
	b.ge	LBB0_36
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
	mov	w8, #1
	bfi	w8, w23, #1, #31
	lsr	w8, w21, w8
	tbz	w8, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w26, [x8]
	ldr	x25, [x20, #8]
	mov	x0, x23
	bl	_TALITOS_CCPSR
	add	x0, x0, x25
	bl	_in_be32
	ldr	x25, [x20, #8]
	mov	x0, x23
	bl	_TALITOS_CCPSR_LO
	add	x0, x0, x25
	bl	_in_be32
	mov	x25, x0
Lloh10:
	adrp	x8, _TALITOS_CCPSR_LO_DOF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_DOF@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w26, [x24]
	mov	w22, #1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh15:
	adrp	x8, _TALITOS_CCPSR_LO_SOF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SOF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	w26, [x24]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh20:
	adrp	x8, _TALITOS_CCPSR_LO_MDTE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_MDTE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh25:
	adrp	x8, _TALITOS_CCPSR_LO_SGDLZ@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SGDLZ@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x8, _TALITOS_CCPSR_LO_FPZ@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_FPZ@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh35:
	adrp	x8, _TALITOS_CCPSR_LO_IDH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_IDH@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh40:
	adrp	x8, _TALITOS_CCPSR_LO_IEU@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_IEU@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh43:
	adrp	x1, l_.str.6@PAGE
Lloh44:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_err
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh45:
	adrp	x8, _TALITOS_CCPSR_LO_EU@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_EU@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_current_desc
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_report_eu_error
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh48:
	adrp	x8, _TALITOS_CCPSR_LO_GB@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_GB@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh51:
	adrp	x1, l_.str.7@PAGE
Lloh52:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_err
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh53:
	adrp	x8, _TALITOS_CCPSR_LO_GRL@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_GRL@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh56:
	adrp	x1, l_.str.8@PAGE
Lloh57:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_err
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh58:
	adrp	x8, _TALITOS_CCPSR_LO_SB@GOTPAGE
Lloh59:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SB@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
Lloh61:
	adrp	x1, l_.str.9@PAGE
Lloh62:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_err
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	neg	w26, w26
Lloh63:
	adrp	x8, _TALITOS_CCPSR_LO_SRL@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TALITOS_CCPSR_LO_SRL@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_29
; %bb.28:                               ;   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_29:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x26
	mov	x3, x22
	bl	_flush_channel
	cbnz	w22, LBB0_2
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x20, #8]
	mov	x0, x23
	bl	_TALITOS_CCCR
	add	x0, x0, x22
	ldr	w1, [x28]
	bl	_setbits32
	ldr	x22, [x20, #8]
	mov	x0, x23
	bl	_TALITOS_CCCR_LO
	add	x0, x0, x22
	mov	w1, #0
	bl	_setbits32
	ldr	x22, [x20, #8]
	mov	x0, x23
	bl	_TALITOS_CCCR
	add	x0, x0, x22
	bl	_in_be32
	ldr	w8, [x28]
	tst	w8, w0
	b.eq	LBB0_33
LBB0_31:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w27, w27, #1
	b.eq	LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	bl	_cpu_relax
	ldr	x22, [x20, #8]
	mov	x0, x23
	bl	_TALITOS_CCCR
	add	x0, x0, x22
	bl	_in_be32
	ldr	w8, [x28]
	and	w8, w8, w0
	cbnz	w8, LBB0_31
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w27, LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
	b	LBB0_3
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x23, [sp]
	mov	x0, x19
Lloh68:
	adrp	x1, l_.str.11@PAGE
Lloh69:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_dev_err
	mov	w22, #0
	mov	w27, #0
	mov	w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_36:
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_38
LBB0_37:
Lloh70:
	adrp	x8, _TALITOS_ISR_CHERR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _TALITOS_ISR_CHERR@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	bic	w8, w21, w8
	orr	w8, w8, w22
	cbz	w8, LBB0_42
LBB0_38:
	stp	x21, x22, [sp]
Lloh73:
	adrp	x1, l_.str.12@PAGE
Lloh74:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_41
; %bb.39:
	mov	w21, #0
Lloh75:
	adrp	x22, _EIO@GOTPAGE
Lloh76:
	ldr	x22, [x22, _EIO@GOTPAGEOFF]
LBB0_40:                                ; =>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_40
LBB0_41:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_init_device
LBB0_42:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_TALITOS_TIMEOUT,4,2            ; @TALITOS_TIMEOUT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.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	"s/g data length zero error\n"

	.comm	_TALITOS_CCPSR_LO_FPZ,4,2       ; @TALITOS_CCPSR_LO_FPZ
l_.str.4:                               ; @.str.4
	.asciz	"fetch pointer zero error\n"

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

	.comm	_TALITOS_CCPSR_LO_IEU,4,2       ; @TALITOS_CCPSR_LO_IEU
l_.str.6:                               ; @.str.6
	.asciz	"invalid execution 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.7:                               ; @.str.7
	.asciz	"gather boundary error\n"

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

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

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

	.comm	_TALITOS_CCCR_CONT,4,2          ; @TALITOS_CCCR_CONT
l_.str.11:                              ; @.str.11
	.asciz	"failed to restart channel %d\n"

	.comm	_TALITOS_ISR_CHERR,4,2          ; @TALITOS_ISR_CHERR
l_.str.12:                              ; @.str.12
	.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
