	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_op
_i2c_op:                                ## @i2c_op
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_dev_dbg
	leaq	4(%r12), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	leal	-128(%r14), %eax
	cmpl	$7, %eax
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r12, %rdi
	callq	_ICCR
	movl	$129, %edi
	jmp	LBB0_10
LBB0_4:
	movzbl	%bl, %ebx
	movq	%r12, %rdi
	callq	_ICDR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_iowrite8
	movq	%r12, %rdi
	callq	_ICCR
	movl	$144, %edi
	jmp	LBB0_10
LBB0_5:
	movq	_ICIC_WAITE@GOTPCREL(%rip), %rax
	movq	_ICIC_ALE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
	movq	_ICIC_TACKE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_ICIC
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_iowrite8
LBB0_6:
	movzbl	%bl, %ebx
	movq	%r12, %rdi
	callq	_ICDR
	movl	%ebx, %edi
	jmp	LBB0_10
LBB0_7:
	movq	%r12, %rdi
	callq	_ICCR
	movl	$148, %edi
	jmp	LBB0_10
LBB0_8:
	movq	_ICIC_DTEE@GOTPCREL(%rip), %rax
	movq	_ICIC_WAITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_ICIC_ALE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ICIC_TACKE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_ICIC
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_iowrite8
	movq	%r12, %rdi
	callq	_ICDR
	movl	%eax, %edi
	callq	_ioread8
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_ICCR
	movl	$192, %edi
	movl	%eax, %esi
	callq	_iowrite8
	jmp	LBB0_12
LBB0_9:
	movq	_ICIC_DTEE@GOTPCREL(%rip), %rax
	movq	_ICIC_WAITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_ICIC_ALE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ICIC_TACKE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_ICIC
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_iowrite8
	movq	%r12, %rdi
	callq	_ICCR
	movl	$192, %edi
LBB0_10:
	movl	%eax, %esi
	callq	_iowrite8
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r12), %edi
	movzbl	%bl, %ebx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_dev_dbg
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r12, %rdi
	callq	_ICDR
	movl	%eax, %edi
	callq	_ioread8
	movl	%eax, %ebx
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"op %d, data in 0x%02x\n"

	.comm	_ICIC_WAITE,4,2                 ## @ICIC_WAITE
	.comm	_ICIC_ALE,4,2                   ## @ICIC_ALE
	.comm	_ICIC_TACKE,4,2                 ## @ICIC_TACKE
	.comm	_ICIC_DTEE,4,2                  ## @ICIC_DTEE
L_.str.1:                               ## @.str.1
	.asciz	"op %d, data out 0x%02x\n"

	.no_dead_strip	_i2c_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_op
_i2c_op:                                ; @i2c_op
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x21, x0
	ldr	w0, [x21], #4
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x22
	bl	_dev_dbg
	mov	x0, x21
	bl	_spin_lock_irqsave
	sub	w8, w19, #128
	cmp	w8, #7
	b.hi	LBB0_10
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	bl	_ICCR
	mov	x1, x0
	mov	w0, #129
	b	LBB0_9
LBB0_3:
	mov	x0, x20
	bl	_ICDR
	mov	x1, x0
	mov	x0, x22
	bl	_iowrite8
	mov	x0, x20
	bl	_ICCR
	mov	x1, x0
	mov	w0, #144
	b	LBB0_9
LBB0_4:
Lloh4:
	adrp	x8, _ICIC_WAITE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICIC_WAITE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _ICIC_ALE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ICIC_ALE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x9, _ICIC_TACKE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ICIC_TACKE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w23, w8, w9
	mov	x0, x20
	bl	_ICIC
	mov	x1, x0
	mov	x0, x23
	bl	_iowrite8
LBB0_5:
	mov	x0, x20
	bl	_ICDR
	mov	x1, x0
	mov	x0, x22
	b	LBB0_9
LBB0_6:
	mov	x0, x20
	bl	_ICCR
	mov	x1, x0
	mov	w0, #148
	b	LBB0_9
LBB0_7:
Lloh13:
	adrp	x8, _ICIC_DTEE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ICIC_DTEE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _ICIC_WAITE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ICIC_WAITE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _ICIC_ALE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ICIC_ALE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _ICIC_TACKE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ICIC_TACKE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w22, w8, w9
	mov	x0, x20
	bl	_ICIC
	mov	x1, x0
	mov	x0, x22
	bl	_iowrite8
	mov	x0, x20
	bl	_ICDR
	bl	_ioread8
	mov	x22, x0
	mov	x0, x20
	bl	_ICCR
	mov	x1, x0
	mov	w0, #192
	bl	_iowrite8
	b	LBB0_11
LBB0_8:
Lloh25:
	adrp	x8, _ICIC_DTEE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ICIC_DTEE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _ICIC_WAITE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ICIC_WAITE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh31:
	adrp	x9, _ICIC_ALE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ICIC_ALE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _ICIC_TACKE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ICIC_TACKE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w22, w8, w9
	mov	x0, x20
	bl	_ICIC
	mov	x1, x0
	mov	x0, x22
	bl	_iowrite8
	mov	x0, x20
	bl	_ICCR
	mov	x1, x0
	mov	w0, #192
LBB0_9:
	bl	_iowrite8
LBB0_10:
	mov	w22, #0
LBB0_11:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	w0, [x20]
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	x3, x22
	bl	_dev_dbg
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x20
	bl	_ICDR
	bl	_ioread8
	mov	x22, x0
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"op %d, data in 0x%02x\n"

	.comm	_ICIC_WAITE,4,2                 ; @ICIC_WAITE
	.comm	_ICIC_ALE,4,2                   ; @ICIC_ALE
	.comm	_ICIC_TACKE,4,2                 ; @ICIC_TACKE
	.comm	_ICIC_DTEE,4,2                  ; @ICIC_DTEE
l_.str.1:                               ; @.str.1
	.asciz	"op %d, data out 0x%02x\n"

	.no_dead_strip	_i2c_op
.subsections_via_symbols
