	.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
	subq	$16, %rsp
	movl	$4, -4(%rbp)
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jae	LBB0_2
## %bb.1:
	movq	_WSAEMSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rcx, %r8
	movl	(%rdi), %edi
	leaq	-4(%rbp), %r9
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_recvfrom
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_WSAEMSGSIZE,4,2                ## @WSAEMSGSIZE
.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, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #4
	stur	w8, [x29, #-4]
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _WSAEMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WSAEMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x4, x3
	ldr	w0, [x0]
	sub	x5, x29, #4
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #0
	bl	_recvfrom
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_WSAEMSGSIZE,4,2                ; @WSAEMSGSIZE
.subsections_via_symbols
