	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_resource_common
_create_resource_common:                ## @create_resource_common
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	%edx, 8(%rsi)
	callq	_spin_lock_irq
	movq	_MLX5_USER_INDEX_LEN@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	leaq	4(%r12), %rdi
	orl	(%r15), %ebx
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_radix_tree_insert
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_spin_unlock_irq
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.1:
	leaq	16(%r15), %rdi
	movl	$1, %esi
	callq	_refcount_set
	leaq	12(%r15), %rdi
	callq	_init_completion
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_USER_INDEX_LEN,4,2        ## @MLX5_USER_INDEX_LEN
	.comm	_current,8,3                    ## @current
	.no_dead_strip	_create_resource_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_resource_common
_create_resource_common:                ; @create_resource_common
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	w2, [x1, #8]
	bl	_spin_lock_irq
	add	x0, x21, #4
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MLX5_USER_INDEX_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_USER_INDEX_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w1, w9, w8
	mov	x2, x19
	bl	_radix_tree_insert
	mov	x20, x0
	mov	x0, x21
	bl	_spin_unlock_irq
	cbnz	w20, LBB0_2
; %bb.1:
	add	x0, x19, #16
	mov	w1, #1
	bl	_refcount_set
	add	x0, x19, #12
	bl	_init_completion
Lloh3:
	adrp	x8, _current@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_USER_INDEX_LEN,4,2        ; @MLX5_USER_INDEX_LEN
	.comm	_current,8,3                    ; @current
	.no_dead_strip	_create_resource_common
.subsections_via_symbols
