	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Write16
_Write16:                               ## @Write16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, -16(%rbp)
	movl	4(%rdi), %r8d
	movzbl	%bl, %eax
	movl	%eax, -48(%rbp)
	movl	%ebx, %eax
	movzbl	%bh, %esi
	shrl	$16, %ebx
	movzbl	%bl, %ebx
	movl	%ebx, -44(%rbp)
	shrl	$24, %eax
	orl	%ecx, %eax
	movl	%eax, -40(%rbp)
	movl	%esi, -36(%rbp)
	movzbl	%dl, %eax
	movl	%eax, -32(%rbp)
	movzbl	%dh, %eax
	movl	%eax, -28(%rbp)
	movl	(%rdi), %edi
	leaq	-48(%rbp), %rdx
	movl	%r8d, %esi
	movl	$6, %ecx
	callq	_i2c_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	sarq	$63, %rax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Write16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Write16
_Write16:                               ; @Write16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	and	w8, w1, #0xff
	ubfx	w9, w1, #16, #8
	stp	w8, w9, [sp]
	orr	w8, w3, w1, lsr #24
	ubfx	w9, w1, #8, #8
	stp	w8, w9, [sp, #8]
	and	w8, w2, #0xff
	ubfx	w9, w2, #8, #8
	stp	w8, w9, [sp, #16]
	ldp	w0, w1, [x0]
	mov	x2, sp
	mov	w3, #6
	bl	_i2c_write
	ldur	x8, [x29, #-8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	asr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Write16
.subsections_via_symbols
