	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wilco_ec_prepare
_wilco_ec_prepare:                      ## @wilco_ec_prepare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_EC_MAILBOX_PROTO_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 20(%rbx)
	movq	_EC_MAILBOX_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_wilco_ec_checksum
	movq	%rax, 8(%rbx)
	movq	8(%r14), %rdi
	movl	(%r14), %esi
	callq	_wilco_ec_checksum
	addq	8(%rbx), %rax
	negq	%rax
	movq	%rax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_MAILBOX_PROTO_VERSION,4,2   ## @EC_MAILBOX_PROTO_VERSION
	.comm	_EC_MAILBOX_VERSION,4,2         ## @EC_MAILBOX_VERSION
	.no_dead_strip	_wilco_ec_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wilco_ec_prepare
_wilco_ec_prepare:                      ; @wilco_ec_prepare
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _EC_MAILBOX_PROTO_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_MAILBOX_PROTO_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh3:
	adrp	x8, _EC_MAILBOX_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EC_MAILBOX_VERSION@GOTPAGEOFF]
	ldr	w9, [x20, #16]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #16]
	ldr	w8, [x20]
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #32
	bl	_wilco_ec_checksum
	str	x0, [x19, #8]
	ldr	x0, [x20, #8]
	ldr	w1, [x20]
	bl	_wilco_ec_checksum
	ldr	x8, [x19, #8]
	add	x8, x0, x8
	neg	x8, x8
	str	x8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_MAILBOX_PROTO_VERSION,4,2   ; @EC_MAILBOX_PROTO_VERSION
	.comm	_EC_MAILBOX_VERSION,4,2         ; @EC_MAILBOX_VERSION
	.no_dead_strip	_wilco_ec_prepare
.subsections_via_symbols
