	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_release_load_detect_pipe ## -- Begin function intel_release_load_detect_pipe
	.p2align	4, 0x90
_intel_release_load_detect_pipe:        ## @intel_release_load_detect_pipe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_intel_attached_encoder
	movq	(%r15), %r15
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_drm_atomic_helper_commit_duplicated_state
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_DRM_DEBUG_KMS
LBB0_3:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_atomic_state_put           ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[CONNECTOR:%d:%s], [ENCODER:%d:%s]\n"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't release load detect pipe: %i\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_release_load_detect_pipe ; -- Begin function intel_release_load_detect_pipe
	.p2align	2
_intel_release_load_detect_pipe:        ; @intel_release_load_detect_pipe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_intel_attached_encoder
	ldr	x19, [x19]
	ldp	w8, w1, [x21]
	ldp	w10, w9, [x0]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	cbz	x19, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_drm_atomic_helper_commit_duplicated_state
	cbz	w0, LBB0_3
; %bb.2:
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG_KMS
LBB0_3:
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_drm_atomic_state_put
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[CONNECTOR:%d:%s], [ENCODER:%d:%s]\n"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't release load detect pipe: %i\n"

.subsections_via_symbols
