	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lg4573_spi_write_u16
_lg4573_spi_write_u16:                  ## @lg4573_spi_write_u16
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	$2, -40(%rbp)
	movl	%esi, %edi
	callq	_cpu_to_be16
	movl	%eax, -20(%rbp)
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_dbg
	leaq	-20(%rbp), %rax
	movq	%rax, -32(%rbp)
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_spi_message_init
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_spi_message_add_tail
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_spi_sync
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"writing data: %x\n"

	.no_dead_strip	_lg4573_spi_write_u16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lg4573_spi_write_u16
_lg4573_spi_write_u16:                  ; @lg4573_spi_write_u16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	mov	x20, x0
	mov	w8, #2
	str	x8, [sp, #16]
	mov	x0, x1
	bl	_cpu_to_be16
	str	w0, [sp, #12]
	ldr	w0, [x20, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	add	x8, sp, #12
	str	x8, [sp, #24]
	add	x0, sp, #8
	bl	_spi_message_init
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_spi_message_add_tail
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_spi_sync
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 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	"writing data: %x\n"

	.no_dead_strip	_lg4573_spi_write_u16
.subsections_via_symbols
