	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_slave_eeprom_slave_cb
_i2c_slave_eeprom_slave_cb:             ## @i2c_slave_eeprom_slave_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	callq	_i2c_get_clientdata
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_13
## %bb.1:
	movq	%rax, %r15
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_12:
	movl	$0, 24(%r15)
	jmp	LBB0_13
LBB0_2:
	movl	24(%r15), %eax
	cmpl	36(%r15), %eax
	jge	LBB0_7
## %bb.3:
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	(%r15), %ecx
	shll	$8, %ecx
	jmp	LBB0_6
LBB0_9:
	incl	(%r15)
LBB0_10:
	movq	%r15, %rbx
	addq	$28, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	andq	16(%r15), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%r14)
LBB0_11:
	movq	%rbx, %rdi
	callq	_spin_unlock
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpl	$0, 32(%r15)
	jne	LBB0_13
## %bb.8:
	movq	%r15, %rbx
	addq	$28, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movl	(%r14), %eax
	movq	8(%r15), %rcx
	movslq	(%r15), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%r15)
	andq	16(%r15), %rdx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_11
LBB0_5:
	movl	$0, (%r15)
	xorl	%ecx, %ecx
LBB0_6:
	orl	(%r14), %ecx
	movl	%ecx, (%r15)
	incl	%eax
	movl	%eax, 24(%r15)
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_i2c_slave_eeprom_slave_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_slave_eeprom_slave_cb
_i2c_slave_eeprom_slave_cb:             ; @i2c_slave_eeprom_slave_cb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	bl	_i2c_get_clientdata
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	str	wzr, [x19, #24]
	b	LBB0_9
LBB0_3:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #36]
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.4:
	cbz	w8, LBB0_12
; %bb.5:
	ldr	w9, [x19]
	lsl	w9, w9, #8
	b	LBB0_13
LBB0_6:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_7:
	add	x21, x19, #28
	mov	x0, x21
	bl	_spin_lock
	ldrsw	x8, [x19]
	ldp	x9, x10, [x19, #8]
	and	x8, x10, x8
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x20]
LBB0_8:
	mov	x0, x21
	bl	_spin_unlock
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_9
; %bb.11:
	add	x21, x19, #28
	mov	x0, x21
	bl	_spin_lock
	ldr	w8, [x20]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	ldp	x10, x11, [x19, #8]
	and	x9, x11, x9
	str	w8, [x10, x9, lsl #2]
	b	LBB0_8
LBB0_12:
	mov	w9, #0
	str	wzr, [x19]
LBB0_13:
	ldr	w10, [x20]
	orr	w9, w9, w10
	str	w9, [x19]
	add	w8, w8, #1
	str	w8, [x19, #24]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_i2c_slave_eeprom_slave_cb
.subsections_via_symbols
