	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_write
_i2c_write:                             ## @i2c_write
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	leaq	-144(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	$1, -144(%rbp)
	movq	_I2C_COMMAND_ENGINE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	movq	(%rdi), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -108(%rbp)
	movl	%r12d, -64(%rbp)
	movq	%r15, -72(%rbp)
	movl	%r14d, -80(%rbp)
	movl	$1, -92(%rbp)
	leaq	-96(%rbp), %rcx
	movq	%rcx, -136(%rbp)
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_dm_helpers_submit_i2c
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_COMMAND_ENGINE_DEFAULT,4,2 ## @I2C_COMMAND_ENGINE_DEFAULT
	.no_dead_strip	_i2c_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_write
_i2c_write:                             ; @i2c_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	mov	x23, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	mov	w8, #1
Lloh0:
	adrp	x9, _I2C_COMMAND_ENGINE_DEFAULT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_COMMAND_ENGINE_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w8, [sp, #48]
	str	w9, [sp, #88]
	ldr	x9, [x22]
	ldr	x0, [x9, #8]
	ldr	x10, [x0]
	ldr	w10, [x10]
	str	w10, [sp, #84]
	str	w21, [sp, #32]
	str	x20, [sp, #24]
	str	w19, [sp, #16]
	str	w8, [sp, #4]
	str	x23, [sp, #56]
	ldr	w1, [x9]
	add	x2, sp, #48
	bl	_dm_helpers_submit_i2c
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_COMMAND_ENGINE_DEFAULT,4,2 ; @I2C_COMMAND_ENGINE_DEFAULT
	.no_dead_strip	_i2c_write
.subsections_via_symbols
