	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_ibuf
_i2c_ibuf:                              ## @i2c_ibuf
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movl	%edx, %ecx
	movq	%rdi, %r8
	xorl	%edx, %edx
	movl	$1, %ebx
	movl	$0, %eax
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	$0, %edi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.3:
	movb	(%r8), %dl
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.5:
	movb	$-1, %al
	movb	$1, %dil
	cmpb	$-128, %dl
	ja	LBB0_21
## %bb.6:
	jne	LBB0_7
## %bb.8:
	xorl	%edi, %edi
	cmpq	$2, %rsi
	jb	LBB0_20
## %bb.9:
	leaq	-1(%rsi), %rdx
	movl	$1, %ecx
	cmpq	$8, %rdx
	jb	LBB0_18
## %bb.10:
	movq	%rdx, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rax
	movq	%rax, %rbx
	shrq	$3, %rbx
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rbx, %rax
	andq	$-2, %rax
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	pmovzxbd	(%r8,%rdi), %xmm2               ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	por	%xmm0, %xmm2
	pmovzxbd	4(%r8,%rdi), %xmm3              ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	por	%xmm1, %xmm3
	pmovzxbd	8(%r8,%rdi), %xmm0              ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	12(%r8,%rdi), %xmm1             ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	por	%xmm2, %xmm0
	por	%xmm3, %xmm1
	addq	$16, %rdi
	addq	$-2, %rax
	jne	LBB0_13
	jmp	LBB0_14
LBB0_1:
	xorl	%edi, %edi
	jmp	LBB0_22
LBB0_4:
	shrb	$7, %dl
	xorl	%eax, %eax
	movl	%edx, %edi
	jmp	LBB0_21
LBB0_7:
	xorl	%edi, %edi
	jmp	LBB0_21
LBB0_11:
	pxor	%xmm0, %xmm0
	movl	$1, %edi
	pxor	%xmm1, %xmm1
LBB0_14:
	testb	$1, %bl
	je	LBB0_16
## %bb.15:
	pmovzxbd	(%r8,%rdi), %xmm2               ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	por	%xmm2, %xmm0
	pmovzxbd	4(%r8,%rdi), %xmm2              ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	por	%xmm2, %xmm1
LBB0_16:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %edi
	cmpq	%rcx, %rdx
	je	LBB0_19
## %bb.17:
	orq	$1, %rcx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r8,%rcx), %eax
	orl	%eax, %edi
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_18
LBB0_19:
	testl	%edi, %edi
	setne	%dil
LBB0_20:
	movl	%edi, %eax
	negb	%al
LBB0_21:
	movzbl	%dil, %edi
	leaq	(%rdi,%rsi), %rbx
	movq	%rsi, %rdx
LBB0_22:
	testq	%r14, %r14
	je	LBB0_25
## %bb.23:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.24:
	movb	%al, (%rcx)
	addq	%rcx, %rdi
	movzbl	%al, %ecx
	movq	%r8, %rsi
	callq	_twos_complement
	addq	%rbx, (%r14)
LBB0_25:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_i2c_ibuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function i2c_ibuf
lCPI0_0:
	.byte	12                              ; 0xc
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	13                              ; 0xd
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	14                              ; 0xe
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	15                              ; 0xf
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_1:
	.byte	0                               ; 0x0
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	1                               ; 0x1
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	2                               ; 0x2
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	3                               ; 0x3
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_2:
	.byte	4                               ; 0x4
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	5                               ; 0x5
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	6                               ; 0x6
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	7                               ; 0x7
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_3:
	.byte	8                               ; 0x8
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	9                               ; 0x9
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	10                              ; 0xa
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	11                              ; 0xb
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_i2c_ibuf:                              ; @i2c_ibuf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x9, x2
	mov	x8, x0
	mov	w10, #0
	mov	x2, #0
	mov	w20, #1
	mov	x11, #0
	cbz	x0, LBB0_27
; %bb.1:
	cbz	x1, LBB0_27
; %bb.2:
	ldrsb	w10, [x8]
	cmp	w10, #0
	cset	w11, lt
	cbz	w9, LBB0_5
; %bb.3:
	and	w9, w10, #0xff
	cmp	w9, #128
	b.ls	LBB0_6
; %bb.4:
	mov	w10, #255
	mov	w11, #1
	b	LBB0_26
LBB0_5:
	mov	w10, #0
	b	LBB0_26
LBB0_6:
	cmp	w9, #128
	b.ne	LBB0_10
; %bb.7:
	cmp	x1, #2
	b.lo	LBB0_11
; %bb.8:
	sub	x9, x1, #1
	cmp	x9, #8
	b.hs	LBB0_12
; %bb.9:
	mov	w13, #0
	mov	w14, #1
	b	LBB0_22
LBB0_10:
	mov	w11, #0
	mov	w10, #255
	b	LBB0_26
LBB0_11:
	mov	w11, #0
	b	LBB0_25
LBB0_12:
	adrp	x10, lCPI0_1@PAGE
	adrp	x11, lCPI0_2@PAGE
	cmp	x9, #64
	b.hs	LBB0_14
; %bb.13:
	mov	w13, #0
	mov	x12, #0
	b	LBB0_18
LBB0_14:
	movi.2d	v0, #0000000000000000
	and	x12, x9, #0xffffffffffffffc0
	movi.2d	v2, #0000000000000000
	add	x13, x8, #33
	movi.2d	v1, #0000000000000000
	movi.2d	v3, #0000000000000000
Lloh0:
	adrp	x14, lCPI0_0@PAGE
Lloh1:
	ldr	q18, [x14, lCPI0_0@PAGEOFF]
	ldr	q21, [x10, lCPI0_1@PAGEOFF]
	ldr	q23, [x11, lCPI0_2@PAGEOFF]
	movi.2d	v6, #0000000000000000
	movi.2d	v22, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v24, #0000000000000000
Lloh2:
	adrp	x14, lCPI0_3@PAGE
Lloh3:
	ldr	q27, [x14, lCPI0_3@PAGEOFF]
	movi.2d	v16, #0000000000000000
	mov	x14, x12
	movi.2d	v4, #0000000000000000
	movi.2d	v25, #0000000000000000
	movi.2d	v19, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v20, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v26, #0000000000000000
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q28, q29, [x13, #-32]
	tbl.16b	v30, { v28 }, v27
	orr.16b	v1, v1, v30
	tbl.16b	v30, { v28 }, v23
	orr.16b	v2, v2, v30
	tbl.16b	v30, { v28 }, v18
	tbl.16b	v28, { v28 }, v21
	orr.16b	v0, v0, v28
	tbl.16b	v28, { v29 }, v21
	orr.16b	v3, v3, v30
	tbl.16b	v30, { v29 }, v27
	orr.16b	v7, v7, v30
	tbl.16b	v30, { v29 }, v23
	orr.16b	v22, v22, v30
	orr.16b	v6, v6, v28
	ldp	q28, q30, [x13], #64
	tbl.16b	v29, { v29 }, v18
	orr.16b	v24, v24, v29
	tbl.16b	v29, { v28 }, v27
	orr.16b	v25, v25, v29
	tbl.16b	v29, { v28 }, v23
	orr.16b	v4, v4, v29
	tbl.16b	v29, { v28 }, v21
	orr.16b	v16, v16, v29
	tbl.16b	v28, { v28 }, v18
	orr.16b	v19, v19, v28
	tbl.16b	v28, { v30 }, v27
	orr.16b	v17, v17, v28
	tbl.16b	v28, { v30 }, v23
	orr.16b	v20, v20, v28
	tbl.16b	v28, { v30 }, v21
	orr.16b	v5, v5, v28
	tbl.16b	v28, { v30 }, v18
	orr.16b	v26, v26, v28
	subs	x14, x14, #64
	b.ne	LBB0_15
; %bb.16:
	orr.16b	v2, v22, v2
	orr.16b	v3, v24, v3
	orr.16b	v0, v6, v0
	orr.16b	v1, v7, v1
	orr.16b	v1, v25, v1
	orr.16b	v0, v16, v0
	orr.16b	v3, v19, v3
	orr.16b	v2, v4, v2
	orr.16b	v2, v20, v2
	orr.16b	v3, v26, v3
	orr.16b	v0, v5, v0
	orr.16b	v1, v17, v1
	orr.16b	v0, v0, v1
	orr.16b	v1, v2, v3
	orr.16b	v0, v0, v1
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w13, v0[1]
	fmov	w14, s0
	orr	w13, w14, w13
	cmp	x9, x12
	b.eq	LBB0_24
; %bb.17:
	tst	x9, #0x38
	b.eq	LBB0_21
LBB0_18:
	and	x15, x9, #0xfffffffffffffff8
	orr	x14, x15, #0x1
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w13
	movi.2d	v1, #0000000000000000
	add	x13, x12, x8
	add	x13, x13, #1
	sub	x12, x12, x15
	ldr	q2, [x10, lCPI0_1@PAGEOFF]
	ldr	q3, [x11, lCPI0_2@PAGEOFF]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	d4, [x13], #8
	tbl.16b	v5, { v4 }, v2
	tbl.16b	v4, { v4 }, v3
	orr.16b	v1, v1, v4
	orr.16b	v0, v0, v5
	adds	x12, x12, #8
	b.ne	LBB0_19
; %bb.20:
	orr.16b	v0, v0, v1
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w10, v0[1]
	fmov	w11, s0
	orr	w13, w11, w10
	cmp	x9, x15
	b.ne	LBB0_22
	b	LBB0_24
LBB0_21:
	orr	x14, x12, #0x1
LBB0_22:
	sub	x9, x1, x14
	add	x10, x8, x14
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10], #1
	orr	w13, w13, w11
	subs	x9, x9, #1
	b.ne	LBB0_23
LBB0_24:
	cmp	w13, #0
	cset	w11, ne
LBB0_25:
	sbfx	w10, w11, #0, #1
LBB0_26:
	mov	w11, w11
	add	x20, x11, x1
	mov	x2, x1
LBB0_27:
	cbz	x19, LBB0_30
; %bb.28:
	ldr	x9, [x19]
	cbz	x9, LBB0_30
; %bb.29:
	strb	w10, [x9]
	add	x0, x9, x11
	and	w3, w10, #0xff
	mov	x1, x8
	bl	_twos_complement
	ldr	x8, [x19]
	add	x8, x8, x20
	str	x8, [x19]
LBB0_30:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_i2c_ibuf
.subsections_via_symbols
