	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_cros_ec_cmd_xfer_spi
_do_cros_ec_cmd_xfer_spi:               ## @do_cros_ec_cmd_xfer_spi
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	24(%rdi), %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_cros_ec_prepare_tx
	movl	%eax, %r14d
	movl	8(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_dbg
	xorl	%eax, %eax
	callq	_ktime_get_ns
	subq	(%r15), %rax
	movq	_EC_SPI_RECOVERY_TIME_NS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	subq	%rax, %rdi
	jbe	LBB0_2
## %bb.1:
	callq	_ndelay
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	8(%r15), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rbx
	callq	_spi_bus_lock
	movl	8(%r12), %edi
	movq	(%r12), %rdx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	callq	_debug_packet
	leaq	-88(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%r12), %rax
	movq	%rax, -88(%rbp)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)
	movl	%r14d, -72(%rbp)
	movl	$1, -68(%rbp)
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_spi_message_init
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_spi_message_add_tail
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	_spi_sync_locked
	testl	%eax, %eax
	je	LBB0_5
## %bb.14:
	movl	%eax, %ebx
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_16
## %bb.15:
	movl	8(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_36
LBB0_5:
	testl	%r14d, %r14d
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	jle	LBB0_13
## %bb.6:
	movq	_EC_SPI_PAST_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EC_SPI_RX_BAD_DATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_EC_SPI_NOT_READY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%r14d, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8,%rdi,8), %rbx
	cmpq	%rax, %rbx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rcx, %rbx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rdx, %rbx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdi
	cmpq	%rdi, %rsi
	jne	LBB0_8
	jmp	LBB0_13
LBB0_11:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.12:
	negl	%ebx
	jmp	LBB0_16
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rsi
	movq	_EC_MSG_TX_PROTO_BYTES@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_cros_ec_spi_receive_response
	movl	%eax, %ebx
LBB0_16:
	movq	%r12, %rdi
	callq	_terminate_request
	movl	%eax, %r14d
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_spi_bus_unlock
	testl	%ebx, %ebx
	cmovnel	%ebx, %r14d
	testl	%r14d, %r14d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	js	LBB0_34
## %bb.17:
	movq	16(%r12), %r13
	movq	(%r13), %rax
	movq	%rax, 24(%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_cros_ec_check_result
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_34
## %bb.18:
	movq	8(%r13), %r14
	movl	(%r15), %ecx
	cmpl	%r14d, %ecx
	jge	LBB0_20
## %bb.19:
	movl	8(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r14d
	jmp	LBB0_34
LBB0_20:
	movq	(%r13), %rax
	addq	%r14, %rax
	testl	%r14d, %r14d
	jle	LBB0_32
## %bb.21:
	movl	%r14d, %edi
	movl	%r14d, %r8d
	andl	$1, %r8d
	cmpq	$1, %rdi
	jne	LBB0_23
## %bb.22:
	xorl	%edx, %edx
LBB0_29:
	testq	%r8, %r8
	je	LBB0_32
## %bb.30:
	movq	16(%r13,%rdx,8), %rsi
	cltq
	addq	%rsi, %rax
	testl	%ecx, %ecx
	je	LBB0_32
## %bb.31:
	movq	16(%r15), %rcx
	movq	%rsi, (%rcx,%rdx,8)
LBB0_32:
	movzbl	%al, %ebx
	movl	8(%r12), %edi
	leal	3(%r14), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdx
	callq	_debug_packet
	movq	%r14, %rax
	shlq	$32, %rax
	movabsq	$8589934592, %rcx               ## imm = 0x200000000
	addq	%rax, %rcx
	sarq	$29, %rcx
	movq	(%r13,%rcx), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_34
## %bb.33:
	movl	8(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EBADMSG@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_34:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	movq	8(%r15), %rax
	movq	_EC_CMD_REBOOT_EC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.35:
	movq	_EC_REBOOT_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
LBB0_36:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	subq	%r8, %rdi
	xorl	%edx, %edx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_24 Depth=1
	movslq	%ebx, %rsi
	addq	%rsi, %rax
	addq	$2, %rdx
	cmpq	%rdx, %rdi
	je	LBB0_29
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13,%rdx,8), %rbx
	testl	%ecx, %ecx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	16(%r15), %rsi
	movq	%rbx, (%rsi,%rdx,8)
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	addq	%rax, %rbx
	movq	24(%r13,%rdx,8), %rax
	testl	%ecx, %ecx
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	16(%r15), %rsi
	movq	%rax, 8(%rsi,%rdx,8)
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prepared, len=%d\n"

	.comm	_EC_SPI_RECOVERY_TIME_NS,8,3    ## @EC_SPI_RECOVERY_TIME_NS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"out"

	.comm	_EC_SPI_PAST_END,8,3            ## @EC_SPI_PAST_END
	.comm	_EC_SPI_RX_BAD_DATA,8,3         ## @EC_SPI_RX_BAD_DATA
	.comm	_EC_SPI_NOT_READY,8,3           ## @EC_SPI_NOT_READY
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EC_MSG_TX_PROTO_BYTES,8,3      ## @EC_MSG_TX_PROTO_BYTES
L_.str.2:                               ## @.str.2
	.asciz	"spi transfer failed: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"packet too long (%d bytes, expected %d)"

	.comm	_ENOSPC,4,2                     ## @ENOSPC
L_.str.4:                               ## @.str.4
	.asciz	"in"

L_.str.5:                               ## @.str.5
	.asciz	"bad packet checksum, expected %02x, got %02x\n"

	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.comm	_EC_CMD_REBOOT_EC,8,3           ## @EC_CMD_REBOOT_EC
	.comm	_EC_REBOOT_DELAY_MS,4,2         ## @EC_REBOOT_DELAY_MS
	.no_dead_strip	_do_cros_ec_cmd_xfer_spi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_cros_ec_cmd_xfer_spi
_do_cros_ec_cmd_xfer_spi:               ; @do_cros_ec_cmd_xfer_spi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x1
	mov	x20, x0
	ldr	x24, [x0, #24]
	bl	_cros_ec_prepare_tx
	mov	x22, x0
	ldr	w0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_dbg
	bl	_ktime_get_ns
	ldr	x8, [x24]
Lloh2:
	adrp	x9, _EC_SPI_RECOVERY_TIME_NS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EC_SPI_RECOVERY_TIME_NS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	sub	x8, x0, x8
	subs	x0, x9, x8
	b.ls	LBB0_2
; %bb.1:
	bl	_ndelay
LBB0_2:
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	ldr	x8, [x24, #8]
	ldr	w0, [x8]
	bl	_spi_bus_lock
	ldr	w0, [x20, #8]
	ldr	x2, [x20]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x22
	bl	_debug_packet
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [x20]
	stp	x8, x21, [sp, #24]
	mov	w8, #1
	stp	w22, w8, [sp, #40]
	add	x0, sp, #16
	bl	_spi_message_init
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_spi_message_add_tail
	ldr	x0, [x24, #8]
	add	x1, sp, #16
	bl	_spi_sync_locked
	cbz	w0, LBB0_7
; %bb.4:
	mov	x23, x0
Lloh10:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_14
; %bb.5:
	ldr	w0, [x20, #8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x23
	bl	_dev_err
	b	LBB0_14
LBB0_6:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_28
LBB0_7:
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.8:
Lloh18:
	adrp	x8, _EC_SPI_PAST_END@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EC_SPI_PAST_END@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _EC_SPI_RX_BAD_DATA@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EC_SPI_RX_BAD_DATA@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x10, _EC_SPI_NOT_READY@GOTPAGE
Lloh25:
	ldr	x10, [x10, _EC_SPI_NOT_READY@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	mov	w11, w22
	mov	x12, x21
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12]
	cmp	x13, x8
	ccmp	x13, x9, #4, ne
	ccmp	x13, x10, #4, ne
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x12, x12, #8
	subs	x11, x11, #1
	b.ne	LBB0_9
	b	LBB0_13
LBB0_11:
Lloh27:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.12:
	neg	w23, w8
	b	LBB0_14
LBB0_13:
	ldrsw	x8, [x19]
Lloh30:
	adrp	x9, _EC_MSG_TX_PROTO_BYTES@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EC_MSG_TX_PROTO_BYTES@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_cros_ec_spi_receive_response
	mov	x23, x0
LBB0_14:
	mov	x0, x20
	bl	_terminate_request
	mov	x22, x0
	ldr	x8, [x24, #8]
	ldr	w0, [x8]
	bl	_spi_bus_unlock
	cmp	w23, #0
	csel	w22, w22, w23, eq
	tbnz	w22, #31, LBB0_26
; %bb.15:
	ldr	x23, [x20, #16]
	ldr	x8, [x23]
	str	x8, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_cros_ec_check_result
	mov	x22, x0
	cbnz	w0, LBB0_26
; %bb.16:
	ldr	x22, [x23, #8]
	ldr	w8, [x19]
	cmp	w8, w22
	b.ge	LBB0_18
; %bb.17:
	ldr	w0, [x20, #8]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x22
	bl	_dev_err
Lloh35:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_25
LBB0_18:
	ldr	x9, [x23]
	add	x9, x9, x22
	cmp	w22, #1
	b.lt	LBB0_23
; %bb.19:
	mov	x10, #0
	and	x12, x22, #0xffffffff
	add	x11, x23, #16
	lsl	x12, x12, #3
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x9, x13, w9, sxtw
	add	x10, x10, #8
	cmp	x12, x10
	b.eq	LBB0_23
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11, x10]
	cbz	w8, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x14, [x19, #16]
	str	x13, [x14, x10]
	b	LBB0_20
LBB0_23:
	and	w24, w9, #0xff
	ldr	w0, [x20, #8]
	add	w3, w22, #3
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x23
	bl	_debug_packet
	mov	x8, #8589934592
	add	x8, x8, x22, lsl #32
	asr	x8, x8, #29
	ldr	x8, [x23, x8]
	cmp	x8, x24
	b.eq	LBB0_26
; %bb.24:
	ldr	w0, [x20, #8]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x24
	bl	_dev_err
Lloh41:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
LBB0_25:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_26:
	mov	x0, x21
	bl	_kfree
	ldr	x8, [x19, #8]
Lloh43:
	adrp	x9, _EC_CMD_REBOOT_EC@GOTPAGE
Lloh44:
	ldr	x9, [x9, _EC_CMD_REBOOT_EC@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.27:
Lloh46:
	adrp	x8, _EC_REBOOT_DELAY_MS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EC_REBOOT_DELAY_MS@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_msleep
LBB0_28:
	mov	x0, x22
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prepared, len=%d\n"

	.comm	_EC_SPI_RECOVERY_TIME_NS,8,3    ; @EC_SPI_RECOVERY_TIME_NS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"out"

	.comm	_EC_SPI_PAST_END,8,3            ; @EC_SPI_PAST_END
	.comm	_EC_SPI_RX_BAD_DATA,8,3         ; @EC_SPI_RX_BAD_DATA
	.comm	_EC_SPI_NOT_READY,8,3           ; @EC_SPI_NOT_READY
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EC_MSG_TX_PROTO_BYTES,8,3      ; @EC_MSG_TX_PROTO_BYTES
l_.str.2:                               ; @.str.2
	.asciz	"spi transfer failed: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"packet too long (%d bytes, expected %d)"

	.comm	_ENOSPC,4,2                     ; @ENOSPC
l_.str.4:                               ; @.str.4
	.asciz	"in"

l_.str.5:                               ; @.str.5
	.asciz	"bad packet checksum, expected %02x, got %02x\n"

	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.comm	_EC_CMD_REBOOT_EC,8,3           ; @EC_CMD_REBOOT_EC
	.comm	_EC_REBOOT_DELAY_MS,4,2         ; @EC_REBOOT_DELAY_MS
	.no_dead_strip	_do_cros_ec_cmd_xfer_spi
.subsections_via_symbols
