	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidma_ll_chstats
_hidma_ll_chstats:                      ## @hidma_ll_chstats
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	cmpq	%rdx, (%rsi)
	jbe	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rsi), %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	(%rbx,%rbx,2), %rbx
	shlq	$5, %rbx
	leaq	(%r15,%rbx), %rdi
	addq	$88, %rdi
	callq	_atomic_read
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_seq_printf
	movq	(%r15,%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	8(%r15,%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	16(%r15,%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	24(%r15,%rbx), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	32(%r15,%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	40(%r15,%rbx), %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	48(%r15,%rbx), %rdx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	56(%r15,%rbx), %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	64(%r15,%rbx), %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	72(%r15,%rbx), %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	80(%r15,%rbx), %rax
	movq	_HIDMA_TRE_LEN_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	leaq	L_.str.13(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	L_.str.14(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_seq_printf
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	16(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid TRE number in chstats:%d"

L_.str.1:                               ## @.str.1
	.asciz	"------Channel %d -----\n"

L_.str.2:                               ## @.str.2
	.asciz	"allocated=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"queued = 0x%x\n"

L_.str.4:                               ## @.str.4
	.asciz	"err_info = 0x%x\n"

L_.str.5:                               ## @.str.5
	.asciz	"err_code = 0x%x\n"

L_.str.6:                               ## @.str.6
	.asciz	"status = 0x%x\n"

L_.str.7:                               ## @.str.7
	.asciz	"idx = 0x%x\n"

L_.str.8:                               ## @.str.8
	.asciz	"dma_sig = 0x%x\n"

L_.str.9:                               ## @.str.9
	.asciz	"dev_name=%s\n"

L_.str.10:                              ## @.str.10
	.asciz	"callback=%p\n"

L_.str.11:                              ## @.str.11
	.asciz	"data=%p\n"

L_.str.12:                              ## @.str.12
	.asciz	"tre_index = 0x%x\n"

	.comm	_HIDMA_TRE_SRC_LOW_IDX,8,3      ## @HIDMA_TRE_SRC_LOW_IDX
	.comm	_HIDMA_TRE_SRC_HI_IDX,8,3       ## @HIDMA_TRE_SRC_HI_IDX
	.comm	_HIDMA_TRE_DEST_LOW_IDX,8,3     ## @HIDMA_TRE_DEST_LOW_IDX
	.comm	_HIDMA_TRE_DEST_HI_IDX,8,3      ## @HIDMA_TRE_DEST_HI_IDX
	.comm	_HIDMA_TRE_LEN_IDX,8,3          ## @HIDMA_TRE_LEN_IDX
L_.str.13:                              ## @.str.13
	.asciz	"src=%pap\n"

L_.str.14:                              ## @.str.14
	.asciz	"dest=%pap\n"

L_.str.15:                              ## @.str.15
	.asciz	"length = 0x%x\n"

	.no_dead_strip	_hidma_ll_chstats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidma_ll_chstats
_hidma_ll_chstats:                      ; @hidma_ll_chstats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	ldr	x8, [x1]
	cmp	x8, x2
	b.ls	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x21, [x1, #8]
	str	x20, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_seq_printf
	mov	w8, #96
	madd	x20, x20, x8, x21
	add	x0, x20, #88
	bl	_atomic_read
	str	x0, [sp]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #16]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #24]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #32]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #40]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str.8@PAGE
Lloh15:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #48]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.9@PAGE
Lloh17:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #56]
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.10@PAGE
Lloh19:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #64]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.11@PAGE
Lloh21:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #72]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.12@PAGE
Lloh23:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	x8, [x20, #80]
Lloh24:
	adrp	x9, _HIDMA_TRE_LEN_IDX@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HIDMA_TRE_LEN_IDX@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	x20, [x8, x9, lsl #3]
	add	x8, sp, #24
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.13@PAGE
Lloh28:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	add	x8, sp, #16
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.14@PAGE
Lloh30:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	str	x20, [sp]
Lloh31:
	adrp	x1, l_.str.15@PAGE
Lloh32:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	ldr	w0, [x1, #16]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dev_err
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid TRE number in chstats:%d"

l_.str.1:                               ; @.str.1
	.asciz	"------Channel %d -----\n"

l_.str.2:                               ; @.str.2
	.asciz	"allocated=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"queued = 0x%x\n"

l_.str.4:                               ; @.str.4
	.asciz	"err_info = 0x%x\n"

l_.str.5:                               ; @.str.5
	.asciz	"err_code = 0x%x\n"

l_.str.6:                               ; @.str.6
	.asciz	"status = 0x%x\n"

l_.str.7:                               ; @.str.7
	.asciz	"idx = 0x%x\n"

l_.str.8:                               ; @.str.8
	.asciz	"dma_sig = 0x%x\n"

l_.str.9:                               ; @.str.9
	.asciz	"dev_name=%s\n"

l_.str.10:                              ; @.str.10
	.asciz	"callback=%p\n"

l_.str.11:                              ; @.str.11
	.asciz	"data=%p\n"

l_.str.12:                              ; @.str.12
	.asciz	"tre_index = 0x%x\n"

	.comm	_HIDMA_TRE_SRC_LOW_IDX,8,3      ; @HIDMA_TRE_SRC_LOW_IDX
	.comm	_HIDMA_TRE_SRC_HI_IDX,8,3       ; @HIDMA_TRE_SRC_HI_IDX
	.comm	_HIDMA_TRE_DEST_LOW_IDX,8,3     ; @HIDMA_TRE_DEST_LOW_IDX
	.comm	_HIDMA_TRE_DEST_HI_IDX,8,3      ; @HIDMA_TRE_DEST_HI_IDX
	.comm	_HIDMA_TRE_LEN_IDX,8,3          ; @HIDMA_TRE_LEN_IDX
l_.str.13:                              ; @.str.13
	.asciz	"src=%pap\n"

l_.str.14:                              ; @.str.14
	.asciz	"dest=%pap\n"

l_.str.15:                              ; @.str.15
	.asciz	"length = 0x%x\n"

	.no_dead_strip	_hidma_ll_chstats
.subsections_via_symbols
