	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_hdmi_hdcp_toggle_signalling
_intel_hdmi_hdcp_toggle_signalling:     ## @intel_hdmi_hdcp_toggle_signalling
	.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	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	(%r14), %edi
	callq	_to_i915
	movq	%rax, %r12
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.1:
	movl	$6, %edi
	movl	$60, %esi
	callq	_usleep_range
LBB0_2:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_intel_ddi_toggle_hdcp_signalling
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	testl	%r15d, %r15d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_DRM_ERROR
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	callq	_IS_KABYLAKE
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kbl_repositioning_enc_en_signal ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s HDCP signalling failed (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Enable"

L_.str.2:                               ## @.str.2
	.asciz	"Disable"

	.no_dead_strip	_intel_hdmi_hdcp_toggle_signalling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_hdmi_hdcp_toggle_signalling
_intel_hdmi_hdcp_toggle_signalling:     ; @intel_hdmi_hdcp_toggle_signalling
	.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, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	ldr	w0, [x19]
	bl	_to_i915
	mov	x22, x0
	cbnz	w20, LBB0_2
; %bb.1:
	mov	w0, #6
	mov	w1, #60
	bl	_usleep_range
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_intel_ddi_toggle_hdcp_signalling
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w20, #0
	csel	x1, x9, x8, ne
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_DRM_ERROR
LBB0_4:
	mov	x0, x21
	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
LBB0_5:
	mov	x0, x22
	bl	_IS_KABYLAKE
	cbz	w20, LBB0_4
; %bb.6:
	cbz	x0, LBB0_4
; %bb.7:
	mov	x0, x19
	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	_kbl_repositioning_enc_en_signal
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s HDCP signalling failed (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Enable"

l_.str.2:                               ; @.str.2
	.asciz	"Disable"

	.no_dead_strip	_intel_hdmi_hdcp_toggle_signalling
.subsections_via_symbols
