	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_cm_open
_cnic_cm_open:                          ## @cnic_cm_open
	.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	%rdi, %r14
	movq	24(%rdi), %r15
	callq	_cnic_cm_alloc_mem
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	*(%r15)
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_cnic_cm_free_mem
	jmp	LBB0_4
LBB0_2:
	leaq	24(%r15), %rdi
	movq	_cnic_delete_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	_cnic_cm_create@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_cnic_cm_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_cnic_cm_connect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_cnic_cm_abort@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_cnic_cm_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_cnic_cm_select_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	16(%r15), %rax
	movq	_CNIC_ULP_L4@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r14, (%rax,%rcx,8)
	movq	8(%r15), %rax
	movl	(%rax,%rcx,4), %edi
	movq	_cm_ulp_ops@GOTPCREL(%rip), %rsi
	callq	_rcu_assign_pointer
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cnic_delete_task,4,2           ## @cnic_delete_task
	.comm	_cnic_cm_create,4,2             ## @cnic_cm_create
	.comm	_cnic_cm_destroy,4,2            ## @cnic_cm_destroy
	.comm	_cnic_cm_connect,4,2            ## @cnic_cm_connect
	.comm	_cnic_cm_abort,4,2              ## @cnic_cm_abort
	.comm	_cnic_cm_close,4,2              ## @cnic_cm_close
	.comm	_cnic_cm_select_dev,4,2         ## @cnic_cm_select_dev
	.comm	_CNIC_ULP_L4,8,3                ## @CNIC_ULP_L4
	.comm	_cm_ulp_ops,4,2                 ## @cm_ulp_ops
	.no_dead_strip	_cnic_cm_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_cm_open
_cnic_cm_open:                          ; @cnic_cm_open
	.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	x19, x0
	ldr	x21, [x0, #24]
	bl	_cnic_cm_alloc_mem
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x21]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_cnic_cm_free_mem
	b	LBB0_4
LBB0_3:
	add	x0, x21, #24
Lloh0:
	adrp	x8, _cnic_delete_task@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cnic_delete_task@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh3:
	adrp	x8, _cnic_cm_create@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cnic_cm_create@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _cnic_cm_destroy@GOTPAGE
Lloh7:
	ldr	x9, [x9, _cnic_cm_destroy@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _cnic_cm_connect@GOTPAGE
Lloh10:
	ldr	x10, [x10, _cnic_cm_connect@GOTPAGEOFF]
	stp	w9, w8, [x19, #16]
Lloh11:
	ldr	w8, [x10]
Lloh12:
	adrp	x9, _cnic_cm_abort@GOTPAGE
Lloh13:
	ldr	x9, [x9, _cnic_cm_abort@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh15:
	adrp	x8, _cnic_cm_close@GOTPAGE
Lloh16:
	ldr	x8, [x8, _cnic_cm_close@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _cnic_cm_select_dev@GOTPAGE
Lloh19:
	ldr	x9, [x9, _cnic_cm_select_dev@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	ldr	x8, [x21, #16]
Lloh21:
	adrp	x9, _CNIC_ULP_L4@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CNIC_ULP_L4@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	str	x19, [x8, x9, lsl #3]
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x9, lsl #2]
Lloh24:
	adrp	x1, _cm_ulp_ops@GOTPAGE
Lloh25:
	ldr	x1, [x1, _cm_ulp_ops@GOTPAGEOFF]
	bl	_rcu_assign_pointer
LBB0_4:
	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 AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cnic_delete_task,4,2           ; @cnic_delete_task
	.comm	_cnic_cm_create,4,2             ; @cnic_cm_create
	.comm	_cnic_cm_destroy,4,2            ; @cnic_cm_destroy
	.comm	_cnic_cm_connect,4,2            ; @cnic_cm_connect
	.comm	_cnic_cm_abort,4,2              ; @cnic_cm_abort
	.comm	_cnic_cm_close,4,2              ; @cnic_cm_close
	.comm	_cnic_cm_select_dev,4,2         ; @cnic_cm_select_dev
	.comm	_CNIC_ULP_L4,8,3                ; @CNIC_ULP_L4
	.comm	_cm_ulp_ops,4,2                 ; @cm_ulp_ops
	.no_dead_strip	_cnic_cm_open
.subsections_via_symbols
