	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocxl_file_init                 ## -- Begin function ocxl_file_init
	.p2align	4, 0x90
_ocxl_file_init:                        ## @ocxl_file_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_minors_idr_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_init
	movq	_minors_idr@GOTPCREL(%rip), %rdi
	callq	_idr_init
	movq	_OCXL_NUM_MINORS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_ocxl_dev@GOTPCREL(%rip), %r14
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_alloc_chrdev_region
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_class_create
	movq	_ocxl_class@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_unregister_chrdev_region
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_ocxl_devnode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_minors_idr_lock,4,2            ## @minors_idr_lock
	.comm	_minors_idr,4,2                 ## @minors_idr
	.comm	_ocxl_dev,4,2                   ## @ocxl_dev
	.comm	_OCXL_NUM_MINORS,4,2            ## @OCXL_NUM_MINORS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ocxl"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to allocate ocxl major number: %d\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_ocxl_class,8,3                 ## @ocxl_class
L_.str.2:                               ## @.str.2
	.asciz	"Unable to create ocxl class\n"

	.comm	_ocxl_devnode,4,2               ## @ocxl_devnode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocxl_file_init                 ; -- Begin function ocxl_file_init
	.p2align	2
_ocxl_file_init:                        ; @ocxl_file_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x0, _minors_idr_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _minors_idr_lock@GOTPAGEOFF]
	bl	_mutex_init
Lloh2:
	adrp	x0, _minors_idr@GOTPAGE
Lloh3:
	ldr	x0, [x0, _minors_idr@GOTPAGEOFF]
	bl	_idr_init
Lloh4:
	adrp	x21, _OCXL_NUM_MINORS@GOTPAGE
Lloh5:
	ldr	x21, [x21, _OCXL_NUM_MINORS@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh6:
	adrp	x19, _ocxl_dev@GOTPAGE
Lloh7:
	ldr	x19, [x19, _ocxl_dev@GOTPAGEOFF]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_alloc_chrdev_region
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x20, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
Lloh12:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_class_create
Lloh17:
	adrp	x22, _ocxl_class@GOTPAGE
Lloh18:
	ldr	x22, [x22, _ocxl_class@GOTPAGEOFF]
	str	x0, [x22]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.4:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_unregister_chrdev_region
	ldr	x0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_5:
	mov	w20, #0
Lloh21:
	adrp	x8, _ocxl_devnode@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ocxl_devnode@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	x9, [x22]
	str	w8, [x9]
	b	LBB0_2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_minors_idr_lock,4,2            ; @minors_idr_lock
	.comm	_minors_idr,4,2                 ; @minors_idr
	.comm	_ocxl_dev,4,2                   ; @ocxl_dev
	.comm	_OCXL_NUM_MINORS,4,2            ; @OCXL_NUM_MINORS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ocxl"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to allocate ocxl major number: %d\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_ocxl_class,8,3                 ; @ocxl_class
l_.str.2:                               ; @.str.2
	.asciz	"Unable to create ocxl class\n"

	.comm	_ocxl_devnode,4,2               ; @ocxl_devnode
.subsections_via_symbols
