	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_init                       ## -- Begin function i2c_init
	.weak_definition	_i2c_init
	.p2align	4, 0x90
_i2c_init:                              ## @i2c_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I2C1_SCL_BANK@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_I2C1_SCL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PAL_MODE_INPUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_palSetPadMode
	movq	_I2C1_SDA_BANK@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_I2C1_SDA@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%rbx), %edx
	callq	_palSetPadMode
	movl	$10, %edi
	callq	_chThdSleepMilliseconds
	movl	(%r13), %ebx
	movl	(%r14), %r14d
	movq	_I2C1_SCL_PAL_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PAL_MODE_ALTERNATE
	movq	_PAL_STM32_OTYPE_OPENDRAIN@GOTPCREL(%rip), %r13
	orl	(%r13), %eax
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_palSetPadMode
	movl	(%r15), %ebx
	movl	(%r12), %r14d
	movq	_I2C1_SDA_PAL_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PAL_MODE_ALTERNATE
	orl	(%r13), %eax
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_palSetPadMode                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C1_SCL_BANK,4,2              ## @I2C1_SCL_BANK
	.comm	_I2C1_SCL,4,2                   ## @I2C1_SCL
	.comm	_PAL_MODE_INPUT,4,2             ## @PAL_MODE_INPUT
	.comm	_I2C1_SDA_BANK,4,2              ## @I2C1_SDA_BANK
	.comm	_I2C1_SDA,4,2                   ## @I2C1_SDA
	.comm	_I2C1_SCL_PAL_MODE,4,2          ## @I2C1_SCL_PAL_MODE
	.comm	_PAL_STM32_OTYPE_OPENDRAIN,4,2  ## @PAL_STM32_OTYPE_OPENDRAIN
	.comm	_I2C1_SDA_PAL_MODE,4,2          ## @I2C1_SDA_PAL_MODE
	.comm	_PAL_MODE_STM32_ALTERNATE_OPENDRAIN,4,2 ## @PAL_MODE_STM32_ALTERNATE_OPENDRAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_init                       ; -- Begin function i2c_init
	.weak_definition	_i2c_init
	.p2align	2
_i2c_init:                              ; @i2c_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _I2C1_SCL_BANK@GOTPAGE
Lloh1:
	ldr	x19, [x19, _I2C1_SCL_BANK@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x20, _I2C1_SCL@GOTPAGE
Lloh3:
	ldr	x20, [x20, _I2C1_SCL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh4:
	adrp	x21, _PAL_MODE_INPUT@GOTPAGE
Lloh5:
	ldr	x21, [x21, _PAL_MODE_INPUT@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_palSetPadMode
Lloh6:
	adrp	x22, _I2C1_SDA_BANK@GOTPAGE
Lloh7:
	ldr	x22, [x22, _I2C1_SDA_BANK@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh8:
	adrp	x23, _I2C1_SDA@GOTPAGE
Lloh9:
	ldr	x23, [x23, _I2C1_SDA@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x21]
	bl	_palSetPadMode
	mov	w0, #10
	bl	_chThdSleepMilliseconds
	ldr	w19, [x19]
	ldr	w20, [x20]
Lloh10:
	adrp	x8, _I2C1_SCL_PAL_MODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I2C1_SCL_PAL_MODE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_PAL_MODE_ALTERNATE
Lloh13:
	adrp	x21, _PAL_STM32_OTYPE_OPENDRAIN@GOTPAGE
Lloh14:
	ldr	x21, [x21, _PAL_STM32_OTYPE_OPENDRAIN@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w2, w8, w0
	mov	x0, x19
	mov	x1, x20
	bl	_palSetPadMode
	ldr	w19, [x22]
	ldr	w20, [x23]
Lloh15:
	adrp	x8, _I2C1_SDA_PAL_MODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I2C1_SDA_PAL_MODE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_PAL_MODE_ALTERNATE
	ldr	w8, [x21]
	orr	w2, w8, w0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_palSetPadMode
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C1_SCL_BANK,4,2              ; @I2C1_SCL_BANK
	.comm	_I2C1_SCL,4,2                   ; @I2C1_SCL
	.comm	_PAL_MODE_INPUT,4,2             ; @PAL_MODE_INPUT
	.comm	_I2C1_SDA_BANK,4,2              ; @I2C1_SDA_BANK
	.comm	_I2C1_SDA,4,2                   ; @I2C1_SDA
	.comm	_I2C1_SCL_PAL_MODE,4,2          ; @I2C1_SCL_PAL_MODE
	.comm	_PAL_STM32_OTYPE_OPENDRAIN,4,2  ; @PAL_STM32_OTYPE_OPENDRAIN
	.comm	_I2C1_SDA_PAL_MODE,4,2          ; @I2C1_SDA_PAL_MODE
	.comm	_PAL_MODE_STM32_ALTERNATE_OPENDRAIN,4,2 ; @PAL_MODE_STM32_ALTERNATE_OPENDRAIN
.subsections_via_symbols
