	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recv_pkt_recv
_recv_pkt_recv:                         ## @recv_pkt_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
	movq	%r9, %r13
	movq	%r8, %r15
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movslq	%esi, %r14
	movl	(%rax,%r14,4), %edi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	xorl	%ecx, %ecx
	callq	_recv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_get_clock_type
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_clock_gettime
	testq	%r12, %r12
	js	LBB0_1
## %bb.2:
	cmpq	%r15, %r12
	jge	LBB0_3
LBB0_4:
	movl	8(%rbx), %edx
	movq	(%rbx), %rax
	movl	(%rax,%r14,4), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_errx                           ## TAILCALL
LBB0_1:
	movl	8(%rbx), %edx
	movq	(%rbx), %rax
	movl	(%rax,%r14,4), %r8d
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_err
	cmpq	%r15, %r12
	jl	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s: recv(%d)"

L_.str.1:                               ## @.str.1
	.asciz	"%s: %s: recv(%d): short recv"

	.no_dead_strip	_recv_pkt_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recv_pkt_recv
_recv_pkt_recv:                         ; @recv_pkt_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	x23, x5
	mov	x21, x4
	mov	x19, x2
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x20, x0
	ldr	x8, [x0]
	sxtw	x24, w1
	ldr	w0, [x8, w1, sxtw #2]
	mov	x1, x3
	mov	x2, x4
	mov	w3, #0
	bl	_recv
	mov	x22, x0
	mov	x0, x20
	bl	_get_clock_type
	mov	x1, x23
	bl	_clock_gettime
	tbnz	x22, #63, LBB0_3
; %bb.1:
	cmp	x22, x21
	b.ge	LBB0_4
LBB0_2:
	ldr	x8, [x20]
	ldr	w4, [x8, x24, lsl #2]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	w2, [x20, #8]
	mov	w0, #1
	mov	x3, x19
	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
	b	_errx
LBB0_3:
	ldr	w2, [x20, #8]
	ldr	x8, [x20]
	ldr	w4, [x8, x24, lsl #2]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x3, x19
	bl	_err
	cmp	x22, x21
	b.lt	LBB0_2
LBB0_4:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s: recv(%d)"

l_.str.1:                               ; @.str.1
	.asciz	"%s: %s: recv(%d): short recv"

	.no_dead_strip	_recv_pkt_recv
.subsections_via_symbols
