	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function idle
LCPI0_0:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_idle:                                  ## @idle
	.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
	movq	%rdi, %r12
	movl	(%rdi), %r14d
	movq	_txqueue_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_QInIdle@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.46:
	movq	_txqueue_lock@GOTPCREL(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_1:
	movl	$1, (%rax)
	movq	_txqueue_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	leal	6(%r14), %ebx
	movl	%ebx, %edi
	callq	_inb_p
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$100, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	testl	%r13d, %r13d
	js	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	movl	%ebx, %edi
	callq	_inb_p
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_inb_p
	cmpl	%eax, %r15d
	jne	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$-248, %r15d
	cmpl	$5, %r15d
	ja	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r15,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_xmQhd@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_33
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	incl	%edi
	callq	_inb_p
	movl	(%r12), %edi
	callq	_inb_p
	movq	%r12, %rdi
	movl	$248, %esi
	callq	_wait_timeout
	testl	%eax, %eax
	je	LBB0_2
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_20
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DEBUG_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_mboxinuse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%rax)
	movq	_rescbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rax, 24(%rdi)
	movq	_resdbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,2,0,0]
	movups	%xmm0, (%rdi)
	callq	_enQ
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	incl	%edi
	callq	_inb_p
	movl	(%r12), %edi
	callq	_inb_p
	movq	%r12, %rdi
	movl	$249, %esi
	callq	_wait_timeout
	testl	%eax, %eax
	je	LBB0_2
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_2
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DEBUG_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_xmQhd@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_35
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_deQ
	movq	%rax, %r15
	movq	_ltdmacbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r15), %rsi
	movl	8(%r15), %edx
	callq	_memcpy
	movq	%r15, %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	12(%r15), %eax
	movq	_ltdmacbuf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 4(%rcx)
	movq	_debug@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
	testl	%eax, %eax
	movq	_ltdmacbuf@GOTPCREL(%rip), %r12
	leaq	L_.str.8(%rip), %r15
	jle	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdx
	cmpl	$100, %edx
	movl	$100, %eax
	cmovgel	%eax, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	movl	(%rax,%r14,4), %esi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printk
	incq	%r14
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_handlecommand
	movl	%ebx, %edi
	callq	_inb_p
	cmpl	$250, %eax
	jne	LBB0_2
	jmp	LBB0_33
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DEBUG_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	cmpl	$0, 28(%r15)
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ltdmabuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	16(%r15), %rsi
	movl	24(%r15), %edx
	callq	_memcpy
	movq	%r12, %rdi
	callq	_handlewrite
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DEBUG_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_handlefc
	jmp	LBB0_2
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_DEBUG_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_handlefd
	jmp	LBB0_2
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_mboxinuse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%rax)
	movq	_rescbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_qels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rax, 24(%rdi)
	movq	_resdbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [2,2,0,0]
	movups	%xmm0, (%rdi)
	callq	_enQ
	jmp	LBB0_2
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_handleread
	cmpl	$0, 12(%r15)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdi
	movq	_ltdmabuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	24(%r15), %edx
	callq	_memcpy
	jmp	LBB0_2
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_ltdmabuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %eax
	movq	_mailbox@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	andl	$15, %ecx
	movl	%eax, (%rdx,%rcx,4)
	movq	_mboxinuse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$0, (%rax)
	jmp	LBB0_2
LBB0_3:
	leaq	L_.str(%rip), %rdi
LBB0_4:
	xorl	%eax, %eax
	callq	_printk
LBB0_33:
	movq	_QInIdle@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	cmpq	$0, 8(%r12)
	je	LBB0_45
## %bb.34:
	addl	$7, %r14d
	movl	%r14d, %edi
	callq	_inb_p
	movl	%r14d, %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_inb_p                          ## TAILCALL
LBB0_45:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_4
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_14
	.long	L0_0_set_24
	.long	L0_0_set_38
	.long	L0_0_set_8
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_txqueue_lock,4,2               ## @txqueue_lock
	.comm	_QInIdle,4,2                    ## @QInIdle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"idle: looped too many times\n"

	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_LOWER,4,2                ## @DEBUG_LOWER
L_.str.1:                               ## @.str.1
	.asciz	"idle: fc\n"

L_.str.2:                               ## @.str.2
	.asciz	"idle: fd\n"

L_.str.3:                               ## @.str.3
	.asciz	"idle: f9\n"

	.comm	_mboxinuse,8,3                  ## @mboxinuse
	.comm	_rescbuf,8,3                    ## @rescbuf
	.comm	_qels,8,3                       ## @qels
	.comm	_resdbuf,8,3                    ## @resdbuf
L_.str.4:                               ## @.str.4
	.asciz	"timed out idle f9\n"

	.comm	_xmQhd,4,2                      ## @xmQhd
L_.str.5:                               ## @.str.5
	.asciz	"timed out idle f8\n"

L_.str.6:                               ## @.str.6
	.asciz	"idle: fa\n"

	.comm	_ltdmacbuf,8,3                  ## @ltdmacbuf
L_.str.7:                               ## @.str.7
	.asciz	"ltpc: sent command     "

L_.str.8:                               ## @.str.8
	.asciz	"%02x "

L_.str.9:                               ## @.str.9
	.asciz	"\n"

L_.str.10:                              ## @.str.10
	.asciz	"trouble: response command already queued\n"

L_.str.11:                              ## @.str.11
	.asciz	"idle: fb\n"

	.comm	_ltdmabuf,8,3                   ## @ltdmabuf
	.comm	_mailbox,8,3                    ## @mailbox
	.no_dead_strip	_idle
.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 idle
lCPI0_0:
	.long	2                               ; 0x2
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_idle:                                  ; @idle
	.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	x19, x0
	ldr	w26, [x0]
Lloh0:
	adrp	x0, _txqueue_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _txqueue_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x23, _QInIdle@GOTPAGE
Lloh3:
	ldr	x23, [x23, _QInIdle@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, _txqueue_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _txqueue_lock@GOTPAGEOFF]
	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	_spin_unlock_irqrestore
LBB0_2:
	mov	w28, #1
	str	w28, [x23]
Lloh6:
	adrp	x0, _txqueue_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _txqueue_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	add	w20, w26, #6
	mov	x0, x20
	bl	_inb_p
	mov	x22, #0
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
Lloh10:
	adrp	x24, _ltdmacbuf@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ltdmacbuf@GOTPAGEOFF]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	mov	w27, #100
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	tbnz	w27, #31, LBB0_41
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w27, w27, #1
	mov	x0, x20
	bl	_inb_p
	mov	x25, x0
	mov	x0, x20
	bl	_inb_p
	cmp	w25, w0
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w25, #248
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x11, lJTI0_0@PAGE
Lloh15:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_7
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh16:
	adrp	x8, _xmQhd@GOTPAGE
Lloh17:
	ldr	x8, [x8, _xmQhd@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cbz	w8, LBB0_42
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	add	w0, w8, #1
	bl	_inb_p
	ldr	w0, [x19]
	bl	_inb_p
	mov	x0, x19
	mov	w1, #248
	bl	_wait_timeout
	cbz	w0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printk
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh21:
	adrp	x8, _debug@GOTPAGE
Lloh22:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _DEBUG_LOWER@GOTPAGE
Lloh25:
	ldr	x9, [x9, _DEBUG_LOWER@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh29:
	adrp	x8, _mboxinuse@GOTPAGE
Lloh30:
	ldr	x8, [x8, _mboxinuse@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cbnz	w9, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	str	w28, [x8]
Lloh32:
	adrp	x8, _rescbuf@GOTPAGE
Lloh33:
	ldr	x8, [x8, _rescbuf@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _qels@GOTPAGE
Lloh36:
	ldr	x9, [x9, _qels@GOTPAGEOFF]
Lloh37:
	ldr	x0, [x9]
Lloh38:
	adrp	x9, _resdbuf@GOTPAGE
Lloh39:
	ldr	x9, [x9, _resdbuf@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #16]
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	str	q0, [x0]
	bl	_enQ
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	add	w0, w8, #1
	bl	_inb_p
	ldr	w0, [x19]
	bl	_inb_p
	mov	x0, x19
	mov	w1, #249
	bl	_wait_timeout
	cbz	w0, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh41:
	adrp	x0, l_.str.4@PAGE
Lloh42:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printk
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh43:
	adrp	x8, _debug@GOTPAGE
Lloh44:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _DEBUG_LOWER@GOTPAGE
Lloh47:
	ldr	x9, [x9, _DEBUG_LOWER@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh49:
	adrp	x0, l_.str.6@PAGE
Lloh50:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printk
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh51:
	adrp	x8, _xmQhd@GOTPAGE
Lloh52:
	ldr	x8, [x8, _xmQhd@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	cbz	w8, LBB0_35
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_deQ
	mov	x22, x0
	ldr	x0, [x24]
	ldr	x1, [x22]
	ldr	w2, [x22, #8]
	bl	_memcpy
	ldr	w8, [x22, #12]
	ldr	x9, [x24]
	str	w8, [x9, #4]
Lloh54:
	adrp	x8, _debug@GOTPAGE
Lloh55:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh57:
	adrp	x0, l_.str.7@PAGE
Lloh58:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printk
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w8, [x22, #8]
	cmp	w8, #1
	mov	x22, x24
Lloh59:
	adrp	x24, l_.str.8@PAGE
Lloh60:
	add	x24, x24, l_.str.8@PAGEOFF
	b.lt	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	cmp	w8, #100
	mov	w9, #100
	csel	w8, w8, w9, lt
	lsl	x28, x8, #2
LBB0_22:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22]
	ldr	w8, [x8, x25]
	str	x8, [sp]
	mov	x0, x24
	bl	_printk
	add	x25, x25, #4
	cmp	x28, x25
	b.ne	LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh61:
	adrp	x0, l_.str.9@PAGE
Lloh62:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printk
	mov	w28, #1
	mov	x24, x22
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_handlecommand
	mov	x0, x20
	bl	_inb_p
	cmp	w0, #250
	b.ne	LBB0_3
	b	LBB0_42
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh63:
	adrp	x8, _debug@GOTPAGE
Lloh64:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _DEBUG_LOWER@GOTPAGE
Lloh67:
	ldr	x9, [x9, _DEBUG_LOWER@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh69:
	adrp	x0, l_.str.11@PAGE
Lloh70:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printk
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22, #28]
	cbz	w8, LBB0_37
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh71:
	adrp	x8, _ltdmabuf@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ltdmabuf@GOTPAGEOFF]
Lloh73:
	ldr	x0, [x8]
	ldr	x1, [x22, #16]
	ldr	w2, [x22, #24]
	bl	_memcpy
	mov	x0, x19
	bl	_handlewrite
	b	LBB0_3
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh74:
	adrp	x8, _debug@GOTPAGE
Lloh75:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	adrp	x9, _DEBUG_LOWER@GOTPAGE
Lloh78:
	ldr	x9, [x9, _DEBUG_LOWER@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh80:
	adrp	x0, l_.str.1@PAGE
Lloh81:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_handlefc
	b	LBB0_3
LBB0_32:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh82:
	adrp	x8, _debug@GOTPAGE
Lloh83:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
Lloh85:
	adrp	x9, _DEBUG_LOWER@GOTPAGE
Lloh86:
	ldr	x9, [x9, _DEBUG_LOWER@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh88:
	adrp	x0, l_.str.2@PAGE
Lloh89:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
LBB0_34:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_handlefd
	b	LBB0_3
LBB0_35:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh90:
	adrp	x8, _mboxinuse@GOTPAGE
Lloh91:
	ldr	x8, [x8, _mboxinuse@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	ldr	w9, [x8]
	cbnz	w9, LBB0_40
; %bb.36:                               ;   in Loop: Header=BB0_3 Depth=1
	str	w28, [x8]
Lloh93:
	adrp	x8, _rescbuf@GOTPAGE
Lloh94:
	ldr	x8, [x8, _rescbuf@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
Lloh96:
	adrp	x9, _qels@GOTPAGE
Lloh97:
	ldr	x9, [x9, _qels@GOTPAGEOFF]
Lloh98:
	ldr	x0, [x9]
Lloh99:
	adrp	x9, _resdbuf@GOTPAGE
Lloh100:
	ldr	x9, [x9, _resdbuf@GOTPAGEOFF]
Lloh101:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #16]
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	str	q0, [x0]
	bl	_enQ
	b	LBB0_3
LBB0_37:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_handleread
	ldr	w8, [x22, #12]
	cbz	w8, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22, #16]
Lloh102:
	adrp	x8, _ltdmabuf@GOTPAGE
Lloh103:
	ldr	x8, [x8, _ltdmabuf@GOTPAGEOFF]
Lloh104:
	ldr	x1, [x8]
	ldr	w2, [x22, #24]
	bl	_memcpy
	b	LBB0_3
LBB0_39:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh105:
	adrp	x8, _ltdmabuf@GOTPAGE
Lloh106:
	ldr	x8, [x8, _ltdmabuf@GOTPAGEOFF]
Lloh107:
	ldr	x8, [x8]
Lloh108:
	adrp	x9, _mailbox@GOTPAGE
Lloh109:
	ldr	x9, [x9, _mailbox@GOTPAGEOFF]
Lloh110:
	ldr	x9, [x9]
	ldp	w8, w10, [x8]
	and	x8, x8, #0xf
	str	w10, [x9, x8, lsl #2]
Lloh111:
	adrp	x8, _mboxinuse@GOTPAGE
Lloh112:
	ldr	x8, [x8, _mboxinuse@GOTPAGEOFF]
Lloh113:
	ldr	x8, [x8]
	str	wzr, [x8]
	b	LBB0_3
LBB0_40:
Lloh114:
	adrp	x21, l_.str.10@PAGE
Lloh115:
	add	x21, x21, l_.str.10@PAGEOFF
LBB0_41:
	mov	x0, x21
	bl	_printk
LBB0_42:
	str	wzr, [x23]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_44
; %bb.43:
	add	w19, w26, #7
	mov	x0, x19
	bl	_inb_p
	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	_inb_p
LBB0_44:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh114, Lloh115
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_25-LBB0_7)>>2
	.byte	(LBB0_29-LBB0_7)>>2
	.byte	(LBB0_32-LBB0_7)>>2
                                        ; -- End function
	.comm	_txqueue_lock,4,2               ; @txqueue_lock
	.comm	_QInIdle,4,2                    ; @QInIdle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"idle: looped too many times\n"

	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_LOWER,4,2                ; @DEBUG_LOWER
l_.str.1:                               ; @.str.1
	.asciz	"idle: fc\n"

l_.str.2:                               ; @.str.2
	.asciz	"idle: fd\n"

l_.str.3:                               ; @.str.3
	.asciz	"idle: f9\n"

	.comm	_mboxinuse,8,3                  ; @mboxinuse
	.comm	_rescbuf,8,3                    ; @rescbuf
	.comm	_qels,8,3                       ; @qels
	.comm	_resdbuf,8,3                    ; @resdbuf
l_.str.4:                               ; @.str.4
	.asciz	"timed out idle f9\n"

	.comm	_xmQhd,4,2                      ; @xmQhd
l_.str.5:                               ; @.str.5
	.asciz	"timed out idle f8\n"

l_.str.6:                               ; @.str.6
	.asciz	"idle: fa\n"

	.comm	_ltdmacbuf,8,3                  ; @ltdmacbuf
l_.str.7:                               ; @.str.7
	.asciz	"ltpc: sent command     "

l_.str.8:                               ; @.str.8
	.asciz	"%02x "

l_.str.9:                               ; @.str.9
	.asciz	"\n"

l_.str.10:                              ; @.str.10
	.asciz	"trouble: response command already queued\n"

l_.str.11:                              ; @.str.11
	.asciz	"idle: fb\n"

	.comm	_ltdmabuf,8,3                   ; @ltdmabuf
	.comm	_mailbox,8,3                    ; @mailbox
	.no_dead_strip	_idle
.subsections_via_symbols
