	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r592_execute_tpc
_r592_execute_tpc:                      ## @r592_execute_tpc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	leaq	24(%rax), %rcx
	leaq	4(%rax), %rdx
	cmpq	$0, 32(%rax)
	cmoveq	%rdx, %rcx
	movl	(%rcx), %r15d
	movq	_R592_LFIFO_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jle	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_message
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_33
LBB0_2:
	movl	(%rax), %r12d
	movq	_MS_TPC_SET_RW_REG_ADRS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_R592_REG_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_r592_read_reg
	movq	_R592_REG_MSC_PRSNT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_memstick_debug_get_tpc_name
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dbg
	movq	_R592_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R592_IO_DIRECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	cmpl	%r13d, %r12d
	jge	LBB0_6
## %bb.5:
	callq	_r592_clear_reg_mask
	movq	%r14, %rdi
	callq	_r592_test_fifo_empty
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_33
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dbg
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_33
LBB0_6:
	callq	_r592_set_reg_mask
	movq	%r14, %rdi
	callq	_r592_test_fifo_empty
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_33
## %bb.7:
	movq	%r14, %rdi
	callq	_r592_transfer_fifo_dma
	movl	%eax, %ebx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_r592_transfer_fifo_pio
	movl	%eax, %ebx
LBB0_9:
	testl	%ebx, %ebx
	jne	LBB0_33
LBB0_10:
	movq	_R592_TPC_EXEC_LEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movq	(%r14), %rax
	movl	(%rax), %edx
	movq	_R592_TPC_EXEC_TPC_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%r15d, %edx
	movq	_R592_TPC_EXEC_BIG_FIFO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_R592_TPC_EXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_r592_write_reg
	movq	_R592_STATUS_RDY@GOTPCREL(%rip), %rax
	movq	(%r14), %rcx
	xorl	%edx, %edx
	cmpq	$0, 16(%rcx)
	je	LBB0_12
## %bb.11:
	movq	_R592_STATUS_CED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_12:
	orl	(%rax), %edx
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	_r592_wait_status
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rdi
	callq	_message
	jmp	LBB0_33
LBB0_14:
	movq	%r14, %rdi
	callq	_r592_test_io_error
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_32
LBB0_16:
	xorl	%ebx, %ebx
	cmpl	%r13d, %r12d
	jge	LBB0_19
## %bb.17:
	movq	%r14, %rdi
	callq	_r592_transfer_fifo_dma
	movl	%eax, %ebx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	jne	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	callq	_r592_transfer_fifo_pio
	movl	%eax, %ebx
LBB0_19:
	cmpq	$0, 8(%r14)
	je	LBB0_29
## %bb.20:
	movq	(%r14), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_29
## %bb.21:
	movl	$0, 12(%rax)
	movq	_R592_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_r592_read_reg
	movq	_R592_STATUS_P_CMDNACK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movq	_MEMSTICK_INT_CMDNAK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%r14), %rdx
	orl	%ecx, 12(%rdx)
LBB0_23:
	movq	_R592_STATUS_P_BREQ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	movq	_MEMSTICK_INT_BREQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%r14), %rdx
	orl	%ecx, 12(%rdx)
LBB0_25:
	movq	_R592_STATUS_P_INTERR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:
	movq	_MEMSTICK_INT_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%r14), %rdx
	orl	%ecx, 12(%rdx)
LBB0_27:
	movq	_R592_STATUS_P_CED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.28:
	movq	_MEMSTICK_INT_CED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, 12(%rcx)
LBB0_29:
	testl	%ebx, %ebx
	je	LBB0_30
## %bb.31:
	leaq	L_.str.6(%rip), %rdi
LBB0_32:
	xorl	%eax, %eax
	callq	_dbg
LBB0_33:
	movq	(%r14), %rax
	movl	%ebx, 8(%rax)
	movq	_R592_REG_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_R592_REG_MSC_LED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r592_clear_reg_mask            ## TAILCALL
LBB0_30:
	xorl	%ebx, %ebx
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_MS_TPC_SET_RW_REG_ADRS,4,2     ## @MS_TPC_SET_RW_REG_ADRS
	.comm	_R592_LFIFO_SIZE,4,2            ## @R592_LFIFO_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"IO: hardware doesn't support TPCs longer that 512"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_R592_REG_MSC,4,2               ## @R592_REG_MSC
	.comm	_R592_REG_MSC_PRSNT,4,2         ## @R592_REG_MSC_PRSNT
L_.str.2:                               ## @.str.2
	.asciz	"IO: refusing to send TPC because card is absent"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.3:                               ## @.str.3
	.asciz	"IO: executing %s LEN=%d"

	.comm	_R592_IO,4,2                    ## @R592_IO
	.comm	_R592_IO_DIRECTION,4,2          ## @R592_IO_DIRECTION
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_R592_TPC_EXEC_LEN_SHIFT,4,2    ## @R592_TPC_EXEC_LEN_SHIFT
	.comm	_R592_TPC_EXEC_TPC_SHIFT,4,2    ## @R592_TPC_EXEC_TPC_SHIFT
	.comm	_R592_TPC_EXEC_BIG_FIFO,4,2     ## @R592_TPC_EXEC_BIG_FIFO
	.comm	_R592_TPC_EXEC,4,2              ## @R592_TPC_EXEC
	.comm	_R592_STATUS_RDY,4,2            ## @R592_STATUS_RDY
	.comm	_R592_STATUS_CED,4,2            ## @R592_STATUS_CED
L_.str.4:                               ## @.str.4
	.asciz	"card didn't respond"

L_.str.5:                               ## @.str.5
	.asciz	"IO error"

	.comm	_R592_STATUS,4,2                ## @R592_STATUS
	.comm	_R592_STATUS_P_CMDNACK,4,2      ## @R592_STATUS_P_CMDNACK
	.comm	_MEMSTICK_INT_CMDNAK,4,2        ## @MEMSTICK_INT_CMDNAK
	.comm	_R592_STATUS_P_BREQ,4,2         ## @R592_STATUS_P_BREQ
	.comm	_MEMSTICK_INT_BREQ,4,2          ## @MEMSTICK_INT_BREQ
	.comm	_R592_STATUS_P_INTERR,4,2       ## @R592_STATUS_P_INTERR
	.comm	_MEMSTICK_INT_ERR,4,2           ## @MEMSTICK_INT_ERR
	.comm	_R592_STATUS_P_CED,4,2          ## @R592_STATUS_P_CED
	.comm	_MEMSTICK_INT_CED,4,2           ## @MEMSTICK_INT_CED
L_.str.6:                               ## @.str.6
	.asciz	"FIFO read error"

	.comm	_R592_REG_MSC_LED,4,2           ## @R592_REG_MSC_LED
	.no_dead_strip	_r592_execute_tpc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r592_execute_tpc
_r592_execute_tpc:                      ; @r592_execute_tpc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x9, [x8, #32]
	mov	w10, #24
	mov	w11, #4
	cmp	x9, #0
	csel	x9, x11, x10, eq
	ldr	w24, [x8, x9]
Lloh0:
	adrp	x9, _R592_LFIFO_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R592_LFIFO_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x21, _R592_REG_MSC@GOTPAGE
Lloh4:
	ldr	x21, [x21, _R592_REG_MSC@GOTPAGEOFF]
	cmp	w24, w9
	b.le	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_message
Lloh7:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _MS_TPC_SET_RW_REG_ADRS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MS_TPC_SET_RW_REG_ADRS@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_r592_read_reg
Lloh12:
	adrp	x8, _R592_REG_MSC_PRSNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _R592_REG_MSC_PRSNT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_memstick_debug_get_tpc_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x24, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dbg
Lloh17:
	adrp	x8, _R592_IO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _R592_IO@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _R592_IO_DIRECTION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _R592_IO_DIRECTION@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	cmp	w22, w23
	b.ge	LBB0_8
; %bb.4:
	bl	_r592_clear_reg_mask
	mov	x0, x19
	bl	_r592_test_fifo_empty
	mov	x20, x0
	cbnz	w0, LBB0_7
	b	LBB0_12
LBB0_5:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dbg
Lloh25:
	adrp	x8, _ENODEV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	ldr	x8, [x19]
	str	w20, [x8, #8]
	ldr	w1, [x21]
Lloh27:
	adrp	x8, _R592_REG_MSC_LED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _R592_REG_MSC_LED@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_r592_clear_reg_mask
LBB0_8:
	bl	_r592_set_reg_mask
	mov	x0, x19
	bl	_r592_test_fifo_empty
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.9:
	mov	x0, x19
	bl	_r592_transfer_fifo_dma
	mov	x20, x0
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_r592_transfer_fifo_pio
	mov	x20, x0
LBB0_11:
	cbnz	w20, LBB0_7
LBB0_12:
Lloh33:
	adrp	x8, _R592_TPC_EXEC_LEN_SHIFT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _R592_TPC_EXEC_LEN_SHIFT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	lsl	w8, w24, w8
	ldr	x9, [x19]
	ldr	w9, [x9]
Lloh36:
	adrp	x10, _R592_TPC_EXEC_TPC_SHIFT@GOTPAGE
Lloh37:
	ldr	x10, [x10, _R592_TPC_EXEC_TPC_SHIFT@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh39:
	adrp	x10, _R592_TPC_EXEC_BIG_FIFO@GOTPAGE
Lloh40:
	ldr	x10, [x10, _R592_TPC_EXEC_BIG_FIFO@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh41:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh42:
	adrp	x8, _R592_TPC_EXEC@GOTPAGE
Lloh43:
	ldr	x8, [x8, _R592_TPC_EXEC@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_r592_write_reg
Lloh45:
	adrp	x8, _R592_STATUS_RDY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _R592_STATUS_RDY@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9, #16]
Lloh48:
	adrp	x10, _R592_STATUS_CED@GOTPAGE
Lloh49:
	ldr	x10, [x10, _R592_STATUS_CED@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w1, w9, w8
	mov	x0, x19
	mov	x2, x1
	bl	_r592_wait_status
	cbz	w0, LBB0_14
; %bb.13:
	mov	x20, x0
Lloh51:
	adrp	x0, l_.str.4@PAGE
Lloh52:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_message
	b	LBB0_7
LBB0_14:
	mov	x0, x19
	bl	_r592_test_io_error
	cbz	w0, LBB0_16
; %bb.15:
	mov	x20, x0
Lloh53:
	adrp	x0, l_.str.5@PAGE
Lloh54:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_32
LBB0_16:
	cmp	w22, w23
	b.ge	LBB0_19
; %bb.17:
	mov	x0, x19
	bl	_r592_transfer_fifo_dma
	mov	x20, x0
Lloh55:
	adrp	x8, _EINVAL@GOTPAGE
Lloh56:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_20
; %bb.18:
	mov	x0, x19
	bl	_r592_transfer_fifo_pio
	mov	x20, x0
	b	LBB0_20
LBB0_19:
	mov	w20, #0
LBB0_20:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_30
; %bb.21:
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_30
; %bb.22:
	str	wzr, [x8, #12]
Lloh58:
	adrp	x8, _R592_STATUS@GOTPAGE
Lloh59:
	ldr	x8, [x8, _R592_STATUS@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_r592_read_reg
Lloh61:
	adrp	x8, _R592_STATUS_P_CMDNACK@GOTPAGE
Lloh62:
	ldr	x8, [x8, _R592_STATUS_P_CMDNACK@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_24
; %bb.23:
Lloh64:
	adrp	x8, _MEMSTICK_INT_CMDNAK@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MEMSTICK_INT_CMDNAK@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #12]
	orr	w8, w10, w8
	str	w8, [x9, #12]
LBB0_24:
Lloh67:
	adrp	x8, _R592_STATUS_P_BREQ@GOTPAGE
Lloh68:
	ldr	x8, [x8, _R592_STATUS_P_BREQ@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_26
; %bb.25:
Lloh70:
	adrp	x8, _MEMSTICK_INT_BREQ@GOTPAGE
Lloh71:
	ldr	x8, [x8, _MEMSTICK_INT_BREQ@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #12]
	orr	w8, w10, w8
	str	w8, [x9, #12]
LBB0_26:
Lloh73:
	adrp	x8, _R592_STATUS_P_INTERR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _R592_STATUS_P_INTERR@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_28
; %bb.27:
Lloh76:
	adrp	x8, _MEMSTICK_INT_ERR@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MEMSTICK_INT_ERR@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #12]
	orr	w8, w10, w8
	str	w8, [x9, #12]
LBB0_28:
Lloh79:
	adrp	x8, _R592_STATUS_P_CED@GOTPAGE
Lloh80:
	ldr	x8, [x8, _R592_STATUS_P_CED@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_30
; %bb.29:
Lloh82:
	adrp	x8, _MEMSTICK_INT_CED@GOTPAGE
Lloh83:
	ldr	x8, [x8, _MEMSTICK_INT_CED@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #12]
	orr	w8, w10, w8
	str	w8, [x9, #12]
LBB0_30:
	cbz	w20, LBB0_7
; %bb.31:
Lloh85:
	adrp	x0, l_.str.6@PAGE
Lloh86:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_32:
	bl	_dbg
	b	LBB0_7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.cfi_endproc
                                        ; -- End function
	.comm	_MS_TPC_SET_RW_REG_ADRS,4,2     ; @MS_TPC_SET_RW_REG_ADRS
	.comm	_R592_LFIFO_SIZE,4,2            ; @R592_LFIFO_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"IO: hardware doesn't support TPCs longer that 512"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_R592_REG_MSC,4,2               ; @R592_REG_MSC
	.comm	_R592_REG_MSC_PRSNT,4,2         ; @R592_REG_MSC_PRSNT
l_.str.2:                               ; @.str.2
	.asciz	"IO: refusing to send TPC because card is absent"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.3:                               ; @.str.3
	.asciz	"IO: executing %s LEN=%d"

	.comm	_R592_IO,4,2                    ; @R592_IO
	.comm	_R592_IO_DIRECTION,4,2          ; @R592_IO_DIRECTION
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_R592_TPC_EXEC_LEN_SHIFT,4,2    ; @R592_TPC_EXEC_LEN_SHIFT
	.comm	_R592_TPC_EXEC_TPC_SHIFT,4,2    ; @R592_TPC_EXEC_TPC_SHIFT
	.comm	_R592_TPC_EXEC_BIG_FIFO,4,2     ; @R592_TPC_EXEC_BIG_FIFO
	.comm	_R592_TPC_EXEC,4,2              ; @R592_TPC_EXEC
	.comm	_R592_STATUS_RDY,4,2            ; @R592_STATUS_RDY
	.comm	_R592_STATUS_CED,4,2            ; @R592_STATUS_CED
l_.str.4:                               ; @.str.4
	.asciz	"card didn't respond"

l_.str.5:                               ; @.str.5
	.asciz	"IO error"

	.comm	_R592_STATUS,4,2                ; @R592_STATUS
	.comm	_R592_STATUS_P_CMDNACK,4,2      ; @R592_STATUS_P_CMDNACK
	.comm	_MEMSTICK_INT_CMDNAK,4,2        ; @MEMSTICK_INT_CMDNAK
	.comm	_R592_STATUS_P_BREQ,4,2         ; @R592_STATUS_P_BREQ
	.comm	_MEMSTICK_INT_BREQ,4,2          ; @MEMSTICK_INT_BREQ
	.comm	_R592_STATUS_P_INTERR,4,2       ; @R592_STATUS_P_INTERR
	.comm	_MEMSTICK_INT_ERR,4,2           ; @MEMSTICK_INT_ERR
	.comm	_R592_STATUS_P_CED,4,2          ; @R592_STATUS_P_CED
	.comm	_MEMSTICK_INT_CED,4,2           ; @MEMSTICK_INT_CED
l_.str.6:                               ; @.str.6
	.asciz	"FIFO read error"

	.comm	_R592_REG_MSC_LED,4,2           ; @R592_REG_MSC_LED
	.no_dead_strip	_r592_execute_tpc
.subsections_via_symbols
