	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_sysfs_init                 ## -- Begin function drm_sysfs_init
	.p2align	4, 0x90
_drm_sysfs_init:                        ## @drm_sysfs_init
	.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	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_class_create
	movq	_drm_class@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_class_attr_version@GOTPCREL(%rip), %rsi
	callq	_class_create_file
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_class_destroy
	movq	$0, (%rbx)
	jmp	LBB0_4
LBB0_3:
	movq	_drm_devnode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rdi
	movl	%eax, (%rdi)
	callq	_drm_setup_hdcp_srm
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drm"

	.comm	_drm_class,8,3                  ## @drm_class
	.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_init                 ; -- Begin function drm_sysfs_init
	.p2align	2
_drm_sysfs_init:                        ; @drm_sysfs_init
	.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
Lloh0:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_class_create
Lloh5:
	adrp	x20, _drm_class@GOTPAGE
Lloh6:
	ldr	x20, [x20, _drm_class@GOTPAGEOFF]
	str	x0, [x20]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
Lloh7:
	adrp	x1, _class_attr_version@GOTPAGE
Lloh8:
	ldr	x1, [x1, _class_attr_version@GOTPAGEOFF]
	bl	_class_create_file
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x0, [x20]
	bl	_class_destroy
	str	xzr, [x20]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _drm_devnode@GOTPAGE
Lloh10:
	ldr	x8, [x8, _drm_devnode@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x0, [x20]
	str	w8, [x0]
	bl	_drm_setup_hdcp_srm
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drm"

	.comm	_drm_class,8,3                  ; @drm_class
	.comm	_class_attr_version,4,2         ; @class_attr_version
	.comm	_drm_devnode,4,2                ; @drm_devnode
.subsections_via_symbols
