	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_sysfs_create               ## -- Begin function drm_sysfs_create
	.p2align	4, 0x90
_drm_sysfs_create:                      ## @drm_sysfs_create
	.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
	callq	_class_create
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_4
LBB0_2:
	movq	_drm_class_suspend@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_drm_class_resume@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_class_attr_version@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_class_create_file
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_class_destroy
LBB0_4:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movq	_drm_devnode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drm_class_suspend,4,2          ## @drm_class_suspend
	.comm	_drm_class_resume,4,2           ## @drm_class_resume
	.comm	_class_attr_version,4,2         ## @class_attr_version
	.comm	_drm_devnode,4,2                ## @drm_devnode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_sysfs_create               ; -- Begin function drm_sysfs_create
	.p2align	2
_drm_sysfs_create:                      ; @drm_sysfs_create
	.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
	bl	_class_create
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _drm_class_suspend@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drm_class_suspend@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _drm_class_resume@GOTPAGE
Lloh4:
	ldr	x9, [x9, _drm_class_resume@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
Lloh6:
	adrp	x1, _class_attr_version@GOTPAGE
Lloh7:
	ldr	x1, [x1, _class_attr_version@GOTPAGEOFF]
	mov	x0, x19
	bl	_class_create_file
	cbz	w0, LBB0_5
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	_class_destroy
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_5:
Lloh8:
	adrp	x8, _drm_devnode@GOTPAGE
Lloh9:
	ldr	x8, [x8, _drm_devnode@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_drm_class_suspend,4,2          ; @drm_class_suspend
	.comm	_drm_class_resume,4,2           ; @drm_class_resume
	.comm	_class_attr_version,4,2         ; @class_attr_version
	.comm	_drm_devnode,4,2                ; @drm_devnode
.subsections_via_symbols
