	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_cros_ec_pkt_xfer_spi
_do_cros_ec_pkt_xfer_spi:               ## @do_cros_ec_pkt_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	$88, %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, -64(%rbp)                 ## 8-byte Spill
	callq	_cros_ec_prepare_tx
	movl	%eax, %r13d
	movl	(%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	%r13d, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_spi_bus_lock
	leaq	-48(%rbp), %rdi
	callq	_spi_message_init
	cmpq	$0, 16(%r15)
	je	LBB0_6
## %bb.5:
	leaq	-128(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	16(%r15), %rax
	movq	%rax, -104(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_spi_message_add_tail
LBB0_6:
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	16(%r12), %eax
	movl	%eax, -80(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -96(%rbp)
	movl	%r13d, -88(%rbp)
	movl	$1, -84(%rbp)
	leaq	-48(%rbp), %rbx
	movq	%r14, %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_7
## %bb.16:
	movl	%eax, %r14d
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	je	LBB0_18
## %bb.17:
	movl	(%r12), %edi
	movslq	%r14d, %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_18
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_38
LBB0_7:
	testl	%r13d, %r13d
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jle	LBB0_15
## %bb.8:
	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	%r13d, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r8,%rdi,8), %rbx
	cmpq	%rax, %rbx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rcx, %rbx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rdx, %rbx
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	incq	%rdi
	cmpq	%rdi, %rsi
	jne	LBB0_10
	jmp	LBB0_15
LBB0_13:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.14:
	negl	%r14d
	jmp	LBB0_18
LBB0_15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	addl	$8, %esi
	movq	%r12, %rdi
	callq	_cros_ec_spi_receive_packet
	movl	%eax, %r14d
LBB0_18:
	movq	%r12, %rdi
	callq	_terminate_request
	movl	%eax, %r13d
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_spi_bus_unlock
	testl	%r14d, %r14d
	cmovnel	%r14d, %r13d
	testl	%r13d, %r13d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	js	LBB0_36
## %bb.19:
	movq	8(%r12), %r14
	movl	4(%r14), %eax
	movl	%eax, 24(%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_cros_ec_check_result
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_36
## %bb.20:
	movl	(%r14), %r13d
	movl	(%r15), %ecx
	cmpl	%ecx, %r13d
	jle	LBB0_21
## %bb.39:
	movslq	%r13d, %rdx
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_21:
	movdqu	(%r14), %xmm0
	movdqu	16(%r14), %xmm1
	movdqu	32(%r14), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	48(%r14), %xmm0
	paddq	%xmm1, %xmm0
	paddq	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rbx
	movq	16(%r15), %rdi
	addq	$64, %r14
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	testl	%r13d, %r13d
	jle	LBB0_33
## %bb.22:
	movq	16(%r15), %rax
	cmpl	$4, %r13d
	jae	LBB0_24
## %bb.23:
	xorl	%ecx, %ecx
	jmp	LBB0_32
LBB0_24:
	movl	%r13d, %ecx
	andl	$-4, %ecx
	movq	%rbx, %xmm0
	leaq	-4(%rcx), %rsi
	movq	%rsi, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %edx
	andl	$3, %edx
	cmpq	$12, %rsi
	jae	LBB0_26
## %bb.25:
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	jmp	LBB0_28
LBB0_26:
	andq	$-4, %rdi
	pxor	%xmm1, %xmm1
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rsi,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	16(%rax,%rsi,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	32(%rax,%rsi,8), %xmm1
	movdqu	48(%rax,%rsi,8), %xmm3
	movdqu	64(%rax,%rsi,8), %xmm4
	paddq	%xmm1, %xmm4
	paddq	%xmm2, %xmm4
	movdqu	80(%rax,%rsi,8), %xmm2
	paddq	%xmm3, %xmm2
	paddq	%xmm0, %xmm2
	movdqu	96(%rax,%rsi,8), %xmm0
	paddq	%xmm4, %xmm0
	movdqu	112(%rax,%rsi,8), %xmm1
	paddq	%xmm2, %xmm1
	addq	$16, %rsi
	addq	$-4, %rdi
	jne	LBB0_27
LBB0_28:
	testq	%rdx, %rdx
	je	LBB0_31
## %bb.29:
	leaq	(%rax,%rsi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rsi,%rdi), %xmm2
	paddq	%xmm2, %xmm0
	movdqu	(%rsi,%rdi), %xmm2
	paddq	%xmm2, %xmm1
	addq	$32, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_30
LBB0_31:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rbx
	cmpq	%r13, %rcx
	je	LBB0_33
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	addq	(%rax,%rcx,8), %rbx
	incq	%rcx
	cmpq	%rcx, %r13
	jne	LBB0_32
LBB0_33:
	testq	%rbx, %rbx
	je	LBB0_36
## %bb.34:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EBADMSG@GOTPCREL(%rip), %rax
LBB0_35:
	subl	(%rax), %r13d
LBB0_36:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	movq	8(%r15), %rax
	movq	_EC_CMD_REBOOT_EC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.37:
	movq	_EC_REBOOT_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msleep
LBB0_38:
	movl	%r13d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	.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
L_.str.1:                               ## @.str.1
	.asciz	"spi transfer failed: %d\n"

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

	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
L_.str.3:                               ## @.str.3
	.asciz	"bad packet checksum, calculated %x\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_pkt_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_pkt_xfer_spi
_do_cros_ec_pkt_xfer_spi:               ; @do_cros_ec_pkt_xfer_spi
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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]
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_8
; %bb.3:
	mov	x21, x0
	ldr	x8, [x24, #8]
	ldr	w0, [x8]
	bl	_spi_bus_lock
	add	x0, sp, #8
	bl	_spi_message_init
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_5
; %bb.4:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x8, [x24, #16]
	str	x8, [sp, #40]
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_spi_message_add_tail
LBB0_5:
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w9, [x20, #16]
	str	x21, [sp, #48]
	mov	w8, #1
	str	w22, [sp, #56]
	stp	w8, w9, [sp, #60]
	add	x0, sp, #48
	add	x1, sp, #8
	bl	_spi_message_add_tail
	ldr	x0, [x24, #8]
	add	x1, sp, #8
	bl	_spi_sync_locked
	cbz	w0, LBB0_9
; %bb.6:
	mov	x23, x0
Lloh8:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_16
; %bb.7:
	ldr	w0, [x20]
	sxtw	x2, w23
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_16
LBB0_8:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_33
LBB0_9:
	cmp	w22, #1
	b.lt	LBB0_15
; %bb.10:
Lloh16:
	adrp	x8, _EC_SPI_PAST_END@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EC_SPI_PAST_END@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x9, _EC_SPI_RX_BAD_DATA@GOTPAGE
Lloh20:
	ldr	x9, [x9, _EC_SPI_RX_BAD_DATA@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, _EC_SPI_NOT_READY@GOTPAGE
Lloh23:
	ldr	x10, [x10, _EC_SPI_NOT_READY@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	mov	w11, w22
	mov	x12, x21
LBB0_11:                                ; =>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_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x12, x12, #8
	subs	x11, x11, #1
	b.ne	LBB0_11
	b	LBB0_15
LBB0_13:
Lloh25:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.14:
	neg	w23, w8
	b	LBB0_16
LBB0_15:
	ldr	w8, [x19]
	add	w1, w8, #8
	mov	x0, x20
	bl	_cros_ec_spi_receive_packet
	mov	x23, x0
LBB0_16:
	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_31
; %bb.17:
	ldr	x24, [x20, #8]
	ldr	w8, [x24, #4]
	str	w8, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_cros_ec_check_result
	mov	x22, x0
	cbnz	w0, LBB0_31
; %bb.18:
	ldr	w22, [x24]
	ldr	w8, [x19]
	cmp	w22, w8
	b.le	LBB0_20
; %bb.19:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x2, w22
	ldr	w0, [x20]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh30:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_30
LBB0_20:
	ldp	x8, x9, [x24]
	ldp	x10, x11, [x24, #16]
	add	x8, x9, x8
	add	x8, x10, x8
	ldp	x9, x10, [x24, #32]
	add	x8, x11, x8
	add	x8, x9, x8
	ldp	x9, x11, [x24, #48]
	add	x8, x10, x8
	add	x8, x9, x8
	add	x23, x11, x8
	ldr	x0, [x19, #16]
	add	x1, x24, #64
	mov	x2, x22
	bl	_memcpy
	cmp	w22, #0
	b.le	LBB0_28
; %bb.21:
	ldr	x8, [x19, #16]
	cmp	w22, #8
	b.hs	LBB0_23
; %bb.22:
	mov	x9, #0
	b	LBB0_26
LBB0_23:
	and	x9, x22, #0xfffffff8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x23
	add	x10, x8, #32
	mov	x11, x9
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x10, #-32]
	ldp	q6, q7, [x10], #64
	add.2d	v1, v4, v1
	add.2d	v0, v5, v0
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	subs	x11, x11, #8
	b.ne	LBB0_24
; %bb.25:
	add.2d	v0, v0, v1
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x23, d0
	cmp	x9, x22
	b.eq	LBB0_28
LBB0_26:
	add	x8, x8, x9, lsl #3
	sub	x9, x22, x9
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #8
	add	x23, x10, x23
	subs	x9, x9, #1
	b.ne	LBB0_27
LBB0_28:
	cbz	x23, LBB0_31
; %bb.29:
	ldr	w0, [x20]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x23
	bl	_dev_err
Lloh34:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
LBB0_30:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_31:
	mov	x0, x21
	bl	_kfree
	ldr	x8, [x19, #8]
Lloh36:
	adrp	x9, _EC_CMD_REBOOT_EC@GOTPAGE
Lloh37:
	ldr	x9, [x9, _EC_CMD_REBOOT_EC@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
Lloh39:
	adrp	x8, _EC_REBOOT_DELAY_MS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EC_REBOOT_DELAY_MS@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_msleep
LBB0_33:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.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
	.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
l_.str.1:                               ; @.str.1
	.asciz	"spi transfer failed: %d\n"

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

	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
l_.str.3:                               ; @.str.3
	.asciz	"bad packet checksum, calculated %x\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_pkt_xfer_spi
.subsections_via_symbols
