	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_chk_pkt_rings
_cnic_chk_pkt_rings:                    ## @cnic_chk_pkt_rings
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_CNIC_LCL_FL_RINGS_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rax), %r13
	movq	(%rcx), %r12
	cmpq	%r12, 16(%rbx)
	jne	LBB0_3
## %bb.2:
	cmpq	%r13, 24(%rbx)
	je	LBB0_9
LBB0_3:
	movq	_CNIC_LCL_FL_L2_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_cnic_l2_completion
	movl	%eax, %r15d
	jmp	LBB0_6
LBB0_4:
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r12, 16(%rbx)
	movq	%r13, 24(%rbx)
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_uio_event_notify
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.10:
	movq	_CNIC_LCL_FL_L2_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CNIC_LCL_FL_RINGS_INITED,4,2   ## @CNIC_LCL_FL_RINGS_INITED
	.comm	_CNIC_LCL_FL_L2_WAIT,4,2        ## @CNIC_LCL_FL_L2_WAIT
	.no_dead_strip	_cnic_chk_pkt_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_chk_pkt_rings
_cnic_chk_pkt_rings:                    ; @cnic_chk_pkt_rings
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _CNIC_LCL_FL_RINGS_INITED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CNIC_LCL_FL_RINGS_INITED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x19, x20, #32
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.1:
	ldp	x8, x9, [x20]
	ldr	x22, [x8]
	ldr	x24, [x9]
	ldr	x8, [x20, #16]
	cmp	x8, x24
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x20, #24]
	cmp	x8, x22
	b.eq	LBB0_10
LBB0_3:
Lloh3:
	adrp	x23, _CNIC_LCL_FL_L2_WAIT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CNIC_LCL_FL_L2_WAIT@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_cnic_l2_completion
	mov	x21, x0
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	stp	x24, x22, [x20, #16]
	ldr	x0, [x20, #40]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_uio_event_notify
LBB0_8:
	cbz	w21, LBB0_10
; %bb.9:
	ldr	w0, [x23]
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_clear_bit
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CNIC_LCL_FL_RINGS_INITED,4,2   ; @CNIC_LCL_FL_RINGS_INITED
	.comm	_CNIC_LCL_FL_L2_WAIT,4,2        ; @CNIC_LCL_FL_L2_WAIT
	.no_dead_strip	_cnic_chk_pkt_rings
.subsections_via_symbols
