	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendNeedFragIcmp               ## -- Begin function SendNeedFragIcmp
	.p2align	4, 0x90
_SendNeedFragIcmp:                      ## @SendNeedFragIcmp
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IP_MAXPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	40(%r15), %edi
	callq	_ntohs
	movq	_IP_MF@GOTPCREL(%rip), %rcx
	movq	_IP_DF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	xorl	%ebx, %ebx
	testl	%edx, %eax
	jne	LBB0_4
## %bb.1:
	movq	(%r15), %rax
	movq	_IPPROTO_ICMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	leaq	48(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_ICMP_UNREACH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%r14)
	movq	_ICMP_UNREACH_NEEDFRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r14)
	movq	$0, 48(%r14)
	movq	$0, 112(%r14)
	movl	%r13d, %edi
	callq	_htons
	movq	%rax, 104(%r14)
	movl	8(%r15), %eax
	movl	12(%r15), %ecx
	leal	(,%rax,4), %edx
	subl	%edx, %ecx
	cmpl	$8, %ecx
	movl	$8, %edx
	cmovll	%ecx, %edx
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	leal	(%rdx,%rax,4), %r12d
	movq	_ICMP_MINLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	(%r12,%rbx), %r13d
	movq	%r14, %rdi
	addq	$56, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	_mla@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_LibAliasInternetChecksum
	movq	%rax, 48(%r14)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$48, %edx
	callq	_memcpy
	movl	$4, 16(%r14)
	movl	$5, 8(%r14)
	leal	(%rbx,%r12), %edi
	addl	$48, %edi
	callq	_htons
	movl	%eax, 12(%r14)
	movq	_IPPROTO_ICMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	$0, 32(%r14)
	rolq	$32, 20(%r14)
	movq	_mla@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IP_MAXPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_LibAliasIn
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	20(%r14), %eax
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	$16, %r9d
	callq	_sendto
	movl	$1, %ebx
	cmpl	%r13d, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_Warn
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_MAXPACKET,4,2               ## @IP_MAXPACKET
	.comm	_IP_MF,4,2                      ## @IP_MF
	.comm	_IP_DF,4,2                      ## @IP_DF
	.comm	_IPPROTO_ICMP,8,3               ## @IPPROTO_ICMP
	.comm	_ICMP_UNREACH,4,2               ## @ICMP_UNREACH
	.comm	_ICMP_UNREACH_NEEDFRAG,4,2      ## @ICMP_UNREACH_NEEDFRAG
	.comm	_ICMP_MINLEN,4,2                ## @ICMP_MINLEN
	.comm	_mla,4,2                        ## @mla
	.comm	_AF_INET,4,2                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot send ICMP message."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendNeedFragIcmp               ; -- Begin function SendNeedFragIcmp
	.p2align	2
_SendNeedFragIcmp:                      ; @SendNeedFragIcmp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _IP_MAXPACKET@GOTPAGE
Lloh4:
	ldr	x24, [x24, _IP_MAXPACKET@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w0, [x1, #40]
	bl	_ntohs
Lloh7:
	adrp	x8, _IP_MF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IP_MF@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _IP_DF@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IP_DF@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x22]
Lloh13:
	adrp	x25, _IPPROTO_ICMP@GOTPAGE
Lloh14:
	ldr	x25, [x25, _IPPROTO_ICMP@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.4:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh18:
	adrp	x8, _ICMP_UNREACH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ICMP_UNREACH@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ICMP_UNREACH_NEEDFRAG@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ICMP_UNREACH_NEEDFRAG@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #120]
	mov	x21, x20
	str	xzr, [x21, #48]!
	str	xzr, [x20, #112]
	mov	x0, x23
	bl	_htons
	str	x0, [x20, #104]
	ldp	w8, w9, [x22, #8]
	lsl	w8, w8, #2
	sub	w9, w9, w8
	mov	w10, #8
	cmp	w9, #8
	csel	w9, w9, w10, lt
Lloh24:
	adrp	x10, _ICMP_MINLEN@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ICMP_MINLEN@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	add	w2, w9, w8
	add	w23, w2, w10
	add	x0, x20, #56
	mov	x1, x22
	bl	_memcpy
Lloh27:
	adrp	x26, _mla@GOTPAGE
Lloh28:
	ldr	x26, [x26, _mla@GOTPAGEOFF]
	ldr	w0, [x26]
	mov	x1, x21
	mov	x2, x23
	bl	_LibAliasInternetChecksum
	str	x0, [x21]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #48
	bl	_memcpy
	mov	w8, #4
	str	w8, [x20, #16]
	mov	w8, #5
	str	w8, [x20, #8]
	add	w0, w23, #48
	bl	_htons
	str	w0, [x20, #12]
	ldr	x8, [x25]
	str	x8, [x20]
	str	xzr, [x20, #32]
	ldur	d0, [x20, #20]
	rev64.2s	v0, v0
	stur	d0, [x20, #20]
	ldr	w0, [x26]
	ldr	w2, [x24]
	mov	x1, x20
	bl	_LibAliasIn
Lloh29:
	adrp	x8, _AF_INET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x20, #20]
	stp	w9, w8, [x29, #-80]
	stur	xzr, [x29, #-88]
	sub	x4, x29, #88
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	w3, #0
	mov	w5, #16
	bl	_sendto
	cmp	w0, w23
	b.eq	LBB0_7
; %bb.6:
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Warn
LBB0_7:
	mov	w0, #1
	b	LBB0_3
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_MAXPACKET,4,2               ; @IP_MAXPACKET
	.comm	_IP_MF,4,2                      ; @IP_MF
	.comm	_IP_DF,4,2                      ; @IP_DF
	.comm	_IPPROTO_ICMP,8,3               ; @IPPROTO_ICMP
	.comm	_ICMP_UNREACH,4,2               ; @ICMP_UNREACH
	.comm	_ICMP_UNREACH_NEEDFRAG,4,2      ; @ICMP_UNREACH_NEEDFRAG
	.comm	_ICMP_MINLEN,4,2                ; @ICMP_MINLEN
	.comm	_mla,4,2                        ; @mla
	.comm	_AF_INET,4,2                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot send ICMP message."

.subsections_via_symbols
