	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c0_init                      ## -- Begin function i2c0_init
	.p2align	4, 0x90
_i2c0_init:                             ## @i2c0_init
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_DC_I2C0_INIT_BEGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGC
	movq	_CHAN_SERCOM_I2C0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FREQ_I2C0_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CLK_set_i2c0_freq
	movq	_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movabsq	$8589934594, %rdx               ## imm = 0x200000002
	movq	%rdx, 32(%rcx)
	movq	(%rax), %rax
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, 32(%rax)
	movq	_SERCOM0@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movabsq	$4294967301, %rcx               ## imm = 0x100000005
	movq	%rcx, 24(%rax)
	movq	$0, 40(%rax)
	movl	$1, 32(%rax)
	cmpq	$0, 16(%rax)
	je	LBB0_3
## %bb.1:
	movq	_DC_I2C0_INIT_SYNC_ENABLING@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_DBGC
	movq	(%rbx), %rax
	cmpq	$0, 16(%rax)
	jne	LBB0_2
LBB0_3:
	movl	$1, (%rax)
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.4:
	movq	_DC_I2C0_INIT_SYNC_SYSOP@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_DBGC
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_5
## %bb.6:
	cmpl	$1, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_DC_I2C0_INIT_WAIT_IDLE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_DBGC
	movq	(%rbx), %rax
	cmpl	$1, (%rax)
	jne	LBB0_8
LBB0_9:
	movq	_DC_I2C0_INIT_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DBGC                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_I2C0_INIT_BEGIN,4,2         ## @DC_I2C0_INIT_BEGIN
	.comm	_CHAN_SERCOM_I2C0,4,2           ## @CHAN_SERCOM_I2C0
	.comm	_FREQ_I2C0_DEFAULT,4,2          ## @FREQ_I2C0_DEFAULT
	.comm	_PORT,8,3                       ## @PORT
	.comm	_SERCOM0,8,3                    ## @SERCOM0
	.comm	_DC_I2C0_INIT_SYNC_ENABLING,4,2 ## @DC_I2C0_INIT_SYNC_ENABLING
	.comm	_DC_I2C0_INIT_SYNC_SYSOP,4,2    ## @DC_I2C0_INIT_SYNC_SYSOP
	.comm	_DC_I2C0_INIT_WAIT_IDLE,4,2     ## @DC_I2C0_INIT_WAIT_IDLE
	.comm	_DC_I2C0_INIT_COMPLETE,4,2      ## @DC_I2C0_INIT_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c0_init                      ; -- Begin function i2c0_init
	.p2align	2
_i2c0_init:                             ; @i2c0_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _DC_I2C0_INIT_BEGIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_I2C0_INIT_BEGIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DBGC
Lloh3:
	adrp	x8, _CHAN_SERCOM_I2C0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHAN_SERCOM_I2C0@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _FREQ_I2C0_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FREQ_I2C0_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_CLK_set_i2c0_freq
Lloh9:
	adrp	x8, _PORT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PORT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x8]
	movi.2s	v0, #2
	ldp	x8, x9, [x8]
	str	d0, [x9, #32]
	movi.2s	v0, #1
	str	d0, [x8, #32]
Lloh12:
	adrp	x19, _SERCOM0@GOTPAGE
Lloh13:
	ldr	x19, [x19, _SERCOM0@GOTPAGEOFF]
	ldr	x8, [x19]
	mov	w9, #5
	str	w9, [x8, #24]
	str	xzr, [x8, #40]
	stur	d0, [x8, #28]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
; %bb.1:
Lloh14:
	adrp	x20, _DC_I2C0_INIT_SYNC_ENABLING@GOTPAGE
Lloh15:
	ldr	x20, [x20, _DC_I2C0_INIT_SYNC_ENABLING@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_DBGC
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_2
LBB0_3:
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.4:
Lloh16:
	adrp	x20, _DC_I2C0_INIT_SYNC_SYSOP@GOTPAGE
Lloh17:
	ldr	x20, [x20, _DC_I2C0_INIT_SYNC_SYSOP@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_DBGC
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_5
; %bb.6:
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_9
; %bb.7:
Lloh18:
	adrp	x20, _DC_I2C0_INIT_WAIT_IDLE@GOTPAGE
Lloh19:
	ldr	x20, [x20, _DC_I2C0_INIT_WAIT_IDLE@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_DBGC
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_8
LBB0_9:
Lloh20:
	adrp	x8, _DC_I2C0_INIT_COMPLETE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DC_I2C0_INIT_COMPLETE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DBGC
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_I2C0_INIT_BEGIN,4,2         ; @DC_I2C0_INIT_BEGIN
	.comm	_CHAN_SERCOM_I2C0,4,2           ; @CHAN_SERCOM_I2C0
	.comm	_FREQ_I2C0_DEFAULT,4,2          ; @FREQ_I2C0_DEFAULT
	.comm	_PORT,8,3                       ; @PORT
	.comm	_SERCOM0,8,3                    ; @SERCOM0
	.comm	_DC_I2C0_INIT_SYNC_ENABLING,4,2 ; @DC_I2C0_INIT_SYNC_ENABLING
	.comm	_DC_I2C0_INIT_SYNC_SYSOP,4,2    ; @DC_I2C0_INIT_SYNC_SYSOP
	.comm	_DC_I2C0_INIT_WAIT_IDLE,4,2     ; @DC_I2C0_INIT_WAIT_IDLE
	.comm	_DC_I2C0_INIT_COMPLETE,4,2      ; @DC_I2C0_INIT_COMPLETE
.subsections_via_symbols
