	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32f4_i2c_set_rise_time
_stm32f4_i2c_set_rise_time:             ## @stm32f4_i2c_set_rise_time
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movq	_HZ_TO_MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DIV_ROUND_UP
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rcx
	movq	_STM32_I2C_SPEED_STANDARD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	leal	(%rax,%rax,2), %eax
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
LBB0_2:
	incl	%eax
	movl	%eax, %edi
	callq	_STM32F4_I2C_TRISE_VALUE
	movq	_STM32F4_I2C_TRISE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ_TO_MHZ,4,2                  ## @HZ_TO_MHZ
	.comm	_STM32_I2C_SPEED_STANDARD,8,3   ## @STM32_I2C_SPEED_STANDARD
	.comm	_STM32F4_I2C_TRISE,8,3          ## @STM32F4_I2C_TRISE
	.no_dead_strip	_stm32f4_i2c_set_rise_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32f4_i2c_set_rise_time
_stm32f4_i2c_set_rise_time:             ; @stm32f4_i2c_set_rise_time
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _HZ_TO_MHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ_TO_MHZ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_DIV_ROUND_UP
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _STM32_I2C_SPEED_STANDARD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STM32_I2C_SPEED_STANDARD@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	add	w8, w0, w0, lsl #1
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w0, w8, w9
LBB0_2:
	add	w0, w0, #1
	bl	_STM32F4_I2C_TRISE_VALUE
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _STM32F4_I2C_TRISE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STM32F4_I2C_TRISE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ_TO_MHZ,4,2                  ; @HZ_TO_MHZ
	.comm	_STM32_I2C_SPEED_STANDARD,8,3   ; @STM32_I2C_SPEED_STANDARD
	.comm	_STM32F4_I2C_TRISE,8,3          ; @STM32F4_I2C_TRISE
	.no_dead_strip	_stm32f4_i2c_set_rise_time
.subsections_via_symbols
