	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_cm_abort
_cnic_cm_abort:                         ## @cnic_cm_abort
	.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, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movq	_L4_KCQE_OPCODE_VALUE_RESET_COMP@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	callq	_cnic_in_use
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_cnic_abort_prep
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cnic_cm_abort_req              ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%r15)
	xorl	%eax, %eax
	cmpq	%r14, (%rbx)
	je	LBB0_9
## %bb.4:
	addq	$8, %rbx
	movq	_SK_F_PG_OFFLD_COMPLETE@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	callq	_msleep
	jmp	LBB0_6
LBB0_7:
	movq	_EALREADY@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L4_KCQE_OPCODE_VALUE_RESET_COMP,8,3 ## @L4_KCQE_OPCODE_VALUE_RESET_COMP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SK_F_PG_OFFLD_COMPLETE,4,2     ## @SK_F_PG_OFFLD_COMPLETE
	.comm	_EALREADY,4,2                   ## @EALREADY
	.no_dead_strip	_cnic_cm_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_cm_abort
_cnic_cm_abort:                         ; @cnic_cm_abort
	.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	x8, [x0, #16]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _L4_KCQE_OPCODE_VALUE_RESET_COMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _L4_KCQE_OPCODE_VALUE_RESET_COMP@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_cnic_in_use
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_cnic_abort_prep
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	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
	b	_cnic_cm_abort_req
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	ldr	x8, [x21]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	x8, [x19]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_11
LBB0_6:
	add	x19, x19, #8
Lloh5:
	adrp	x20, _SK_F_PG_OFFLD_COMPLETE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _SK_F_PG_OFFLD_COMPLETE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	bl	_msleep
	b	LBB0_7
LBB0_9:
Lloh7:
	adrp	x8, _EALREADY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EALREADY@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_L4_KCQE_OPCODE_VALUE_RESET_COMP,8,3 ; @L4_KCQE_OPCODE_VALUE_RESET_COMP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SK_F_PG_OFFLD_COMPLETE,4,2     ; @SK_F_PG_OFFLD_COMPLETE
	.comm	_EALREADY,4,2                   ; @EALREADY
	.no_dead_strip	_cnic_cm_abort
.subsections_via_symbols
