	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_config_helper_suspend ## -- Begin function drm_mode_config_helper_suspend
	.p2align	4, 0x90
_drm_mode_config_helper_suspend:        ## @drm_mode_config_helper_suspend
	.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
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	callq	_drm_kms_helper_poll_disable
	movl	8(%rbx), %edi
	movl	$1, %esi
	callq	_drm_fb_helper_set_suspend_unlocked
	movq	%rbx, %rdi
	callq	_drm_atomic_helper_suspend
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	callq	_drm_fb_helper_set_suspend_unlocked
	movq	%rbx, %rdi
	callq	_drm_kms_helper_poll_enable
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	%r14, (%rbx)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_config_helper_suspend ; -- Begin function drm_mode_config_helper_suspend
	.p2align	2
_drm_mode_config_helper_suspend:        ; @drm_mode_config_helper_suspend
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_drm_kms_helper_poll_disable
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_drm_fb_helper_set_suspend_unlocked
	mov	x0, x19
	bl	_drm_atomic_helper_suspend
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_drm_fb_helper_set_suspend_unlocked
	mov	x0, x19
	bl	_drm_kms_helper_poll_enable
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
	str	x20, [x19]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
