	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TWITransmitData                ## -- Begin function TWITransmitData
	.p2align	4, 0x90
_TWITransmitData:                       ## @TWITransmitData
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_isTWIReady
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	__delay_us
	jmp	LBB0_2
LBB0_3:
	movq	_TWINT@GOTPCREL(%rip), %rax
	movq	_TWSTO@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movb	(%rax), %al
	btsl	%eax, %edx
	movq	_TWCR@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	xorl	%eax, %eax
	callq	_TWIInit
	movq	_TWIInfo@GOTPCREL(%rip), %rax
	movq	%r12, 8(%rax)
	movq	_TWITransmitBuffer@GOTPCREL(%rip), %rcx
	movq	%rbx, (%rcx)
	movq	_TXBuffLen@GOTPCREL(%rip), %rcx
	movq	%r15, (%rcx)
	movq	_TXBuffIndex@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	movq	(%rax), %rdx
	movq	_RepeatedStartSent@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.4:
	movq	_Initializing@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax)
	movq	$1, (%rcx)
	movq	(%rbx), %rax
	movq	_TWDR@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_TWISendTransmit
	jmp	LBB0_6
LBB0_5:
	movq	_Initializing@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	callq	_TWISendStart
LBB0_6:
	testq	%r14, %r14
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_isTWIReady
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edi
	callq	__delay_us
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TWINT,4,2                      ## @TWINT
	.comm	_TWSTO,4,2                      ## @TWSTO
	.comm	_TWCR,4,2                       ## @TWCR
	.comm	_TWIInfo,16,3                   ## @TWIInfo
	.comm	_TWITransmitBuffer,8,3          ## @TWITransmitBuffer
	.comm	_TXBuffLen,8,3                  ## @TXBuffLen
	.comm	_TXBuffIndex,8,3                ## @TXBuffIndex
	.comm	_RepeatedStartSent,8,3          ## @RepeatedStartSent
	.comm	_Initializing,8,3               ## @Initializing
	.comm	_TWDR,8,3                       ## @TWDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TWITransmitData                ; -- Begin function TWITransmitData
	.p2align	2
_TWITransmitData:                       ; @TWITransmitData
	.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	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_isTWIReady
	cbnz	w0, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	__delay_us
	bl	_isTWIReady
	cbz	w0, LBB0_1
LBB0_2:
Lloh0:
	adrp	x8, _TWINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWINT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _TWSTO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TWSTO@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _TWCR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TWCR@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	bl	_TWIInit
Lloh9:
	adrp	x8, _TWIInfo@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TWIInfo@GOTPAGEOFF]
	str	x22, [x8, #8]
Lloh11:
	adrp	x9, _TWITransmitBuffer@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TWITransmitBuffer@GOTPAGEOFF]
Lloh13:
	str	x20, [x9]
Lloh14:
	adrp	x9, _TXBuffLen@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TXBuffLen@GOTPAGEOFF]
Lloh16:
	str	x21, [x9]
Lloh17:
	adrp	x9, _TXBuffIndex@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TXBuffIndex@GOTPAGEOFF]
	str	xzr, [x9]
	ldr	x10, [x8]
Lloh19:
	adrp	x11, _RepeatedStartSent@GOTPAGE
Lloh20:
	ldr	x11, [x11, _RepeatedStartSent@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.3:
Lloh22:
	adrp	x10, _Initializing@GOTPAGE
Lloh23:
	ldr	x10, [x10, _Initializing@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	str	x10, [x8]
	mov	w8, #1
	str	x8, [x9]
	ldr	x8, [x20]
Lloh25:
	adrp	x9, _TWDR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TWDR@GOTPAGEOFF]
Lloh27:
	str	x8, [x9]
	bl	_TWISendTransmit
	cbnz	x19, LBB0_6
	b	LBB0_7
LBB0_4:
Lloh28:
	adrp	x9, _Initializing@GOTPAGE
Lloh29:
	ldr	x9, [x9, _Initializing@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	str	x9, [x8]
	bl	_TWISendStart
	cbnz	x19, LBB0_6
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	bl	__delay_us
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_isTWIReady
	cbz	w0, LBB0_5
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_TWINT,4,2                      ; @TWINT
	.comm	_TWSTO,4,2                      ; @TWSTO
	.comm	_TWCR,4,2                       ; @TWCR
	.comm	_TWIInfo,16,3                   ; @TWIInfo
	.comm	_TWITransmitBuffer,8,3          ; @TWITransmitBuffer
	.comm	_TXBuffLen,8,3                  ; @TXBuffLen
	.comm	_TXBuffIndex,8,3                ; @TXBuffIndex
	.comm	_RepeatedStartSent,8,3          ; @RepeatedStartSent
	.comm	_Initializing,8,3               ; @Initializing
	.comm	_TWDR,8,3                       ; @TWDR
.subsections_via_symbols
