	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c2_del_addr                    ## -- Begin function c2_del_addr
	.p2align	4, 0x90
_c2_del_addr:                           ## @c2_del_addr
	.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
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_vq_req_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	4(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	_CCWR_RNIC_SETCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_c2_wr_set_id
	movq	%r14, 16(%r12)
	movl	(%r15), %eax
	movl	%eax, 8(%r12)
	movq	_C2_CFG_DEL_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movl	%eax, 4(%r12)
	movq	%rbx, -48(%rbp)
	movq	%r13, -56(%rbp)
	movq	$0, -64(%rbp)
	movl	(%r12), %edi
	leaq	-64(%rbp), %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vq_req_get
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_vq_send_wr
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vq_req_put
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vq_wait_for_reply
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	(%r14), %r13
	testq	%r13, %r13
	je	LBB0_8
## %bb.9:
	movq	%r13, %rdi
	callq	_c2_errno
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_vq_repbuf_free
	jmp	LBB0_10
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movq	%r12, %rdi
	callq	_kfree
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vq_req_free
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_CCWR_RNIC_SETCONFIG,4,2        ## @CCWR_RNIC_SETCONFIG
	.comm	_C2_CFG_DEL_ADDR,4,2            ## @C2_CFG_DEL_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c2_del_addr                    ; -- Begin function c2_del_addr
	.p2align	2
_c2_del_addr:                           ; @c2_del_addr
	.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	x22, x2
	mov	x23, x1
	mov	x19, x0
	bl	_vq_req_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x8, _CCWR_RNIC_SETCONFIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CCWR_RNIC_SETCONFIG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_c2_wr_set_id
	str	x20, [x21, #16]
	ldr	w8, [x19]
	str	w8, [x21, #8]
Lloh6:
	adrp	x8, _C2_CFG_DEL_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _C2_CFG_DEL_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	str	w0, [x21, #4]
	stp	x22, x23, [sp, #16]
	str	xzr, [sp, #8]
	ldr	w0, [x21]
	add	x1, sp, #8
	mov	w2, #24
	bl	_memcpy
	mov	x0, x19
	mov	x1, x20
	bl	_vq_req_get
	mov	x0, x19
	mov	x1, x21
	bl	_vq_send_wr
	cbz	w0, LBB0_6
; %bb.3:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_vq_req_put
	b	LBB0_10
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_12
LBB0_5:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_vq_wait_for_reply
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.7:
	ldr	x23, [x20]
	cbz	x23, LBB0_9
; %bb.8:
	mov	x0, x23
	bl	_c2_errno
	mov	x22, x0
	mov	x0, x19
	mov	x1, x23
	bl	_vq_repbuf_free
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
	mov	x0, x21
	bl	_kfree
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_vq_req_free
LBB0_12:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_CCWR_RNIC_SETCONFIG,4,2        ; @CCWR_RNIC_SETCONFIG
	.comm	_C2_CFG_DEL_ADDR,4,2            ; @C2_CFG_DEL_ADDR
.subsections_via_symbols
