	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32f7_i2c_hw_config
_stm32f7_i2c_hw_config:                 ## @stm32f7_i2c_hw_config
	.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	%rdi, %r15
	movl	32(%rdi), %edi
	callq	_STM32F7_I2C_TIMINGR_PRESC
	movl	%eax, %r14d
	movl	28(%r15), %edi
	callq	_STM32F7_I2C_TIMINGR_SCLDEL
	orl	%eax, %r14d
	movl	24(%r15), %edi
	callq	_STM32F7_I2C_TIMINGR_SDADEL
	movl	%eax, %ebx
	movl	20(%r15), %edi
	callq	_STM32F7_I2C_TIMINGR_SCLH
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movl	16(%r15), %edi
	callq	_STM32F7_I2C_TIMINGR_SCLL
	orl	%eax, %ebx
	movq	_STM32F7_I2C_TIMINGR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel_relaxed
	movq	_STM32F7_I2C_CR1@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_STM32F7_I2C_CR1_ANFOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	(%r15), %rdi
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	callq	_stm32f7_i2c_clr_bits
	jmp	LBB0_3
LBB0_2:
	callq	_stm32f7_i2c_set_bits
LBB0_3:
	movq	(%rbx), %rdi
	addq	(%r15), %rdi
	movq	_STM32F7_I2C_CR1_PE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stm32f7_i2c_set_bits           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STM32F7_I2C_TIMINGR,8,3        ## @STM32F7_I2C_TIMINGR
	.comm	_STM32F7_I2C_CR1,8,3            ## @STM32F7_I2C_CR1
	.comm	_STM32F7_I2C_CR1_ANFOFF,4,2     ## @STM32F7_I2C_CR1_ANFOFF
	.comm	_STM32F7_I2C_CR1_PE,4,2         ## @STM32F7_I2C_CR1_PE
	.no_dead_strip	_stm32f7_i2c_hw_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32f7_i2c_hw_config
_stm32f7_i2c_hw_config:                 ; @stm32f7_i2c_hw_config
	.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, #32]
	bl	_STM32F7_I2C_TIMINGR_PRESC
	mov	x20, x0
	ldr	w0, [x19, #28]
	bl	_STM32F7_I2C_TIMINGR_SCLDEL
	orr	w20, w0, w20
	ldr	w0, [x19, #24]
	bl	_STM32F7_I2C_TIMINGR_SDADEL
	orr	w20, w20, w0
	ldr	w0, [x19, #20]
	bl	_STM32F7_I2C_TIMINGR_SCLH
	orr	w20, w20, w0
	ldr	w0, [x19, #16]
	bl	_STM32F7_I2C_TIMINGR_SCLL
	orr	w0, w20, w0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _STM32F7_I2C_TIMINGR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STM32F7_I2C_TIMINGR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh3:
	adrp	x20, _STM32F7_I2C_CR1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _STM32F7_I2C_CR1@GOTPAGEOFF]
	ldp	x9, x8, [x19]
	ldr	x10, [x20]
	add	x0, x10, x9
Lloh5:
	adrp	x9, _STM32F7_I2C_CR1_ANFOFF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STM32F7_I2C_CR1_ANFOFF@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_stm32f7_i2c_clr_bits
	b	LBB0_3
LBB0_2:
	bl	_stm32f7_i2c_set_bits
LBB0_3:
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x0, x9, x8
Lloh8:
	adrp	x8, _STM32F7_I2C_CR1_PE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STM32F7_I2C_CR1_PE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_stm32f7_i2c_set_bits
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_STM32F7_I2C_TIMINGR,8,3        ; @STM32F7_I2C_TIMINGR
	.comm	_STM32F7_I2C_CR1,8,3            ; @STM32F7_I2C_CR1
	.comm	_STM32F7_I2C_CR1_ANFOFF,4,2     ; @STM32F7_I2C_CR1_ANFOFF
	.comm	_STM32F7_I2C_CR1_PE,4,2         ; @STM32F7_I2C_CR1_PE
	.no_dead_strip	_stm32f7_i2c_hw_config
.subsections_via_symbols
