	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmiphy_disable
_hdmiphy_disable:                       ## @hdmiphy_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	_HDMI_CON_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_hdmi_reg_writemask
	movq	_HDMI_PHY_CON_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_PHY_POWER_OFF_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_hdmi_reg_writemask
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hdmi_set_refclk
	movl	12(%rbx), %edi
	movq	_PMU_HDMI_PHY_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PMU_HDMI_PHY_ENABLE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movq	_supply@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_regulator_bulk_disable
	movl	4(%rbx), %edi
	callq	_pm_runtime_put_sync
	movl	$0, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_CON_0,4,2                 ## @HDMI_CON_0
	.comm	_HDMI_EN,4,2                    ## @HDMI_EN
	.comm	_HDMI_PHY_CON_0,4,2             ## @HDMI_PHY_CON_0
	.comm	_HDMI_PHY_POWER_OFF_EN,4,2      ## @HDMI_PHY_POWER_OFF_EN
	.comm	_PMU_HDMI_PHY_CONTROL,4,2       ## @PMU_HDMI_PHY_CONTROL
	.comm	_PMU_HDMI_PHY_ENABLE_BIT,4,2    ## @PMU_HDMI_PHY_ENABLE_BIT
	.comm	_supply,4,2                     ## @supply
	.no_dead_strip	_hdmiphy_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmiphy_disable
_hdmiphy_disable:                       ; @hdmiphy_disable
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _HDMI_CON_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_CON_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _HDMI_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_EN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_hdmi_reg_writemask
Lloh6:
	adrp	x8, _HDMI_PHY_CON_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_PHY_CON_0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _HDMI_PHY_POWER_OFF_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDMI_PHY_POWER_OFF_EN@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_hdmi_reg_writemask
	mov	x0, x19
	mov	w1, #0
	bl	_hdmi_set_refclk
	ldr	w0, [x19, #12]
Lloh12:
	adrp	x8, _PMU_HDMI_PHY_CONTROL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PMU_HDMI_PHY_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _PMU_HDMI_PHY_ENABLE_BIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PMU_HDMI_PHY_ENABLE_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_regmap_update_bits
Lloh18:
	adrp	x8, _supply@GOTPAGE
Lloh19:
	ldr	x8, [x8, _supply@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	ldr	w1, [x19, #8]
	bl	_regulator_bulk_disable
	ldr	w0, [x19, #4]
	bl	_pm_runtime_put_sync
	str	wzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_HDMI_CON_0,4,2                 ; @HDMI_CON_0
	.comm	_HDMI_EN,4,2                    ; @HDMI_EN
	.comm	_HDMI_PHY_CON_0,4,2             ; @HDMI_PHY_CON_0
	.comm	_HDMI_PHY_POWER_OFF_EN,4,2      ; @HDMI_PHY_POWER_OFF_EN
	.comm	_PMU_HDMI_PHY_CONTROL,4,2       ; @PMU_HDMI_PHY_CONTROL
	.comm	_PMU_HDMI_PHY_ENABLE_BIT,4,2    ; @PMU_HDMI_PHY_ENABLE_BIT
	.comm	_supply,4,2                     ; @supply
	.no_dead_strip	_hdmiphy_disable
.subsections_via_symbols
