	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_receive_packet                 ## -- Begin function receive_packet
	.p2align	4, 0x90
_receive_packet:                        ## @receive_packet
	.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	%r8d, %ebx
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	_debug@GOTPCREL(%rip), %rcx
	movq	_DEBUG_PACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_timeoutpacket@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_tftp_log
LBB0_2:
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_timeoutbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setjmp
	movl	%eax, _receive_packet.timed_out(%rip)
	movl	%ebx, %edi
	callq	_alarm
	cmpl	$0, _receive_packet.timed_out(%rip)
	je	LBB0_6
## %bb.3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%ebx, %eax
	callq	_tftp_log
	movl	%ebx, %edi
	callq	_alarm
	movq	_RP_TIMEOUT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%r14, %r14
	movl	%r13d, %edx
	leaq	-48(%rbp), %r13
	cmovneq	%r14, %r13
	movl	$4, -44(%rbp)
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r9
	movl	%r12d, %edi
	movq	%r15, %r14
	movq	%r15, %rsi
	movl	%ebx, %ecx
	movq	%r13, %r8
	callq	_recvfrom
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_alarm
	movq	_RP_TIMEOUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_DROPPACKETn
	testl	%r12d, %r12d
	js	LBB0_9
## %bb.7:
	movl	%r12d, %r15d
	cmpl	$3, %r12d
	ja	LBB0_10
## %bb.8:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	movl	%r15d, %edx
	callq	_tftp_log
	movq	_RP_TOOSMALL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_tftp_log
	movl	(%rbx), %eax
	jmp	LBB0_5
LBB0_10:
	movl	(%r14), %edi
	callq	_ntohs
	movq	%rax, (%r14)
	movq	_DATA@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_12
## %bb.11:
	movq	%rax, %rdi
	movq	_ACK@GOTPCREL(%rip), %rdx
	cmpq	%rax, (%rdx)
	jne	LBB0_13
LBB0_12:
	movl	24(%r14), %edi
	callq	_ntohs
	movq	%rax, 24(%r14)
	movq	(%r14), %rdi
	movq	(%rbx), %rcx
LBB0_13:
	cmpq	%rcx, %rdi
	jne	LBB0_16
## %bb.14:
	movq	_pktsize@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jle	LBB0_16
## %bb.15:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_tftp_log
	movq	_RP_TOOBIG@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_16:
	movq	(%r13), %rax
	movq	_peer_sock@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_21
## %bb.18:
	movq	8(%r14), %rax
	movq	_EUNDEF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.19:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_20:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_tftp_log
	movq	_RP_WRONGSOURCE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_21:
	movq	_DEBUG_PACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_debug@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_packettype
	movl	%eax, %ecx
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	movl	%ebx, %edi
	movl	%r15d, %edx
	callq	_tftp_log
LBB0_23:
	addl	$-4, %r12d
	movl	%r12d, %eax
	jmp	LBB0_5
LBB0_24:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %edi
	movl	16(%r14), %edx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_tftp_log
	movq	_RP_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_receive_packet.timed_out,4,2 ## @receive_packet.timed_out
	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_PACKETS,4,2              ## @DEBUG_PACKETS
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Waiting %d seconds for packet"

	.comm	_timeoutpacket,4,2              ## @timeoutpacket
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_timeout,4,2                    ## @timeout
	.comm	_timeoutbuf,4,2                 ## @timeoutbuf
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"receive_packet: timeout"

	.comm	_RP_TIMEOUT,4,2                 ## @RP_TIMEOUT
L_.str.2:                               ## @.str.2
	.asciz	"receive_packet"

	.comm	_errno,4,2                      ## @errno
	.comm	_RP_RECVFROM,4,2                ## @RP_RECVFROM
L_.str.4:                               ## @.str.4
	.asciz	"receive_packet: packet too small (%d bytes)"

	.comm	_RP_TOOSMALL,4,2                ## @RP_TOOSMALL
	.comm	_DATA,8,3                       ## @DATA
	.comm	_ACK,8,3                        ## @ACK
	.comm	_pktsize,4,2                    ## @pktsize
L_.str.5:                               ## @.str.5
	.asciz	"receive_packet: packet too big"

	.comm	_RP_TOOBIG,4,2                  ## @RP_TOOBIG
	.comm	_peer_sock,4,2                  ## @peer_sock
L_.str.6:                               ## @.str.6
	.asciz	"receive_packet: received packet from wrong source"

	.comm	_RP_WRONGSOURCE,4,2             ## @RP_WRONGSOURCE
	.comm	_ERROR,8,3                      ## @ERROR
	.comm	_EUNDEF,8,3                     ## @EUNDEF
L_.str.7:                               ## @.str.7
	.asciz	"Got ERROR packet: %s"

	.comm	_RP_ERROR,4,2                   ## @RP_ERROR
L_.str.8:                               ## @.str.8
	.asciz	"Received %d bytes in a %s packet"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_receive_packet                 ; -- Begin function receive_packet
	.p2align	2
_receive_packet:                        ; @receive_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x24, _debug@GOTPAGE
Lloh1:
	ldr	x24, [x24, _debug@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x25, _DEBUG_PACKETS@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DEBUG_PACKETS@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _timeoutpacket@GOTPAGE
Lloh8:
	ldr	x8, [x8, _timeoutpacket@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
                                        ; kill: def $x8 killed $w8
	mov	x9, sp
	str	x8, [x9]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_tftp_log
LBB0_2:
Lloh12:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _timeout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _timeout@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_signal
Lloh18:
	adrp	x8, _timeoutbuf@GOTPAGE
Lloh19:
	ldr	x8, [x8, _timeoutbuf@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_setjmp
	adrp	x26, _receive_packet.timed_out@PAGE
	str	w0, [x26, _receive_packet.timed_out@PAGEOFF]
	mov	x0, x23
	bl	_alarm
	ldr	w8, [x26, _receive_packet.timed_out@PAGEOFF]
	cbz	w8, LBB0_6
; %bb.3:
Lloh21:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_tftp_log
	mov	w0, #0
	bl	_alarm
Lloh26:
	adrp	x8, _RP_TIMEOUT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RP_TIMEOUT@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	add	x8, sp, #24
	cmp	x21, #0
	csel	x21, x8, x21, eq
	mov	w8, #4
	str	w8, [sp, #20]
	mov	w23, #0
	add	x5, sp, #20
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	mov	w3, #0
	mov	x4, x21
	bl	_recvfrom
	mov	x20, x0
	mov	x0, x23
	bl	_alarm
Lloh28:
	adrp	x22, _RP_TIMEOUT@GOTPAGE
Lloh29:
	ldr	x22, [x22, _RP_TIMEOUT@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DROPPACKETn
	tbnz	w20, #31, LBB0_9
; %bb.7:
	cmp	w20, #3
	b.hi	LBB0_10
; %bb.8:
Lloh32:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x8, x20
	mov	x9, sp
	str	x8, [x9]
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_tftp_log
Lloh37:
	adrp	x8, _RP_TOOSMALL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _RP_TOOSMALL@GOTPAGEOFF]
	b	LBB0_4
LBB0_9:
Lloh39:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str.1@PAGE
Lloh43:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_tftp_log
	ldr	w0, [x22]
	b	LBB0_5
LBB0_10:
	ldr	w0, [x19]
	bl	_ntohs
	str	x0, [x19]
Lloh44:
	adrp	x22, _DATA@GOTPAGE
Lloh45:
	ldr	x22, [x22, _DATA@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x0
	b.eq	LBB0_12
; %bb.11:
Lloh46:
	adrp	x9, _ACK@GOTPAGE
Lloh47:
	ldr	x9, [x9, _ACK@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x0
	b.ne	LBB0_13
LBB0_12:
	ldr	w0, [x19, #24]
	bl	_ntohs
	str	x0, [x19, #24]
	ldr	x0, [x19]
	ldr	x8, [x22]
LBB0_13:
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.14:
Lloh49:
	adrp	x8, _pktsize@GOTPAGE
Lloh50:
	ldr	x8, [x8, _pktsize@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	cmp	w20, w8
	b.le	LBB0_16
; %bb.15:
Lloh52:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh53:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
Lloh55:
	adrp	x1, l_.str.5@PAGE
Lloh56:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_tftp_log
Lloh57:
	adrp	x8, _RP_TOOBIG@GOTPAGE
Lloh58:
	ldr	x8, [x8, _RP_TOOBIG@GOTPAGEOFF]
	b	LBB0_4
LBB0_16:
	ldr	x8, [x21]
Lloh59:
	adrp	x9, _peer_sock@GOTPAGE
Lloh60:
	ldr	x9, [x9, _peer_sock@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.17:
Lloh62:
	adrp	x8, _ERROR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.18:
	ldr	x8, [x19, #8]
Lloh65:
	adrp	x9, _EUNDEF@GOTPAGE
Lloh66:
	ldr	x9, [x9, _EUNDEF@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
Lloh68:
	adrp	x10, _LOG_DEBUG@GOTPAGE
Lloh69:
	ldr	x10, [x10, _LOG_DEBUG@GOTPAGEOFF]
Lloh70:
	adrp	x11, _LOG_ERR@GOTPAGE
Lloh71:
	ldr	x11, [x11, _LOG_ERR@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ldr	w8, [x19, #16]
                                        ; kill: def $x8 killed $w8
	mov	x9, sp
	str	x8, [x9]
Lloh72:
	adrp	x1, l_.str.7@PAGE
Lloh73:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_tftp_log
Lloh74:
	adrp	x8, _RP_ERROR@GOTPAGE
Lloh75:
	ldr	x8, [x8, _RP_ERROR@GOTPAGEOFF]
	b	LBB0_4
LBB0_19:
Lloh76:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh77:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
Lloh79:
	adrp	x1, l_.str.6@PAGE
Lloh80:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_tftp_log
Lloh81:
	adrp	x8, _RP_WRONGSOURCE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _RP_WRONGSOURCE@GOTPAGEOFF]
	b	LBB0_4
LBB0_20:
	ldr	w8, [x24]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
Lloh83:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh84:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh85:
	ldr	w19, [x8]
	bl	_packettype
	mov	x8, x0
	mov	x9, sp
	mov	x10, x20
	stp	x10, x8, [x9]
Lloh86:
	adrp	x1, l_.str.8@PAGE
Lloh87:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_tftp_log
LBB0_22:
	sub	w0, w20, #4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_receive_packet.timed_out,4,2 ; @receive_packet.timed_out
	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_PACKETS,4,2              ; @DEBUG_PACKETS
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Waiting %d seconds for packet"

	.comm	_timeoutpacket,4,2              ; @timeoutpacket
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_timeout,4,2                    ; @timeout
	.comm	_timeoutbuf,4,2                 ; @timeoutbuf
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"receive_packet: timeout"

	.comm	_RP_TIMEOUT,4,2                 ; @RP_TIMEOUT
l_.str.2:                               ; @.str.2
	.asciz	"receive_packet"

	.comm	_errno,4,2                      ; @errno
	.comm	_RP_RECVFROM,4,2                ; @RP_RECVFROM
l_.str.4:                               ; @.str.4
	.asciz	"receive_packet: packet too small (%d bytes)"

	.comm	_RP_TOOSMALL,4,2                ; @RP_TOOSMALL
	.comm	_DATA,8,3                       ; @DATA
	.comm	_ACK,8,3                        ; @ACK
	.comm	_pktsize,4,2                    ; @pktsize
l_.str.5:                               ; @.str.5
	.asciz	"receive_packet: packet too big"

	.comm	_RP_TOOBIG,4,2                  ; @RP_TOOBIG
	.comm	_peer_sock,4,2                  ; @peer_sock
l_.str.6:                               ; @.str.6
	.asciz	"receive_packet: received packet from wrong source"

	.comm	_RP_WRONGSOURCE,4,2             ; @RP_WRONGSOURCE
	.comm	_ERROR,8,3                      ; @ERROR
	.comm	_EUNDEF,8,3                     ; @EUNDEF
l_.str.7:                               ; @.str.7
	.asciz	"Got ERROR packet: %s"

	.comm	_RP_ERROR,4,2                   ; @RP_ERROR
l_.str.8:                               ; @.str.8
	.asciz	"Received %d bytes in a %s packet"

.subsections_via_symbols
