	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function power_down_encoders
_power_down_encoders:                   ## @power_down_encoders
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_SIGNAL_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	incq	%rbx
	movq	16(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_2
LBB0_3:
	cmpl	$0, (%r15)
	jle	LBB0_12
## %bb.4:
	xorl	%ebx, %ebx
	movq	_CONNECTOR_ID_EDP@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movl	%r14d, %esi
	callq	*(%rax)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	12(%rax), %edi
	callq	_dal_graphics_object_id_get_connector_id
	movl	%eax, %r12d
	movl	(%r13), %eax
	movq	_CONNECTOR_ID_DISPLAY_PORT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %r12d
	jne	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	cmpl	$0, 8(%rdi)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %r12d
	jne	LBB0_11
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	callq	_dp_receiver_power_ctrl
	movl	(%r13), %eax
	cmpl	%eax, %r12d
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_SIGNAL_TYPE_EDP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGNAL_TYPE_NONE,4,2           ## @SIGNAL_TYPE_NONE
	.comm	_CONNECTOR_ID_DISPLAY_PORT,4,2  ## @CONNECTOR_ID_DISPLAY_PORT
	.comm	_CONNECTOR_ID_EDP,4,2           ## @CONNECTOR_ID_EDP
	.comm	_SIGNAL_TYPE_EDP,4,2            ## @SIGNAL_TYPE_EDP
	.no_dead_strip	_power_down_encoders
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function power_down_encoders
_power_down_encoders:                   ; @power_down_encoders
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _SIGNAL_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGNAL_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	x0, [x8, x21, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.lt	LBB0_2
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x22, #0
Lloh3:
	adrp	x23, _CONNECTOR_ID_DISPLAY_PORT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CONNECTOR_ID_DISPLAY_PORT@GOTPAGEOFF]
Lloh5:
	adrp	x24, _CONNECTOR_ID_EDP@GOTPAGE
Lloh6:
	ldr	x24, [x24, _CONNECTOR_ID_EDP@GOTPAGEOFF]
Lloh7:
	adrp	x25, _SIGNAL_TYPE_EDP@GOTPAGE
Lloh8:
	ldr	x25, [x25, _SIGNAL_TYPE_EDP@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x25]
	cmp	w21, w8
	csel	w20, w9, w20, eq
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldr	x0, [x8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x20
	blr	x8
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w0, [x8, #12]
	bl	_dal_graphics_object_id_get_connector_id
	ldr	w9, [x23]
	ldr	w8, [x24]
	cmp	w0, w9
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x0
	ldr	x9, [x19, #8]
	ldr	x0, [x9, x22, lsl #3]
	ldr	w9, [x0, #8]
	cbnz	w9, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w1, #0
	bl	_dp_receiver_power_ctrl
	ldr	w8, [x24]
	b	LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGNAL_TYPE_NONE,4,2           ; @SIGNAL_TYPE_NONE
	.comm	_CONNECTOR_ID_DISPLAY_PORT,4,2  ; @CONNECTOR_ID_DISPLAY_PORT
	.comm	_CONNECTOR_ID_EDP,4,2           ; @CONNECTOR_ID_EDP
	.comm	_SIGNAL_TYPE_EDP,4,2            ; @SIGNAL_TYPE_EDP
	.no_dead_strip	_power_down_encoders
.subsections_via_symbols
