	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_fi2c_rx_init
_uniphier_fi2c_rx_init:                 ## @uniphier_fi2c_rx_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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_UNIPHIER_FI2C_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rdi)
	xorl	%edi, %edi
	cmpl	$256, (%rbx)                    ## imm = 0x100
	setl	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	_UNIPHIER_FI2C_RBC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_UNIPHIER_FI2C_INT_RF@GOTPCREL(%rip), %rcx
	movq	_UNIPHIER_FI2C_INT_RB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	leaq	4(%rbx), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_UNIPHIER_FI2C_RBC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_UNIPHIER_FI2C_MANUAL_NACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	movl	4(%rbx), %eax
	movq	_UNIPHIER_FI2C_INT_RF@GOTPCREL(%rip), %rcx
LBB0_3:
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_uniphier_fi2c_set_irqs
	movq	_UNIPHIER_FI2C_DTTX_CMD@GOTPCREL(%rip), %rax
	movq	_UNIPHIER_FI2C_DTTX_RD@GOTPCREL(%rip), %rcx
	addl	%r14d, %r14d
	orl	(%rax), %r14d
	orl	(%rcx), %r14d
	movq	_UNIPHIER_FI2C_DTTX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIPHIER_FI2C_RD,4,2           ## @UNIPHIER_FI2C_RD
	.comm	_UNIPHIER_FI2C_RBC,8,3          ## @UNIPHIER_FI2C_RBC
	.comm	_UNIPHIER_FI2C_INT_RF,4,2       ## @UNIPHIER_FI2C_INT_RF
	.comm	_UNIPHIER_FI2C_INT_RB,4,2       ## @UNIPHIER_FI2C_INT_RB
	.comm	_UNIPHIER_FI2C_MANUAL_NACK,4,2  ## @UNIPHIER_FI2C_MANUAL_NACK
	.comm	_UNIPHIER_FI2C_DTTX_CMD,4,2     ## @UNIPHIER_FI2C_DTTX_CMD
	.comm	_UNIPHIER_FI2C_DTTX_RD,4,2      ## @UNIPHIER_FI2C_DTTX_RD
	.comm	_UNIPHIER_FI2C_DTTX,8,3         ## @UNIPHIER_FI2C_DTTX
	.no_dead_strip	_uniphier_fi2c_rx_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_fi2c_rx_init
_uniphier_fi2c_rx_init:                 ; @uniphier_fi2c_rx_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _UNIPHIER_FI2C_RD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNIPHIER_FI2C_RD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	orr	w8, w9, w8
	str	w8, [x0, #16]
	ldr	w8, [x0]
	cmp	w8, #256
	cset	w0, lt
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _UNIPHIER_FI2C_RBC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UNIPHIER_FI2C_RBC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh6:
	adrp	x8, _UNIPHIER_FI2C_INT_RF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UNIPHIER_FI2C_INT_RF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _UNIPHIER_FI2C_INT_RB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UNIPHIER_FI2C_INT_RB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	add	x9, x19, #4
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #8]
Lloh12:
	adrp	x9, _UNIPHIER_FI2C_RBC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _UNIPHIER_FI2C_RBC@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh15:
	adrp	x8, _UNIPHIER_FI2C_MANUAL_NACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UNIPHIER_FI2C_MANUAL_NACK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	ldr	w8, [x19, #4]
Lloh18:
	adrp	x9, _UNIPHIER_FI2C_INT_RF@GOTPAGE
Lloh19:
	ldr	x9, [x9, _UNIPHIER_FI2C_INT_RF@GOTPAGEOFF]
LBB0_3:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_uniphier_fi2c_set_irqs
Lloh20:
	adrp	x8, _UNIPHIER_FI2C_DTTX_CMD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _UNIPHIER_FI2C_DTTX_CMD@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _UNIPHIER_FI2C_DTTX_RD@GOTPAGE
Lloh24:
	ldr	x9, [x9, _UNIPHIER_FI2C_DTTX_RD@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w20, lsl #1
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
Lloh26:
	adrp	x9, _UNIPHIER_FI2C_DTTX@GOTPAGE
Lloh27:
	ldr	x9, [x9, _UNIPHIER_FI2C_DTTX@GOTPAGEOFF]
Lloh28:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIPHIER_FI2C_RD,4,2           ; @UNIPHIER_FI2C_RD
	.comm	_UNIPHIER_FI2C_RBC,8,3          ; @UNIPHIER_FI2C_RBC
	.comm	_UNIPHIER_FI2C_INT_RF,4,2       ; @UNIPHIER_FI2C_INT_RF
	.comm	_UNIPHIER_FI2C_INT_RB,4,2       ; @UNIPHIER_FI2C_INT_RB
	.comm	_UNIPHIER_FI2C_MANUAL_NACK,4,2  ; @UNIPHIER_FI2C_MANUAL_NACK
	.comm	_UNIPHIER_FI2C_DTTX_CMD,4,2     ; @UNIPHIER_FI2C_DTTX_CMD
	.comm	_UNIPHIER_FI2C_DTTX_RD,4,2      ; @UNIPHIER_FI2C_DTTX_RD
	.comm	_UNIPHIER_FI2C_DTTX,8,3         ; @UNIPHIER_FI2C_DTTX
	.no_dead_strip	_uniphier_fi2c_rx_init
.subsections_via_symbols
