	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __omap_i2c_init
___omap_i2c_init:                       ## @__omap_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_OMAP_I2C_CON_REG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%edx, %edx
	callq	_omap_i2c_write_reg
	movq	_OMAP_I2C_PSC_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	40(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_omap_i2c_write_reg
	movq	_OMAP_I2C_SCLL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_omap_i2c_write_reg
	movq	_OMAP_I2C_SCLH_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_omap_i2c_write_reg
	movq	(%rbx), %rax
	movq	_OMAP_I2C_REV_ON_3430_3530@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_OMAP_I2C_WE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_omap_i2c_write_reg
LBB0_2:
	movl	(%r14), %esi
	movq	_OMAP_I2C_CON_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_omap_i2c_write_reg
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:
	movq	_OMAP_I2C_IE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_omap_i2c_write_reg             ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_I2C_CON_REG,4,2           ## @OMAP_I2C_CON_REG
	.comm	_OMAP_I2C_PSC_REG,4,2           ## @OMAP_I2C_PSC_REG
	.comm	_OMAP_I2C_SCLL_REG,4,2          ## @OMAP_I2C_SCLL_REG
	.comm	_OMAP_I2C_SCLH_REG,4,2          ## @OMAP_I2C_SCLH_REG
	.comm	_OMAP_I2C_REV_ON_3430_3530,8,3  ## @OMAP_I2C_REV_ON_3430_3530
	.comm	_OMAP_I2C_WE_REG,4,2            ## @OMAP_I2C_WE_REG
	.comm	_OMAP_I2C_CON_EN,8,3            ## @OMAP_I2C_CON_EN
	.comm	_OMAP_I2C_IE_REG,4,2            ## @OMAP_I2C_IE_REG
	.no_dead_strip	___omap_i2c_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __omap_i2c_init
___omap_i2c_init:                       ; @__omap_i2c_init
	.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
Lloh0:
	adrp	x20, _OMAP_I2C_CON_REG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OMAP_I2C_CON_REG@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x2, #0
	bl	_omap_i2c_write_reg
Lloh2:
	adrp	x8, _OMAP_I2C_PSC_REG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OMAP_I2C_PSC_REG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	x2, [x19, #40]
	mov	x0, x19
	bl	_omap_i2c_write_reg
Lloh5:
	adrp	x8, _OMAP_I2C_SCLL_REG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OMAP_I2C_SCLL_REG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	x2, [x19, #32]
	mov	x0, x19
	bl	_omap_i2c_write_reg
Lloh8:
	adrp	x8, _OMAP_I2C_SCLH_REG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OMAP_I2C_SCLH_REG@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	x2, [x19, #24]
	mov	x0, x19
	bl	_omap_i2c_write_reg
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _OMAP_I2C_REV_ON_3430_3530@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OMAP_I2C_REV_ON_3430_3530@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _OMAP_I2C_WE_REG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OMAP_I2C_WE_REG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x2, [x19, #16]
	mov	x0, x19
	bl	_omap_i2c_write_reg
LBB0_2:
	ldr	w1, [x20]
Lloh17:
	adrp	x8, _OMAP_I2C_CON_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OMAP_I2C_CON_EN@GOTPAGEOFF]
Lloh19:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_omap_i2c_write_reg
	ldr	x2, [x19, #8]
	cbz	x2, LBB0_4
; %bb.3:
Lloh20:
	adrp	x8, _OMAP_I2C_IE_REG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OMAP_I2C_IE_REG@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_omap_i2c_write_reg
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_I2C_CON_REG,4,2           ; @OMAP_I2C_CON_REG
	.comm	_OMAP_I2C_PSC_REG,4,2           ; @OMAP_I2C_PSC_REG
	.comm	_OMAP_I2C_SCLL_REG,4,2          ; @OMAP_I2C_SCLL_REG
	.comm	_OMAP_I2C_SCLH_REG,4,2          ; @OMAP_I2C_SCLH_REG
	.comm	_OMAP_I2C_REV_ON_3430_3530,8,3  ; @OMAP_I2C_REV_ON_3430_3530
	.comm	_OMAP_I2C_WE_REG,4,2            ; @OMAP_I2C_WE_REG
	.comm	_OMAP_I2C_CON_EN,8,3            ; @OMAP_I2C_CON_EN
	.comm	_OMAP_I2C_IE_REG,4,2            ; @OMAP_I2C_IE_REG
	.no_dead_strip	___omap_i2c_init
.subsections_via_symbols
