	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ali1563_transaction
_ali1563_transaction:                   ## @ali1563_transaction
	.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	%esi, -72(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_SMB_HST_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %ebx
	movq	_SMB_HST_CNTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_SMB_HST_CNTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SMB_HST_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %r14d
	movq	_SMB_HST_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %r12d
	movq	_SMB_HST_DAT0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %r13d
	movq	_SMB_HST_DAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	_SMB_HST_STS@GOTPCREL(%rip), %rbx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r13
	pushq	%r12
	movq	%rbx, %r12
	callq	_dev_dbg
	addq	$32, %rsp
	movl	(%rbx), %edi
	callq	_inb_p
	movq	_HST_STS_BAD@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	orl	(%r14), %ebx
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_outb_p
	movl	(%r12), %edi
	callq	_inb_p
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_19
LBB0_3:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_SMB_HST_CNTL2@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_inb_p
	movq	_HST_CNTL2_START@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_outb_p
	movq	_ALI1563_MAX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_HST_STS_BUSY@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_msleep
	movl	(%r12), %edi
	callq	_inb_p
	movl	%eax, %ebx
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	decl	%r14d
	jne	LBB0_4
## %bb.6:
	xorl	%r14d, %r14d
LBB0_7:
	movq	_SMB_HST_CMD@GOTPCREL(%rip), %r15
	movl	(%r12), %edi
	callq	_inb_p
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_SMB_HST_CNTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edi
	callq	_inb_p
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	(%r15), %edi
	callq	_inb_p
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_SMB_HST_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %r13d
	movq	_SMB_HST_DAT0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %r15d
	movq	_SMB_HST_DAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r15
	pushq	%r13
	callq	_dev_dbg
	addq	$32, %rsp
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.8:
	movq	_HST_STS_BAD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movq	_SMB_HST_CNTL2@GOTPCREL(%rip), %r15
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_11
## %bb.9:
	xorl	%r13d, %r13d
	jmp	LBB0_19
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_HST_CNTL2_KILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SMB_HST_CNTL2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_outb_p
	movq	_SMB_HST_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inb_p
	movl	%eax, %ebx
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_11:
	movq	_HST_STS_DEVERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.12:
	movq	_HST_CNTL2_QUICK@GOTPCREL(%rip), %rax
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
LBB0_14:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_15:
	movq	_HST_STS_BUSERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_HST_CNTL1_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SMB_HST_CNTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb_p
LBB0_17:
	negl	%r13d
	movq	_HST_STS_FAIL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.18:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_outb_p
LBB0_19:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transaction (pre): STS=%02x, CNTL1=%02x, CNTL2=%02x, CMD=%02x, ADD=%02x, DAT0=%02x, DAT1=%02x\n"

	.comm	_SMB_HST_STS,4,2                ## @SMB_HST_STS
	.comm	_SMB_HST_CNTL1,4,2              ## @SMB_HST_CNTL1
	.comm	_SMB_HST_CNTL2,4,2              ## @SMB_HST_CNTL2
	.comm	_SMB_HST_CMD,4,2                ## @SMB_HST_CMD
	.comm	_SMB_HST_ADD,4,2                ## @SMB_HST_ADD
	.comm	_SMB_HST_DAT0,4,2               ## @SMB_HST_DAT0
	.comm	_SMB_HST_DAT1,4,2               ## @SMB_HST_DAT1
	.comm	_HST_STS_BAD,4,2                ## @HST_STS_BAD
L_.str.1:                               ## @.str.1
	.asciz	"ali1563: Trying to reset busy device\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_HST_CNTL2_START,4,2            ## @HST_CNTL2_START
	.comm	_ALI1563_MAX_TIMEOUT,4,2        ## @ALI1563_MAX_TIMEOUT
	.comm	_HST_STS_BUSY,4,2               ## @HST_STS_BUSY
L_.str.2:                               ## @.str.2
	.asciz	"Transaction (post): STS=%02x, CNTL1=%02x, CNTL2=%02x, CMD=%02x, ADD=%02x, DAT0=%02x, DAT1=%02x\n"

L_.str.3:                               ## @.str.3
	.asciz	"Timeout - Trying to KILL transaction!\n"

	.comm	_HST_CNTL2_KILL,4,2             ## @HST_CNTL2_KILL
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_HST_STS_DEVERR,4,2             ## @HST_STS_DEVERR
	.comm	_HST_CNTL2_QUICK,4,2            ## @HST_CNTL2_QUICK
L_.str.4:                               ## @.str.4
	.asciz	"Device error!\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_HST_STS_BUSERR,4,2             ## @HST_STS_BUSERR
L_.str.5:                               ## @.str.5
	.asciz	"Bus collision!\n"

	.comm	_HST_CNTL1_TIMEOUT,4,2          ## @HST_CNTL1_TIMEOUT
	.comm	_HST_STS_FAIL,4,2               ## @HST_STS_FAIL
L_.str.6:                               ## @.str.6
	.asciz	"Cleaning fail after KILL!\n"

	.no_dead_strip	_ali1563_transaction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ali1563_transaction
_ali1563_transaction:                   ; @ali1563_transaction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w1, [sp, #8]                    ; 4-byte Folded Spill
	mov	x19, x0
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x28, _SMB_HST_STS@GOTPAGE
Lloh4:
	ldr	x28, [x28, _SMB_HST_STS@GOTPAGEOFF]
	ldr	w0, [x28]
	bl	_inb_p
	mov	x21, x0
Lloh5:
	adrp	x8, _SMB_HST_CNTL1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SMB_HST_CNTL1@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_inb_p
	mov	x22, x0
Lloh8:
	adrp	x8, _SMB_HST_CNTL2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMB_HST_CNTL2@GOTPAGEOFF]
	mov	x20, x8
	ldr	w0, [x8]
	bl	_inb_p
	mov	x23, x0
Lloh10:
	adrp	x8, _SMB_HST_CMD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SMB_HST_CMD@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_inb_p
	mov	x24, x0
Lloh13:
	adrp	x8, _SMB_HST_ADD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SMB_HST_ADD@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_inb_p
	mov	x25, x0
Lloh16:
	adrp	x27, _SMB_HST_DAT0@GOTPAGE
Lloh17:
	ldr	x27, [x27, _SMB_HST_DAT0@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_inb_p
	mov	x26, x0
Lloh18:
	adrp	x8, _SMB_HST_DAT1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SMB_HST_DAT1@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_inb_p
	str	w0, [sp]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	mov	x7, x26
	bl	_dev_dbg
	ldr	w0, [x28]
	bl	_inb_p
Lloh23:
	adrp	x22, _HST_STS_BAD@GOTPAGE
Lloh24:
	ldr	x22, [x22, _HST_STS_BAD@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
	mov	x21, x0
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w8, [x22]
	orr	w0, w8, w21
	ldr	w1, [x28]
	bl	_outb_p
	ldr	w0, [x28]
	bl	_inb_p
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
Lloh27:
	adrp	x8, _EBUSY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_18
LBB0_3:
	mov	x24, x20
	ldr	w0, [x20]
	bl	_inb_p
Lloh30:
	adrp	x8, _HST_CNTL2_START@GOTPAGE
Lloh31:
	ldr	x8, [x8, _HST_CNTL2_START@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	w1, [x20]
	bl	_outb_p
Lloh33:
	adrp	x8, _ALI1563_MAX_TIMEOUT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ALI1563_MAX_TIMEOUT@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
Lloh36:
	adrp	x22, _HST_STS_BUSY@GOTPAGE
Lloh37:
	ldr	x22, [x22, _HST_STS_BUSY@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_msleep
	ldr	w0, [x28]
	bl	_inb_p
	mov	x21, x0
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	subs	w20, w20, #1
	b.ne	LBB0_4
LBB0_6:
	ldr	w0, [x28]
	bl	_inb_p
	mov	x22, x0
Lloh38:
	adrp	x8, _SMB_HST_CNTL1@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SMB_HST_CNTL1@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_inb_p
	mov	x23, x0
	ldr	w0, [x24]
	bl	_inb_p
	mov	x24, x0
Lloh41:
	adrp	x8, _SMB_HST_CMD@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SMB_HST_CMD@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_inb_p
	mov	x25, x0
Lloh44:
	adrp	x8, _SMB_HST_ADD@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SMB_HST_ADD@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_inb_p
	mov	x26, x0
	ldr	w0, [x27]
	bl	_inb_p
	mov	x27, x0
Lloh47:
	adrp	x8, _SMB_HST_DAT1@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SMB_HST_DAT1@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_inb_p
	str	w0, [sp]
Lloh50:
	adrp	x1, l_.str.2@PAGE
Lloh51:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	mov	x6, x26
	mov	x7, x27
	bl	_dev_dbg
	cbz	w20, LBB0_9
; %bb.7:
Lloh52:
	adrp	x8, _HST_STS_BAD@GOTPAGE
Lloh53:
	ldr	x8, [x8, _HST_STS_BAD@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	tst	w8, w21
Lloh55:
	adrp	x22, _SMB_HST_CNTL2@GOTPAGE
Lloh56:
	ldr	x22, [x22, _SMB_HST_CNTL2@GOTPAGEOFF]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	b.ne	LBB0_10
; %bb.8:
	mov	w20, #0
	b	LBB0_18
LBB0_9:
Lloh57:
	adrp	x1, l_.str.3@PAGE
Lloh58:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh59:
	adrp	x8, _HST_CNTL2_KILL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _HST_CNTL2_KILL@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x22, _SMB_HST_CNTL2@GOTPAGE
Lloh63:
	ldr	x22, [x22, _SMB_HST_CNTL2@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_outb_p
	ldr	w0, [x28]
	bl	_inb_p
	mov	x21, x0
Lloh64:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x8]
LBB0_10:
Lloh67:
	adrp	x8, _HST_STS_DEVERR@GOTPAGE
Lloh68:
	ldr	x8, [x8, _HST_STS_DEVERR@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.11:
Lloh70:
	adrp	x8, _HST_CNTL2_QUICK@GOTPAGE
Lloh71:
	ldr	x8, [x8, _HST_CNTL2_QUICK@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w8, w9
	b.eq	LBB0_13
; %bb.12:
Lloh73:
	adrp	x1, l_.str.4@PAGE
Lloh74:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_13:
Lloh75:
	adrp	x8, _ENXIO@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x8]
LBB0_14:
	neg	w20, w9
Lloh78:
	adrp	x8, _HST_STS_BUSERR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _HST_STS_BUSERR@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_16
; %bb.15:
Lloh81:
	adrp	x1, l_.str.5@PAGE
Lloh82:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh83:
	adrp	x8, _HST_CNTL1_TIMEOUT@GOTPAGE
Lloh84:
	ldr	x8, [x8, _HST_CNTL1_TIMEOUT@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
Lloh86:
	adrp	x8, _SMB_HST_CNTL1@GOTPAGE
Lloh87:
	ldr	x8, [x8, _SMB_HST_CNTL1@GOTPAGEOFF]
Lloh88:
	ldr	w1, [x8]
	bl	_outb_p
LBB0_16:
Lloh89:
	adrp	x8, _HST_STS_FAIL@GOTPAGE
Lloh90:
	ldr	x8, [x8, _HST_STS_FAIL@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:
Lloh92:
	adrp	x1, l_.str.6@PAGE
Lloh93:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w1, [x22]
	mov	w0, #0
	bl	_outb_p
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transaction (pre): STS=%02x, CNTL1=%02x, CNTL2=%02x, CMD=%02x, ADD=%02x, DAT0=%02x, DAT1=%02x\n"

	.comm	_SMB_HST_STS,4,2                ; @SMB_HST_STS
	.comm	_SMB_HST_CNTL1,4,2              ; @SMB_HST_CNTL1
	.comm	_SMB_HST_CNTL2,4,2              ; @SMB_HST_CNTL2
	.comm	_SMB_HST_CMD,4,2                ; @SMB_HST_CMD
	.comm	_SMB_HST_ADD,4,2                ; @SMB_HST_ADD
	.comm	_SMB_HST_DAT0,4,2               ; @SMB_HST_DAT0
	.comm	_SMB_HST_DAT1,4,2               ; @SMB_HST_DAT1
	.comm	_HST_STS_BAD,4,2                ; @HST_STS_BAD
l_.str.1:                               ; @.str.1
	.asciz	"ali1563: Trying to reset busy device\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_HST_CNTL2_START,4,2            ; @HST_CNTL2_START
	.comm	_ALI1563_MAX_TIMEOUT,4,2        ; @ALI1563_MAX_TIMEOUT
	.comm	_HST_STS_BUSY,4,2               ; @HST_STS_BUSY
l_.str.2:                               ; @.str.2
	.asciz	"Transaction (post): STS=%02x, CNTL1=%02x, CNTL2=%02x, CMD=%02x, ADD=%02x, DAT0=%02x, DAT1=%02x\n"

l_.str.3:                               ; @.str.3
	.asciz	"Timeout - Trying to KILL transaction!\n"

	.comm	_HST_CNTL2_KILL,4,2             ; @HST_CNTL2_KILL
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_HST_STS_DEVERR,4,2             ; @HST_STS_DEVERR
	.comm	_HST_CNTL2_QUICK,4,2            ; @HST_CNTL2_QUICK
l_.str.4:                               ; @.str.4
	.asciz	"Device error!\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_HST_STS_BUSERR,4,2             ; @HST_STS_BUSERR
l_.str.5:                               ; @.str.5
	.asciz	"Bus collision!\n"

	.comm	_HST_CNTL1_TIMEOUT,4,2          ; @HST_CNTL1_TIMEOUT
	.comm	_HST_STS_FAIL,4,2               ; @HST_STS_FAIL
l_.str.6:                               ; @.str.6
	.asciz	"Cleaning fail after KILL!\n"

	.no_dead_strip	_ali1563_transaction
.subsections_via_symbols
