	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_receive_message                ## -- Begin function receive_message
	.p2align	4, 0x90
_receive_message:                       ## @receive_message
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	cmpl	$4, (%rdx)
	jl	LBB0_8
## %bb.1:
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_rwm_fetch_lookup
	xorl	%edi, %edi
	cmpl	$4, %eax
	sete	%dil
	callq	_assert
	movl	-20(%rbp), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	%rbx, %rdi
	callq	_work_resend_request_ext
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_UDP_FUNC
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_9:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_work_resend_request
	jmp	LBB0_9
LBB0_6:
	movq	%rbx, %rdi
	callq	_work_obsolete_hash
	jmp	LBB0_9
LBB0_7:
	movq	%rbx, %rdi
	callq	_work_obsolete_generation
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_work_obsolete_pid
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_receive_message                ; -- Begin function receive_message
	.p2align	2
_receive_message:                       ; @receive_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	ldr	w8, [x2]
	cmp	w8, #4
	b.lt	LBB0_4
; %bb.1:
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #4
	bl	_rwm_fetch_lookup
	cmp	w0, #4
	cset	w0, eq
	bl	_assert
	ldr	w8, [sp, #12]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x19
	bl	_work_resend_request_ext
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_UDP_FUNC
	ldr	x8, [x0]
	mov	x0, x19
	blr	x8
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	mov	x0, x19
	bl	_work_resend_request
	b	LBB0_5
LBB0_7:
	mov	x0, x19
	bl	_work_obsolete_hash
	b	LBB0_5
LBB0_8:
	mov	x0, x19
	bl	_work_obsolete_generation
	b	LBB0_5
LBB0_9:
	mov	x0, x19
	bl	_work_obsolete_pid
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
                                        ; -- End function
.subsections_via_symbols
