	.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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	testl	%r13d, %r13d
	jne	LBB0_1
## %bb.2:
	movq	_DRV_CTL_STOP_L2_CMD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DRV_CTL_START_L2_CMD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%r15, -48(%rbp)
	movq	%r14, -56(%rbp)
	movl	(%rbx), %edi
	leaq	-64(%rbp), %rsi
	callq	*(%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _DRV_CTL_STOP_L2_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRV_CTL_STOP_L2_CMD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DRV_CTL_START_L2_CMD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRV_CTL_START_L2_CMD@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #8]
	stp	x20, x21, [sp, #16]
	ldr	x8, [x23]
	ldr	w0, [x22]
	add	x1, sp, #8
	blr	x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	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
