	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_class_suspend
_drm_class_suspend:                     ## @drm_class_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
	movq	(%rdi), %rax
	cmpq	_drm_sysfs_device_minor@GOTPCREL(%rip), %rax
	jne	LBB0_4
## %bb.1:
	movl	%esi, %ebx
	callq	_to_drm_minor
	movq	(%rax), %rcx
	movq	_DRM_MINOR_LEGACY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	movq	8(%rax), %r14
	movq	_DRIVER_MODESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_drm_core_check_feature
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_drm_sysfs_device_minor,4,2     ## @drm_sysfs_device_minor
	.comm	_DRM_MINOR_LEGACY,8,3           ## @DRM_MINOR_LEGACY
	.comm	_DRIVER_MODESET,4,2             ## @DRIVER_MODESET
	.no_dead_strip	_drm_class_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_class_suspend
_drm_class_suspend:                     ; @drm_class_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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _drm_sysfs_device_minor@GOTPAGE
Lloh1:
	ldr	x9, [x9, _drm_sysfs_device_minor@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	bl	_to_drm_minor
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _DRM_MINOR_LEGACY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRM_MINOR_LEGACY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x20, [x0, #8]
Lloh5:
	adrp	x8, _DRIVER_MODESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DRIVER_MODESET@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_drm_core_check_feature
	cbz	w0, LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x20]
	ldr	x2, [x8]
	cbz	x2, LBB0_3
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_drm_sysfs_device_minor,4,2     ; @drm_sysfs_device_minor
	.comm	_DRM_MINOR_LEGACY,8,3           ; @DRM_MINOR_LEGACY
	.comm	_DRIVER_MODESET,4,2             ; @DRIVER_MODESET
	.no_dead_strip	_drm_class_suspend
.subsections_via_symbols
