	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_write_i2c_master       ## -- Begin function cx231xx_write_i2c_master
	.p2align	4, 0x90
_cx231xx_write_i2c_master:              ## @cx231xx_write_i2c_master
	.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	%rdi, %r10
	movl	16(%rbp), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	%r8d, -32(%rbp)
	movl	%r8d, %eax
	sarl	$8, %eax
	movl	%eax, -28(%rbp)
	movl	%r8d, %eax
	sarl	$16, %eax
	movl	%eax, -24(%rbp)
	sarl	$24, %r8d
	movl	%r8d, -20(%rbp)
	movl	%ecx, %eax
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.2:
	movzbl	%dl, %eax
	jmp	LBB0_4
LBB0_3:
	movl	%edx, %eax
LBB0_4:
	sarl	%esi
	movl	%esi, -64(%rbp)
	movq	$0, -40(%rbp)
	movl	%ecx, -60(%rbp)
	movl	%eax, -56(%rbp)
	movl	%r9d, -52(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -48(%rbp)
	cmpl	$2, %edi
	je	LBB0_9
## %bb.5:
	cmpl	$1, %edi
	je	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	testl	%edi, %edi
	jne	LBB0_11
## %bb.7:
	movq	8(%r10), %rdi
	jmp	LBB0_10
LBB0_9:
	movq	8(%r10), %rdi
	addq	$8, %rdi
	jmp	LBB0_10
LBB0_8:
	movq	8(%r10), %rdi
	addq	$4, %rdi
LBB0_10:
	leaq	-64(%rbp), %rsi
	callq	*(%r10)
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$64, %rsp
	popq	%rbp
	retq
LBB0_13:
	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 cx231xx_write_i2c_master
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cx231xx_write_i2c_master
	.p2align	2
_cx231xx_write_i2c_master:              ; @cx231xx_write_i2c_master
	.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]
	stur	w4, [x29, #-24]
	dup.2s	v0, w4
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	stur	d0, [x29, #-20]
	asr	w8, w4, #24
	stur	w8, [x29, #-12]
	and	w8, w2, #0xff
	asr	w9, w1, #1
	stp	w9, w3, [sp, #8]
	cmp	w3, #1
	csel	w8, w2, w8, ne
	cmp	w3, #0
	csel	w8, w3, w8, eq
	stp	w8, w5, [sp, #16]
	sub	x8, x29, #24
	stp	x8, xzr, [sp, #24]
	cmp	w6, #2
	b.eq	LBB0_4
; %bb.1:
	cmp	w6, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w6, LBB0_7
; %bb.3:
	ldp	x8, x0, [x0]
	b	LBB0_6
LBB0_4:
	ldp	x8, x9, [x0]
	add	x0, x9, #8
	b	LBB0_6
LBB0_5:
	ldp	x8, x9, [x0]
	add	x0, x9, #4
LBB0_6:
	add	x1, sp, #8
	blr	x8
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-8]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
