	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GPIOB@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_PAL_MODE_INPUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$6, %esi
	callq	_palSetPadMode
	movl	(%r14), %edi
	movl	(%rbx), %edx
	movl	$7, %esi
	callq	_palSetPadMode
	movl	$10, %edi
	callq	_chThdSleepMilliseconds
	movl	(%r14), %ebx
	movl	$1, %edi
	callq	_PAL_MODE_ALTERNATE
	movq	_PAL_STM32_OTYPE_OPENDRAIN@GOTPCREL(%rip), %r15
	orl	(%r15), %eax
	movl	%ebx, %edi
	movl	$6, %esi
	movl	%eax, %edx
	callq	_palSetPadMode
	movl	(%r14), %ebx
	movl	$1, %edi
	callq	_PAL_MODE_ALTERNATE
	orl	(%r15), %eax
	movl	%ebx, %edi
	movl	$7, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_palSetPadMode                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIOB,4,2                      ## @GPIOB
	.comm	_PAL_MODE_INPUT,4,2             ## @PAL_MODE_INPUT
	.comm	_PAL_STM32_OTYPE_OPENDRAIN,4,2  ## @PAL_STM32_OTYPE_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	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
Lloh0:
	adrp	x20, _GPIOB@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GPIOB@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x19, _PAL_MODE_INPUT@GOTPAGE
Lloh3:
	ldr	x19, [x19, _PAL_MODE_INPUT@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w1, #6
	bl	_palSetPadMode
	ldr	w0, [x20]
	ldr	w2, [x19]
	mov	w1, #7
	bl	_palSetPadMode
	mov	w0, #10
	bl	_chThdSleepMilliseconds
	ldr	w19, [x20]
	mov	w0, #1
	bl	_PAL_MODE_ALTERNATE
Lloh4:
	adrp	x21, _PAL_STM32_OTYPE_OPENDRAIN@GOTPAGE
Lloh5:
	ldr	x21, [x21, _PAL_STM32_OTYPE_OPENDRAIN@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w2, w8, w0
	mov	x0, x19
	mov	w1, #6
	bl	_palSetPadMode
	ldr	w19, [x20]
	mov	w0, #1
	bl	_PAL_MODE_ALTERNATE
	ldr	w8, [x21]
	orr	w2, w8, w0
	mov	x0, x19
	mov	w1, #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
	b	_palSetPadMode
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIOB,4,2                      ; @GPIOB
	.comm	_PAL_MODE_INPUT,4,2             ; @PAL_MODE_INPUT
	.comm	_PAL_STM32_OTYPE_OPENDRAIN,4,2  ; @PAL_STM32_OTYPE_OPENDRAIN
.subsections_via_symbols
