	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_geni_i2c_conf
_qcom_geni_i2c_conf:                    ## @qcom_geni_i2c_conf
	.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, %r14
	movq	8(%rdi), %rbx
	movq	_SE_GENI_CLK_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movl	(%rbx), %edi
	movq	_CLK_DIV_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	movq	_SER_CLK_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_GENI_SER_M_CLK_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel_relaxed
	movq	_HIGH_COUNTER_SHFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	4(%rbx), %eax
	movl	8(%rbx), %edi
	shll	%cl, %eax
	movq	_LOW_COUNTER_SHFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	orl	12(%rbx), %edi
	movq	_SE_I2C_SCL_COUNTERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SE_GENI_CLK_SEL,8,3            ## @SE_GENI_CLK_SEL
	.comm	_CLK_DIV_SHFT,4,2               ## @CLK_DIV_SHFT
	.comm	_SER_CLK_EN,4,2                 ## @SER_CLK_EN
	.comm	_GENI_SER_M_CLK_CFG,8,3         ## @GENI_SER_M_CLK_CFG
	.comm	_HIGH_COUNTER_SHFT,4,2          ## @HIGH_COUNTER_SHFT
	.comm	_LOW_COUNTER_SHFT,4,2           ## @LOW_COUNTER_SHFT
	.comm	_SE_I2C_SCL_COUNTERS,8,3        ## @SE_I2C_SCL_COUNTERS
	.no_dead_strip	_qcom_geni_i2c_conf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_geni_i2c_conf
_qcom_geni_i2c_conf:                    ; @qcom_geni_i2c_conf
	.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
	ldp	x8, x20, [x0]
Lloh0:
	adrp	x9, _SE_GENI_CLK_SEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SE_GENI_CLK_SEL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
Lloh3:
	adrp	x8, _CLK_DIV_SHFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLK_DIV_SHFT@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w9, w8
Lloh6:
	adrp	x9, _SER_CLK_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SER_CLK_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _GENI_SER_M_CLK_CFG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GENI_SER_M_CLK_CFG@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh12:
	adrp	x8, _HIGH_COUNTER_SHFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HIGH_COUNTER_SHFT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldp	w9, w10, [x20, #4]
	lsl	w8, w9, w8
Lloh15:
	adrp	x9, _LOW_COUNTER_SHFT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LOW_COUNTER_SHFT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w9, w8
	ldr	w9, [x20, #12]
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _SE_I2C_SCL_COUNTERS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SE_I2C_SCL_COUNTERS@GOTPAGEOFF]
Lloh20:
	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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SE_GENI_CLK_SEL,8,3            ; @SE_GENI_CLK_SEL
	.comm	_CLK_DIV_SHFT,4,2               ; @CLK_DIV_SHFT
	.comm	_SER_CLK_EN,4,2                 ; @SER_CLK_EN
	.comm	_GENI_SER_M_CLK_CFG,8,3         ; @GENI_SER_M_CLK_CFG
	.comm	_HIGH_COUNTER_SHFT,4,2          ; @HIGH_COUNTER_SHFT
	.comm	_LOW_COUNTER_SHFT,4,2           ; @LOW_COUNTER_SHFT
	.comm	_SE_I2C_SCL_COUNTERS,8,3        ; @SE_I2C_SCL_COUNTERS
	.no_dead_strip	_qcom_geni_i2c_conf
.subsections_via_symbols
