	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_get_instance
_ocrdma_get_instance:                   ## @ocrdma_get_instance
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$0, -12(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ocrdma_dev_id@GOTPCREL(%rip), %rdi
	callq	_idr_pre_get
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_ocrdma_dev_id@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	leaq	-12(%rbp), %rdx
	xorl	%esi, %esi
	callq	_idr_get_new
	negq	%rax
	sbbl	%ebx, %ebx
	orl	-12(%rbp), %ebx
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ocrdma_dev_id,4,2              ## @ocrdma_dev_id
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_ocrdma_get_instance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_get_instance
_ocrdma_get_instance:                   ; @ocrdma_get_instance
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	wzr, [x29, #-4]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, _ocrdma_dev_id@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ocrdma_dev_id@GOTPAGEOFF]
	bl	_idr_pre_get
	cbz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, _ocrdma_dev_id@GOTPAGE
Lloh6:
	ldr	x0, [x0, _ocrdma_dev_id@GOTPAGEOFF]
	sub	x2, x29, #4
	mov	x1, #0
	bl	_idr_get_new
	ldur	w8, [x29, #-4]
	cmp	x0, #0
	csinv	w0, w8, wzr, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ocrdma_dev_id,4,2              ; @ocrdma_dev_id
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_ocrdma_get_instance
.subsections_via_symbols
