	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_i2c_hw_init
_uniphier_i2c_hw_init:                  ## @uniphier_i2c_hw_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
	movl	(%rdi), %r14d
	movl	$1, %esi
	callq	_uniphier_i2c_reset
	leal	(%r14,%r14,4), %eax
	imulq	$954437177, %rax, %rdi          ## imm = 0x38E38E39
	shrq	$32, %rdi
	andl	$-2, %edi
	shll	$15, %edi
	orl	%r14d, %edi
	movq	_UNIPHIER_I2C_CLK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_writel
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_uniphier_i2c_reset             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIPHIER_I2C_CLK,8,3           ## @UNIPHIER_I2C_CLK
	.no_dead_strip	_uniphier_i2c_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_i2c_hw_init
_uniphier_i2c_hw_init:                  ; @uniphier_i2c_hw_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
	ldr	w20, [x0]
	mov	w1, #1
	bl	_uniphier_i2c_reset
	add	w8, w20, w20, lsl #2
	mov	w9, #36409
	movk	w9, #14563, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #32
	lsl	w8, w8, #15
	and	w8, w8, #0xffff0000
	orr	w0, w8, w20
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _UNIPHIER_I2C_CLK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNIPHIER_I2C_CLK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_uniphier_i2c_reset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIPHIER_I2C_CLK,8,3           ; @UNIPHIER_I2C_CLK
	.no_dead_strip	_uniphier_i2c_hw_init
.subsections_via_symbols
