	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c2_llp_accept                  ## -- Begin function c2_llp_accept
	.p2align	4, 0x90
_c2_llp_accept:                         ## @c2_llp_accept
	.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	%rsi, %r13
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_to_c2dev
	movq	%rax, %r15
	movl	24(%rbx), %edi
	movl	16(%r13), %esi
	callq	_c2_get_qp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_to_c2qp
	movq	%rax, %r14
	movl	8(%r13), %ecx
	movl	12(%r13), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_c2_qp_set_read_limits
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.3:
	movq	%r15, %rdi
	callq	_vq_req_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	%r14, 24(%rax)
	movq	%rbx, 16(%rax)
	movq	_IW_CM_EVENT_ESTABLISHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movl	4(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_CCWR_CR_ACCEPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_c2_wr_set_id
	movq	%r12, 40(%r14)
	movl	(%r15), %eax
	movl	%eax, 32(%r14)
	movq	8(%rbx), %rax
	movq	%rax, 24(%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 16(%r14)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	callq	*16(%rbx)
	movq	%rbx, (%r14)
	movq	%r14, 8(%rbx)
	movl	(%r13), %edi
	movq	_C2_MAX_PRIVATE_DATA_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jle	LBB0_9
## %bb.8:
	movq	%r12, %r13
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_23
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	testl	%r12d, %r12d
	jne	LBB0_22
LBB0_21:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_6:
	movq	%r12, %r13
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	subl	(%rcx), %r12d
	jmp	LBB0_19
LBB0_9:
	cmpl	$0, 4(%r13)
	je	LBB0_11
## %bb.10:
	callq	_cpu_to_be32
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	8(%rcx), %rdi
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movq	%rcx, %r13
	callq	_memcpy
	jmp	LBB0_12
LBB0_11:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	$0, (%r13)
LBB0_12:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_vq_req_get
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_vq_send_wr
	movq	%r12, %rsi
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %r12d
	movq	%r15, %rdi
	movq	%rsi, %r13
	callq	_vq_req_put
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_14:
	movq	%r15, %rdi
	movq	%rsi, %r13
	callq	_vq_wait_for_reply
	movl	%eax, %r12d
	testl	%eax, %eax
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_15
LBB0_19:
	movq	%rax, %rdi
	callq	_kfree
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_vq_req_free
	testl	%r12d, %r12d
	je	LBB0_21
LBB0_22:
	movq	$0, 8(%rbx)
	movq	$0, (%r14)
	movq	%rbx, %rdi
	callq	*(%rbx)
LBB0_23:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%r13, %rcx
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.17:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_c2_errno
	movl	%eax, %r12d
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_vq_repbuf_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testl	%r12d, %r12d
	jne	LBB0_19
## %bb.18:
	movq	_C2_QP_STATE_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_c2_set_qp_state
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	xorl	%r12d, %r12d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IW_CM_EVENT_ESTABLISHED,4,2    ## @IW_CM_EVENT_ESTABLISHED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_CCWR_CR_ACCEPT,4,2             ## @CCWR_CR_ACCEPT
	.comm	_C2_MAX_PRIVATE_DATA_SIZE,4,2   ## @C2_MAX_PRIVATE_DATA_SIZE
	.comm	_C2_QP_STATE_RTS,4,2            ## @C2_QP_STATE_RTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c2_llp_accept                  ; -- Begin function c2_llp_accept
	.p2align	2
_c2_llp_accept:                         ; @c2_llp_accept
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x1
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_to_c2dev
	mov	x21, x0
	ldr	w0, [x19, #24]
	ldr	w1, [x24, #16]
	bl	_c2_get_qp
	cbz	x0, LBB0_6
; %bb.1:
	bl	_to_c2qp
	mov	x20, x0
	ldp	w3, w2, [x24, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_c2_qp_set_read_limits
	mov	x25, x0
	cbnz	w0, LBB0_20
; %bb.2:
	mov	x0, x21
	bl	_vq_req_alloc
	cbz	x0, LBB0_7
; %bb.3:
	mov	x22, x0
	stp	x19, x20, [x0, #16]
Lloh0:
	adrp	x8, _IW_CM_EVENT_ESTABLISHED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IW_CM_EVENT_ESTABLISHED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	w0, [x21, #4]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x23, x0
	cbz	x0, LBB0_17
; %bb.4:
Lloh6:
	adrp	x8, _CCWR_CR_ACCEPT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CCWR_CR_ACCEPT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_c2_wr_set_id
	str	x22, [x23, #40]
	ldr	w8, [x21]
	str	w8, [x23, #32]
	ldp	x8, x9, [x19, #8]
	str	x8, [x23, #24]
	ldr	w8, [x20, #8]
	str	w8, [x23, #16]
	str	x20, [x19, #8]
	mov	x0, x19
	blr	x9
	str	x19, [x20]
	str	x20, [x19, #8]
	ldr	w0, [x24]
Lloh9:
	adrp	x8, _C2_MAX_PRIVATE_DATA_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _C2_MAX_PRIVATE_DATA_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_8
; %bb.5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_6:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_21
LBB0_7:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w25, w8
	cbnz	w25, LBB0_20
	b	LBB0_21
LBB0_8:
	ldr	w8, [x24, #4]
	cbz	w8, LBB0_10
; %bb.9:
	bl	_cpu_to_be32
	str	x0, [x23]
	ldr	x0, [x23, #8]
	ldp	w2, w1, [x24]
	bl	_memcpy
	b	LBB0_11
LBB0_10:
	str	xzr, [x23]
LBB0_11:
	mov	x0, x21
	mov	x1, x22
	bl	_vq_req_get
	mov	x0, x21
	mov	x1, x23
	bl	_vq_send_wr
	cbz	w0, LBB0_13
; %bb.12:
	mov	x25, x0
	mov	x0, x21
	mov	x1, x22
	bl	_vq_req_put
	b	LBB0_19
LBB0_13:
	mov	x0, x21
	mov	x1, x22
	bl	_vq_wait_for_reply
	mov	x25, x0
	cbnz	w0, LBB0_19
; %bb.14:
	ldr	x24, [x22]
	cbz	x24, LBB0_17
; %bb.15:
	mov	x0, x24
	bl	_c2_errno
	mov	x25, x0
	mov	x0, x21
	mov	x1, x24
	bl	_vq_repbuf_free
	cbnz	w25, LBB0_19
; %bb.16:
Lloh20:
	adrp	x8, _C2_QP_STATE_RTS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _C2_QP_STATE_RTS@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_c2_set_qp_state
	b	LBB0_19
LBB0_17:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_19:
	mov	x0, x23
	bl	_kfree
	mov	x0, x21
	mov	x1, x22
	bl	_vq_req_free
	cbz	w25, LBB0_21
LBB0_20:
	str	xzr, [x19, #8]
	str	xzr, [x20]
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
LBB0_21:
	mov	x0, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IW_CM_EVENT_ESTABLISHED,4,2    ; @IW_CM_EVENT_ESTABLISHED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_CCWR_CR_ACCEPT,4,2             ; @CCWR_CR_ACCEPT
	.comm	_C2_MAX_PRIVATE_DATA_SIZE,4,2   ; @C2_MAX_PRIVATE_DATA_SIZE
	.comm	_C2_QP_STATE_RTS,4,2            ; @C2_QP_STATE_RTS
.subsections_via_symbols
