	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function c2_adapter_init
_c2_adapter_init:                       ## @c2_adapter_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_CCWR_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_c2_wr_set_id
	movq	$0, -24(%rbp)
	movl	20(%rbx), %edi
	callq	_cpu_to_be64
	movq	%rax, -32(%rbp)
	movl	16(%rbx), %edi
	callq	_cpu_to_be64
	movq	%rax, -40(%rbp)
	movl	12(%rbx), %edi
	callq	_cpu_to_be64
	movq	%rax, -48(%rbp)
	movl	8(%rbx), %edi
	callq	_cpu_to_be64
	movq	%rax, -56(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_be64
	movq	%rax, -64(%rbp)
	movl	(%rbx), %edi
	callq	_cpu_to_be64
	movq	%rax, -72(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_vq_send_wr
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCWR_INIT,4,2                  ## @CCWR_INIT
	.no_dead_strip	_c2_adapter_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function c2_adapter_init
_c2_adapter_init:                       ; @c2_adapter_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh0:
	adrp	x8, _CCWR_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCWR_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_c2_wr_set_id
	str	xzr, [sp, #56]
	ldr	w0, [x19, #20]
	bl	_cpu_to_be64
	str	x0, [sp, #48]
	ldr	w0, [x19, #16]
	bl	_cpu_to_be64
	str	x0, [sp, #40]
	ldr	w0, [x19, #12]
	bl	_cpu_to_be64
	str	x0, [sp, #32]
	ldr	w0, [x19, #8]
	bl	_cpu_to_be64
	str	x0, [sp, #24]
	ldr	w0, [x19, #4]
	bl	_cpu_to_be64
	str	x0, [sp, #16]
	ldr	w0, [x19]
	bl	_cpu_to_be64
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_vq_send_wr
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CCWR_INIT,4,2                  ; @CCWR_INIT
	.no_dead_strip	_c2_adapter_init
.subsections_via_symbols
