	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_dsc_fec_support_show
_i915_dsc_fec_support_show:             ## @i915_dsc_fec_support_show
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movq	16(%r15), %r12
	movq	_DRM_MODESET_ACQUIRE_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	callq	_drm_modeset_acquire_init
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_drm_modeset_lock
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	movq	_EDEADLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_drm_modeset_backoff
	testl	%eax, %eax
	je	LBB0_1
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	movq	_connector_status_connected@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	4(%r14), %rdi
	movq	%r13, %rsi
	callq	_drm_modeset_lock
	movl	%eax, %ebx
	movq	_EDEADLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_drm_modeset_backoff
	testl	%eax, %eax
	je	LBB0_1
## %bb.9:
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_10:
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	callq	_intel_attached_encoder
	movq	%rax, %rdi
	callq	_enc_to_intel_dp
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_to_intel_crtc_state
	movl	(%rax), %edi
	callq	_yesno
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movl	8(%r15), %edi
	callq	_drm_dp_sink_supports_dsc
	movl	%eax, %edi
	callq	_yesno
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movl	4(%r15), %edi
	callq	_yesno
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	%r15, %rdi
	callq	_intel_dp_is_edp
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	(%r15), %edi
	callq	_drm_dp_sink_supports_fec
	movl	%eax, %edi
	callq	_yesno
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_seq_printf
LBB0_13:
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_drm_modeset_drop_locks
	movq	%r14, %rdi
	callq	_drm_modeset_acquire_fini
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODESET_ACQUIRE_INTERRUPTIBLE,4,2 ## @DRM_MODESET_ACQUIRE_INTERRUPTIBLE
	.comm	_EDEADLK,4,2                    ## @EDEADLK
	.comm	_connector_status_connected,8,3 ## @connector_status_connected
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DSC_Enabled: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"DSC_Sink_Support: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Force_DSC_Enable: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"FEC_Sink_Support: %s\n"

	.no_dead_strip	_i915_dsc_fec_support_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_dsc_fec_support_show
_i915_dsc_fec_support_show:             ; @i915_dsc_fec_support_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x20, [x0]
	ldr	x21, [x20, #16]
Lloh0:
	adrp	x8, _DRM_MODESET_ACQUIRE_INTERRUPTIBLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODESET_ACQUIRE_INTERRUPTIBLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_drm_modeset_acquire_init
Lloh3:
	adrp	x23, _connector_status_connected@GOTPAGE
Lloh4:
	ldr	x23, [x23, _connector_status_connected@GOTPAGEOFF]
Lloh5:
	adrp	x24, _EDEADLK@GOTPAGE
Lloh6:
	ldr	x24, [x24, _EDEADLK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x21
	bl	_drm_modeset_lock
	cbz	w0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x22, x0
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #8
	bl	_drm_modeset_backoff
	cbz	w0, LBB0_1
	b	LBB0_13
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldp	x9, x8, [x20]
	ldr	x25, [x8]
	ldr	x8, [x23]
	cmp	x9, x8
	ccmp	x25, #0, #4, eq
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x25, #4
	add	x1, sp, #8
	bl	_drm_modeset_lock
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #8
	bl	_drm_modeset_backoff
	cbz	w0, LBB0_1
; %bb.7:
	mov	x22, x0
	b	LBB0_13
LBB0_8:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_13
LBB0_9:
	mov	x22, x0
	cbnz	w0, LBB0_13
; %bb.10:
	mov	x0, x20
	bl	_intel_attached_encoder
	bl	_enc_to_intel_dp
	mov	x20, x0
	ldr	w0, [x25]
	bl	_to_intel_crtc_state
	ldr	w0, [x0]
	bl	_yesno
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	w0, [x20, #8]
	bl	_drm_dp_sink_supports_dsc
	bl	_yesno
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	w0, [x20, #4]
	bl	_yesno
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mov	x0, x20
	bl	_intel_dp_is_edp
	cbnz	w0, LBB0_12
; %bb.11:
	ldr	w0, [x20]
	bl	_drm_dp_sink_supports_fec
	bl	_yesno
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
LBB0_12:
	mov	w22, #0
LBB0_13:
	add	x0, sp, #8
	bl	_drm_modeset_drop_locks
	add	x0, sp, #8
	bl	_drm_modeset_acquire_fini
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODESET_ACQUIRE_INTERRUPTIBLE,4,2 ; @DRM_MODESET_ACQUIRE_INTERRUPTIBLE
	.comm	_EDEADLK,4,2                    ; @EDEADLK
	.comm	_connector_status_connected,8,3 ; @connector_status_connected
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DSC_Enabled: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"DSC_Sink_Support: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Force_DSC_Enable: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"FEC_Sink_Support: %s\n"

	.no_dead_strip	_i915_dsc_fec_support_show
.subsections_via_symbols
