	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flexcop_i2c_write4
_flexcop_i2c_write4:                    ## @flexcop_i2c_write4
	.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
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	16(%rbp), %r14
	movl	48(%rbp), %eax
	movq	$0, -64(%rbp)
	movq	(%rsi), %rcx
	movq	%rcx, 56(%rbp)
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	8(%rsi), %rcx
	movq	%rcx, -40(%rbp)
	cmpl	$1, %eax
	je	LBB0_5
## %bb.2:
	movq	16(%rsi), %rcx
	movq	%rcx, -48(%rbp)
	cmpl	$3, %eax
	jb	LBB0_6
## %bb.3:
	movq	24(%rsi), %rax
	jmp	LBB0_7
LBB0_4:
	movq	$0, -40(%rbp)
LBB0_5:
	movq	$0, -48(%rbp)
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	movq	%rax, -56(%rbp)
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	callq	_deb_i2c
	movq	_tw_sm_c_104@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movups	-64(%rbp), %xmm0
	movups	-48(%rbp), %xmm1
	movups	-32(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_flexcop_i2c_operation
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write: r100: %08x, r104: %08x\n"

	.comm	_tw_sm_c_104,4,2                ## @tw_sm_c_104
	.no_dead_strip	_flexcop_i2c_write4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flexcop_i2c_write4
_flexcop_i2c_write4:                    ; @flexcop_i2c_write4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	ldr	w8, [x1, #32]
	ldr	x9, [x2]
	str	x9, [x1, #40]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x21, [x2, #8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.2:
	mov	x22, #0
	b	LBB0_6
LBB0_3:
	mov	x22, #0
	mov	x21, #0
	b	LBB0_6
LBB0_4:
	ldr	x22, [x2, #16]
	cmp	w8, #3
	b.lo	LBB0_6
; %bb.5:
	ldr	x23, [x2, #24]
	b	LBB0_7
LBB0_6:
	mov	x23, #0
LBB0_7:
	ldr	x1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, #0
	bl	_deb_i2c
Lloh2:
	adrp	x8, _tw_sm_c_104@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tw_sm_c_104@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	ldr	w1, [x8]
	stp	xzr, x23, [sp]
	stp	x22, x21, [sp, #16]
	mov	x2, sp
	mov	x0, x20
	blr	x9
	mov	x0, x20
	mov	x1, x19
	bl	_flexcop_i2c_operation
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write: r100: %08x, r104: %08x\n"

	.comm	_tw_sm_c_104,4,2                ; @tw_sm_c_104
	.no_dead_strip	_flexcop_i2c_write4
.subsections_via_symbols
