	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_master_init                ## -- Begin function i2c_master_init
	.p2align	4, 0x90
_i2c_master_init:                       ## @i2c_master_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TWSR@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_F_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SCL_CLOCK@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	addl	$-16, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	addl	$-16, %eax
	sarl	%eax
	movq	_TWBR@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TWSR,8,3                       ## @TWSR
	.comm	_F_CPU,4,2                      ## @F_CPU
	.comm	_SCL_CLOCK,4,2                  ## @SCL_CLOCK
	.comm	_TWBR,4,2                       ## @TWBR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_master_init                ; -- Begin function i2c_master_init
	.p2align	2
_i2c_master_init:                       ; @i2c_master_init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TWSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWSR@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x8, _F_CPU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_CPU@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SCL_CLOCK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SCL_CLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	sub	w9, w8, #16
	sub	w8, w8, #15
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #1
Lloh9:
	adrp	x9, _TWBR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TWBR@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	ret
	.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	_TWSR,8,3                       ; @TWSR
	.comm	_F_CPU,4,2                      ; @F_CPU
	.comm	_SCL_CLOCK,4,2                  ; @SCL_CLOCK
	.comm	_TWBR,4,2                       ; @TWBR
.subsections_via_symbols
