	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function terminate_request
_terminate_request:                     ## @terminate_request
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_spi_message_init
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	8(%r12), %eax
	movl	%eax, -40(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_spi_message_add_tail
	movl	4(%r12), %edi
	movq	%rbx, %rsi
	callq	_spi_sync_locked
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_ktime_get_ns
	movl	%eax, (%r12)
	testl	%ebx, %ebx
	jns	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_2:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cs-deassert spi transfer failed: %d\n"

	.no_dead_strip	_terminate_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function terminate_request
_terminate_request:                     ; @terminate_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0, #8]
	add	x0, sp, #8
	bl	_spi_message_init
	mov	x0, sp
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [x21, #8]
	str	w8, [sp]
	mov	x0, sp
	add	x1, sp, #8
	bl	_spi_message_add_tail
	ldr	w0, [x21, #4]
	add	x1, sp, #8
	bl	_spi_sync_locked
	mov	x20, x0
	bl	_ktime_get_ns
	str	w0, [x21]
	tbz	w20, #31, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cs-deassert spi transfer failed: %d\n"

	.no_dead_strip	_terminate_request
.subsections_via_symbols
