	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcc_recvmsg                    ## -- Begin function vcc_recvmsg
	.p2align	4, 0x90
_vcc_recvmsg:                           ## @vcc_recvmsg
	.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	%rcx, %r12
	movq	%rdx, %r13
	movq	8(%rsi), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movq	$0, 8(%r13)
	movq	(%rsi), %rax
	movq	_SS_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	%r8d, %ebx
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%r8d, %eax
	je	LBB0_6
## %bb.2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_4
LBB0_3:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
LBB0_4:
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_ATM_SD
	movq	%rax, %r14
	movq	_ATM_VF_RELEASED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:
	movq	_ATM_VF_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.8:
	movq	_ATM_VF_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	leaq	-44(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_skb_recv_datagram
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, %rbx
	movslq	(%rax), %r14
	cmpq	%r12, %r14
	jbe	LBB0_12
## %bb.11:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
	movl	%r12d, %r14d
LBB0_12:
	movl	(%r13), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_skb_copy_datagram_iovec
	movl	%eax, %r15d
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.13:
	movq	%r13, %rdi
	movq	%r14, %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_sock_recv_ts_and_drops
	movq	%r14, %rdi
	callq	_atomic_read
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	movl	4(%rbx), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_atm_return
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_skb_free_datagram
                                        ## kill: def $r15d killed $r15d killed $r15
	jmp	LBB0_5
LBB0_14:
	movl	-44(%rbp), %r15d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SS_CONNECTED,8,3               ## @SS_CONNECTED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ATM_VF_RELEASED,4,2            ## @ATM_VF_RELEASED
	.comm	_ATM_VF_CLOSE,4,2               ## @ATM_VF_CLOSE
	.comm	_ATM_VF_READY,4,2               ## @ATM_VF_READY
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RcvM %d -= %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcc_recvmsg                    ; -- Begin function vcc_recvmsg
	.p2align	2
_vcc_recvmsg:                           ; @vcc_recvmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
	str	xzr, [x2, #8]
	ldp	x8, x19, [x1]
Lloh3:
	adrp	x9, _SS_CONNECTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SS_CONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x23, x4
Lloh6:
	adrp	x24, _MSG_DONTWAIT@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MSG_DONTWAIT@GOTPAGEOFF]
	ldr	w8, [x24]
	bics	wzr, w4, w8
	b.eq	LBB0_6
; %bb.2:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x22, x3
	mov	x20, x2
	mov	x0, x1
	bl	_ATM_SD
	mov	x21, x0
Lloh12:
	adrp	x8, _ATM_VF_RELEASED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ATM_VF_RELEASED@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_8
; %bb.7:
Lloh15:
	adrp	x8, _ATM_VF_CLOSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ATM_VF_CLOSE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_9
LBB0_8:
	mov	w0, #0
	b	LBB0_5
LBB0_9:
Lloh18:
	adrp	x8, _ATM_VF_READY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ATM_VF_READY@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.10:
	ldr	w8, [x24]
	and	w2, w8, w23
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x23
	bl	_skb_recv_datagram
	cbz	x0, LBB0_15
; %bb.11:
	mov	x23, x0
	ldrsw	x24, [x0]
	cmp	x24, x22
	b.ls	LBB0_13
; %bb.12:
Lloh21:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	mov	x24, x22
LBB0_13:
	ldr	w2, [x20]
	mov	x0, x23
	mov	w1, #0
	mov	x3, x24
	bl	_skb_copy_datagram_iovec
	str	w0, [sp, #12]
	cbnz	w0, LBB0_5
; %bb.14:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_sock_recv_ts_and_drops
	mov	x0, x19
	bl	_atomic_read
	mov	x1, x0
	ldr	w2, [x23, #4]
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w1, [x23, #4]
	mov	x0, x21
	bl	_atm_return
	mov	x0, x19
	mov	x1, x23
	bl	_skb_free_datagram
	mov	x0, x24
	b	LBB0_5
LBB0_15:
	ldr	w0, [sp, #12]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SS_CONNECTED,8,3               ; @SS_CONNECTED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ATM_VF_RELEASED,4,2            ; @ATM_VF_RELEASED
	.comm	_ATM_VF_CLOSE,4,2               ; @ATM_VF_CLOSE
	.comm	_ATM_VF_READY,4,2               ; @ATM_VF_READY
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RcvM %d -= %d\n"

.subsections_via_symbols
