	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cx25821_i2c_write
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cx25821_i2c_write
	.p2align	4, 0x90
_cx25821_i2c_write:                     ## @cx25821_i2c_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$64, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	$6, -60(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -56(%rbp)
	movl	$0, -48(%rbp)
	movd	%esi, %xmm0
	sarl	$8, %esi
	movl	%esi, -32(%rbp)
	movl	%edx, %eax
	shrl	$24, %eax
	movl	%eax, -12(%rbp)
	movl	%edx, %eax
	pinsrd	$1, %edx, %xmm0
	shrl	$16, %eax
	shrl	$8, %edx
	pinsrd	$2, %edx, %xmm0
	pinsrd	$3, %eax, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, -28(%rbp)
	movq	$0, 8(%rdi)
	movl	$68, -64(%rbp)
	movl	4(%rdi), %edi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_xfer
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	addq	$64, %rsp
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cx25821_i2c_write
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
lCPI0_1:
	.long	68                              ; 0x44
	.long	6                               ; 0x6
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cx25821_i2c_write
	.p2align	2
_cx25821_i2c_write:                     ; @cx25821_i2c_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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]
	add	x8, sp, #32
	str	x8, [sp, #16]
	str	wzr, [sp, #24]
	asr	w8, w1, #8
	and	w9, w1, #0xff
	stp	w8, w9, [sp, #32]
	lsr	w8, w2, #24
	str	w8, [sp, #52]
	dup.2s	v0, w2
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d1, #0x0000ff000000ff
	and.8b	v0, v0, v1
	stur	d0, [sp, #44]
	and	w8, w2, #0xff
	str	w8, [sp, #40]
	str	xzr, [x0, #8]
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #8]
	ldr	w0, [x0, #4]
	add	x1, sp, #8
	mov	w2, #1
	bl	_i2c_xfer
	ldur	x8, [x29, #-8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
