	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_hdmi_phy_configure
_rcar_hdmi_phy_configure:               ## @rcar_hdmi_phy_configure
	.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	_rcar_hdmi_phy_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	addq	$24, %rbx
	cmpq	%rdx, %rax
	jb	LBB0_1
## %bb.2:
	cmpq	$-1, %rax
	je	LBB0_3
## %bb.4:
	movl	-8(%rbx), %esi
	movq	_RCAR_HDMI_PHY_OPMODE_PLLCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_dw_hdmi_phy_i2c_write
	movl	-12(%rbx), %esi
	movq	_RCAR_HDMI_PHY_PLLCURRGMPCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_dw_hdmi_phy_i2c_write
	movl	-16(%rbx), %esi
	movq	_RCAR_HDMI_PHY_PLLDIVCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_dw_hdmi_phy_i2c_write
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rcar_hdmi_phy_params,8,3       ## @rcar_hdmi_phy_params
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RCAR_HDMI_PHY_OPMODE_PLLCFG,4,2 ## @RCAR_HDMI_PHY_OPMODE_PLLCFG
	.comm	_RCAR_HDMI_PHY_PLLCURRGMPCTRL,4,2 ## @RCAR_HDMI_PHY_PLLCURRGMPCTRL
	.comm	_RCAR_HDMI_PHY_PLLDIVCTRL,4,2   ## @RCAR_HDMI_PHY_PLLDIVCTRL
	.no_dead_strip	_rcar_hdmi_phy_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_hdmi_phy_configure
_rcar_hdmi_phy_configure:               ; @rcar_hdmi_phy_configure
	.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	x8, _rcar_hdmi_phy_params@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rcar_hdmi_phy_params@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x20, x8, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x20, x20, #24
	cmp	x8, x2
	b.lo	LBB0_1
; %bb.2:
	cmn	x8, #1
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x20]
Lloh3:
	adrp	x8, _RCAR_HDMI_PHY_OPMODE_PLLCFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCAR_HDMI_PHY_OPMODE_PLLCFG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_dw_hdmi_phy_i2c_write
	ldur	w1, [x20, #-4]
Lloh6:
	adrp	x8, _RCAR_HDMI_PHY_PLLCURRGMPCTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCAR_HDMI_PHY_PLLCURRGMPCTRL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_dw_hdmi_phy_i2c_write
	ldur	w1, [x20, #-8]
Lloh9:
	adrp	x8, _RCAR_HDMI_PHY_PLLDIVCTRL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RCAR_HDMI_PHY_PLLDIVCTRL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_dw_hdmi_phy_i2c_write
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_rcar_hdmi_phy_params,8,3       ; @rcar_hdmi_phy_params
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RCAR_HDMI_PHY_OPMODE_PLLCFG,4,2 ; @RCAR_HDMI_PHY_OPMODE_PLLCFG
	.comm	_RCAR_HDMI_PHY_PLLCURRGMPCTRL,4,2 ; @RCAR_HDMI_PHY_PLLCURRGMPCTRL
	.comm	_RCAR_HDMI_PHY_PLLDIVCTRL,4,2   ; @RCAR_HDMI_PHY_PLLDIVCTRL
	.no_dead_strip	_rcar_hdmi_phy_configure
.subsections_via_symbols
