	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_write                      ## -- Begin function i2c_write
	.p2align	4, 0x90
_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
	movq	_TWDR@GOTPCREL(%rip), %rax
	movb	%dil, (%rax)
	movq	_TWINT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_TWEN@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%eax, %edx
	movq	_TWCR@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movq	_TW_STATUS@GOTPCREL(%rip), %rax
	movl	$248, %ecx
	andl	(%rax), %ecx
	movq	_TW_MT_DATA_ACK@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TWDR,1,0                       ## @TWDR
	.comm	_TWINT,4,2                      ## @TWINT
	.comm	_TWEN,4,2                       ## @TWEN
	.comm	_TWCR,4,2                       ## @TWCR
	.comm	_TW_STATUS,4,2                  ## @TW_STATUS
	.comm	_TW_MT_DATA_ACK,4,2             ## @TW_MT_DATA_ACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_write                      ; -- Begin function i2c_write
	.p2align	2
_i2c_write:                             ; @i2c_write
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TWDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWDR@GOTPAGEOFF]
Lloh2:
	strb	w0, [x8]
Lloh3:
	adrp	x8, _TWINT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TWINT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh6:
	adrp	x10, _TWEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TWEN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh9:
	adrp	x10, _TWCR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TWCR@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh11:
	str	w8, [x10]
Lloh12:
	adrp	x8, _TW_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TW_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w8, w8, #0xf8
Lloh15:
	adrp	x9, _TW_MT_DATA_ACK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TW_MT_DATA_ACK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TWDR,1,0                       ; @TWDR
	.comm	_TWINT,4,2                      ; @TWINT
	.comm	_TWEN,4,2                       ; @TWEN
	.comm	_TWCR,4,2                       ; @TWCR
	.comm	_TW_STATUS,4,2                  ; @TW_STATUS
	.comm	_TW_MT_DATA_ACK,4,2             ; @TW_MT_DATA_ACK
.subsections_via_symbols
