	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cnic_ring_ctl
_cnic_ring_ctl:                         ## @cnic_ring_ctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_DRV_CTL_STOP_L2_CMD@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_DRV_CTL_START_L2_CMD@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movq	%rsi, -8(%rbp)
	movq	%rdx, -16(%rbp)
	movl	(%rdi), %edi
	leaq	-24(%rbp), %rsi
	callq	*(%rax)
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV_CTL_START_L2_CMD,4,2       ## @DRV_CTL_START_L2_CMD
	.comm	_DRV_CTL_STOP_L2_CMD,4,2        ## @DRV_CTL_STOP_L2_CMD
	.no_dead_strip	_cnic_ring_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cnic_ring_ctl
_cnic_ring_ctl:                         ; @cnic_ring_ctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _DRV_CTL_STOP_L2_CMD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRV_CTL_STOP_L2_CMD@GOTPAGEOFF]
Lloh2:
	adrp	x10, _DRV_CTL_START_L2_CMD@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DRV_CTL_START_L2_CMD@GOTPAGEOFF]
	cmp	w3, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	str	w9, [sp, #8]
	stp	x2, x1, [sp, #16]
	ldr	x8, [x8]
	ldr	w0, [x0]
	add	x1, sp, #8
	blr	x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV_CTL_START_L2_CMD,4,2       ; @DRV_CTL_START_L2_CMD
	.comm	_DRV_CTL_STOP_L2_CMD,4,2        ; @DRV_CTL_STOP_L2_CMD
	.no_dead_strip	_cnic_ring_ctl
.subsections_via_symbols
