	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swrap_recv                     ## -- Begin function swrap_recv
	.p2align	4, 0x90
_swrap_recv:                            ## @swrap_recv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movl	%edi, %ebx
	callq	_find_socket_info
	movq	%rax, %r14
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	callq	_real_recv
	movl	%eax, %ebx
	testq	%r14, %r14
	je	LBB0_9
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	cmpl	$-1, %ebx
	jne	LBB0_7
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.4:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movq	_SWRAP_RECV_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_swrap_dump_packet
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	_SWRAP_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r15, %rcx
	movl	%ebx, %r8d
	jmp	LBB0_8
LBB0_6:
	movq	_SWRAP_RECV_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_8:
	callq	_swrap_dump_packet
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_ENOBUFS,8,3                    ## @ENOBUFS
	.comm	_SWRAP_RECV_RST,4,2             ## @SWRAP_RECV_RST
	.comm	_SWRAP_RECV,4,2                 ## @SWRAP_RECV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swrap_recv                     ; -- Begin function swrap_recv
	.p2align	2
_swrap_recv:                            ; @swrap_recv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	bl	_find_socket_info
	mov	x19, x0
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_real_recv
	mov	x20, x0
	cbz	x19, LBB0_7
; %bb.1:
	cbz	w20, LBB0_5
; %bb.2:
	cmn	w20, #1
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ENOBUFS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ENOBUFS@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, _SWRAP_RECV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SWRAP_RECV@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x3, x21
	mov	x4, x20
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _SWRAP_RECV_RST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SWRAP_RECV_RST@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
LBB0_6:
	bl	_swrap_dump_packet
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh15:
	adrp	x8, _SWRAP_RECV_RST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SWRAP_RECV_RST@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	bl	_swrap_dump_packet
	mov	w20, #-1
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_ENOBUFS,8,3                    ; @ENOBUFS
	.comm	_SWRAP_RECV_RST,4,2             ; @SWRAP_RECV_RST
	.comm	_SWRAP_RECV,4,2                 ; @SWRAP_RECV
.subsections_via_symbols
