	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_analog_power_down ## -- Begin function analogix_dp_set_analog_power_down
	.p2align	4, 0x90
_analogix_dp_set_analog_power_down:     ## @analogix_dp_set_analog_power_down
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_ANALOGIX_DP_PHY_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rax), %edi
	callq	_is_rockchip
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ANALOGIX_DP_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_24
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_22:
	movq	_DP_ALL_PD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %esi
	addl	%r12d, %esi
	movl	%ebx, %edi
	callq	_writel
	testl	%r15d, %r15d
	jne	LBB0_24
## %bb.23:
	movl	$10, %edi
	movl	$15, %esi
	callq	_usleep_range
	movq	_DP_INC_BG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movl	(%r14), %esi
	addl	%r12d, %esi
	movl	%ebx, %edi
	callq	_writel
	movl	$10, %edi
	movl	$15, %esi
	callq	_usleep_range
	addl	(%r14), %r12d
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_14:
	movq	_CH3_PD@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	_CH2_PD@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_12:
	movq	_CH1_PD@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movq	_CH0_PD@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rax), %edi
	callq	_is_rockchip
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_RK_AUX_PD@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_15:
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movl	(%rax), %edi
	callq	_is_rockchip
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	_DP_INC_BG@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_8:
	movq	_AUX_PD@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ebx
	movl	(%r14), %edi
	addl	%r12d, %edi
	callq	_readl
	movl	%eax, %ecx
	orl	%ebx, %ecx
	notl	%ebx
	andl	%eax, %ebx
	testl	%r15d, %r15d
	cmovnel	%ecx, %ebx
	addl	(%r14), %r12d
	movl	%ebx, %edi
LBB0_10:
	movl	%r12d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_18:
	movq	_DP_PHY_PD@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %ebx
	movl	(%r14), %edi
	addl	%r12d, %edi
	callq	_readl
	movl	%eax, %ecx
	orl	%ebx, %ecx
	notl	%ebx
	andl	%eax, %ebx
	testl	%r15d, %r15d
	cmovnel	%ecx, %ebx
	addl	(%r14), %r12d
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_writel
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:
	movl	(%rax), %edi
	callq	_is_rockchip
	testq	%rax, %rax
	je	LBB0_24
## %bb.21:
	movl	$10, %edi
	movl	$15, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usleep_range                   ## TAILCALL
LBB0_24:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_ANALOGIX_DP_PHY_PD,4,2         ## @ANALOGIX_DP_PHY_PD
	.comm	_ANALOGIX_DP_PD,4,2             ## @ANALOGIX_DP_PD
	.comm	_RK_AUX_PD,4,2                  ## @RK_AUX_PD
	.comm	_AUX_PD,4,2                     ## @AUX_PD
	.comm	_CH0_PD,4,2                     ## @CH0_PD
	.comm	_CH1_PD,4,2                     ## @CH1_PD
	.comm	_CH2_PD,4,2                     ## @CH2_PD
	.comm	_CH3_PD,4,2                     ## @CH3_PD
	.comm	_DP_INC_BG,4,2                  ## @DP_INC_BG
	.comm	_DP_PHY_PD,4,2                  ## @DP_PHY_PD
	.comm	_DP_ALL_PD,4,2                  ## @DP_ALL_PD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_analogix_dp_set_analog_power_down ; -- Begin function analogix_dp_set_analog_power_down
	.p2align	2
_analogix_dp_set_analog_power_down:     ; @analogix_dp_set_analog_power_down
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ANALOGIX_DP_PHY_PD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANALOGIX_DP_PHY_PD@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8]
	bl	_is_rockchip
Lloh3:
	adrp	x8, _ANALOGIX_DP_PD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ANALOGIX_DP_PD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w22, w22, w8, eq
LBB0_2:
	sub	w8, w21, #128
	cmp	w8, #6
	b.hi	LBB0_23
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh8:
	adrp	x8, _DP_ALL_PD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DP_ALL_PD@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	ldr	w8, [x19]
	add	w1, w8, w22
	mov	x0, x21
	bl	_writel
	cbnz	w20, LBB0_23
; %bb.5:
	mov	w0, #10
	mov	w1, #15
	bl	_usleep_range
Lloh11:
	adrp	x8, _DP_INC_BG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DP_INC_BG@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	bic	w0, w21, w8
	ldr	w8, [x19]
	add	w1, w8, w22
	bl	_writel
	mov	w0, #10
	mov	w1, #15
	bl	_usleep_range
	ldr	w8, [x19]
	add	w1, w8, w22
	mov	w0, #0
	b	LBB0_18
LBB0_6:
Lloh14:
	adrp	x8, _CH3_PD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CH3_PD@GOTPAGEOFF]
	b	LBB0_17
LBB0_7:
Lloh16:
	adrp	x8, _CH2_PD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CH2_PD@GOTPAGEOFF]
	b	LBB0_17
LBB0_8:
Lloh18:
	adrp	x8, _CH1_PD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CH1_PD@GOTPAGEOFF]
	b	LBB0_17
LBB0_9:
Lloh20:
	adrp	x8, _CH0_PD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CH0_PD@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.11:
	ldr	w0, [x8]
	bl	_is_rockchip
	cbz	x0, LBB0_16
; %bb.12:
Lloh22:
	adrp	x8, _RK_AUX_PD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RK_AUX_PD@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_19
; %bb.14:
	ldr	w0, [x8]
	bl	_is_rockchip
	cbz	x0, LBB0_19
; %bb.15:
Lloh24:
	adrp	x8, _DP_INC_BG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DP_INC_BG@GOTPAGEOFF]
	b	LBB0_20
LBB0_16:
Lloh26:
	adrp	x8, _AUX_PD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AUX_PD@GOTPAGEOFF]
LBB0_17:
	ldr	w21, [x8]
	ldr	w8, [x19]
	add	w0, w8, w22
	bl	_readl
	orr	w8, w0, w21
	bic	w9, w0, w21
	cmp	w20, #0
	csel	w0, w9, w8, eq
	ldr	w8, [x19]
	add	w1, w8, w22
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_writel
LBB0_19:
Lloh28:
	adrp	x8, _DP_PHY_PD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DP_PHY_PD@GOTPAGEOFF]
LBB0_20:
	ldr	w21, [x8]
	ldr	w8, [x19]
	add	w0, w8, w22
	bl	_readl
	orr	w8, w0, w21
	bic	w9, w0, w21
	cmp	w20, #0
	csel	w0, w9, w8, eq
	ldr	w8, [x19]
	add	w1, w8, w22
	bl	_writel
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_23
; %bb.21:
	ldr	w0, [x8]
	bl	_is_rockchip
	cbz	x0, LBB0_23
; %bb.22:
	mov	w0, #10
	mov	w1, #15
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_usleep_range
LBB0_23:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
                                        ; -- End function
	.comm	_ANALOGIX_DP_PHY_PD,4,2         ; @ANALOGIX_DP_PHY_PD
	.comm	_ANALOGIX_DP_PD,4,2             ; @ANALOGIX_DP_PD
	.comm	_RK_AUX_PD,4,2                  ; @RK_AUX_PD
	.comm	_AUX_PD,4,2                     ; @AUX_PD
	.comm	_CH0_PD,4,2                     ; @CH0_PD
	.comm	_CH1_PD,4,2                     ; @CH1_PD
	.comm	_CH2_PD,4,2                     ; @CH2_PD
	.comm	_CH3_PD,4,2                     ; @CH3_PD
	.comm	_DP_INC_BG,4,2                  ; @DP_INC_BG
	.comm	_DP_PHY_PD,4,2                  ; @DP_PHY_PD
	.comm	_DP_ALL_PD,4,2                  ; @DP_ALL_PD
.subsections_via_symbols
