	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpl115_spi_write
_mpl115_spi_write:                      ## @mpl115_spi_write
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	callq	_to_spi_device
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_spi_get_drvdata
	movq	%rax, %rbx
	movl	$2, -48(%rbp)
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	%r15d, %edi
	callq	_MPL115_SPI_WRITE
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, 4(%rcx)
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_spi_sync_transfer
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mpl115_spi_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpl115_spi_write
_mpl115_spi_write:                      ; @mpl115_spi_write
	.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, x2
	mov	x20, x1
	bl	_to_spi_device
	mov	x21, x0
	bl	_spi_get_drvdata
	mov	x22, x0
	mov	w8, #2
	str	w8, [sp]
	ldr	x8, [x0]
	str	x8, [sp, #8]
	mov	x0, x20
	bl	_MPL115_SPI_WRITE
	ldr	x8, [x22]
	stp	w0, w19, [x8]
	mov	x1, sp
	mov	x0, x21
	mov	w2, #1
	bl	_spi_sync_transfer
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mpl115_spi_write
.subsections_via_symbols
