	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psb_intel_sdvo_restore
_psb_intel_sdvo_restore:                ## @psb_intel_sdvo_restore
	.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
	callq	_gma_attached_encoder
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_to_psb_intel_sdvo
	movq	(%rbx), %rbx
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_REG_WRITE
	movq	(%r14), %rax
	movq	_connector_status_connected@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	leaq	8(%rbx), %rsi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_crtc_helper_set_mode       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_connector_status_connected,8,3 ## @connector_status_connected
	.no_dead_strip	_psb_intel_sdvo_restore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psb_intel_sdvo_restore
_psb_intel_sdvo_restore:                ; @psb_intel_sdvo_restore
	.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, x0
	bl	_gma_attached_encoder
	mov	x19, x0
	bl	_to_psb_intel_sdvo
	ldr	x19, [x19]
	ldp	w1, w8, [x0]
	mov	x0, x8
	bl	_REG_WRITE
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _connector_status_connected@GOTPAGE
Lloh1:
	ldr	x9, [x9, _connector_status_connected@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x1, x19, #8
	ldp	w3, w2, [x19]
	mov	x0, x19
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_crtc_helper_set_mode
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_connector_status_connected,8,3 ; @connector_status_connected
	.no_dead_strip	_psb_intel_sdvo_restore
.subsections_via_symbols
