	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function applespi_setup_read_txfrs
_applespi_setup_read_txfrs:             ## @applespi_setup_read_txfrs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	32(%rdi), %r15
	leaq	20(%rdi), %r12
	leaq	8(%rdi), %r14
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	(%rbx), %eax
	movl	4(%rbx), %ecx
	movl	%ecx, 28(%rbx)
	movl	%eax, 12(%rbx)
	movq	_APPLESPI_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r15, %rdi
	callq	_spi_message_init
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_spi_message_add_tail
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spi_message_add_tail           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_APPLESPI_PACKET_SIZE,4,2       ## @APPLESPI_PACKET_SIZE
	.no_dead_strip	_applespi_setup_read_txfrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function applespi_setup_read_txfrs
_applespi_setup_read_txfrs:             ; @applespi_setup_read_txfrs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	x20, x0, #32
	add	x21, x0, #20
	add	x22, x0, #8
	mov	x0, x21
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	x0, x22
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldp	w9, w8, [x19]
	str	w8, [x19, #28]
Lloh0:
	adrp	x8, _APPLESPI_PACKET_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APPLESPI_PACKET_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #8]
	mov	x0, x20
	bl	_spi_message_init
	mov	x0, x21
	mov	x1, x20
	bl	_spi_message_add_tail
	mov	x0, x22
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spi_message_add_tail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_APPLESPI_PACKET_SIZE,4,2       ; @APPLESPI_PACKET_SIZE
	.no_dead_strip	_applespi_setup_read_txfrs
.subsections_via_symbols
