	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	cmpl	$5, %edi
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_PF_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	16(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	addl	$-65536, %eax                   ## imm = 0xFFFF0000
	cmpl	$-65535, %eax                   ## imm = 0xFFFF0001
	jb	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_5
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_usage
LBB0_5:
	movq	24(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, %r14
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_usage
LBB0_8:
	cmpq	$32769, %r14                    ## imm = 0x8001
	jl	LBB0_10
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_26:
	movl	$-1, %eax
	jmp	LBB0_27
LBB0_10:
	movq	32(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, %r15
	testq	%rax, %rax
	js	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_13
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	32(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_usage
LBB0_13:
	movq	%r14, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.14:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_bzero
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_getaddrinfo
	testl	%eax, %eax
	jne	LBB0_23
## %bb.15:
	movq	-56(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.16:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %r15
	leaq	L_.str.5(%rip), %r12
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%r13d, %edi
	callq	_close
	movq	%r12, %rdi
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_25
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	xorl	%edx, %edx
	callq	_socket
	movq	%r15, %rdi
	testl	%eax, %eax
	js	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, %r13d
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%eax, %edi
	callq	_connect
	testq	%rax, %rax
	js	LBB0_17
## %bb.21:
	movq	-56(%rbp), %rdi
	callq	_freeaddrinfo
	movl	%r13d, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_blast_loop
LBB0_27:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_25
LBB0_23:
	movl	%eax, %edi
	callq	_gai_strerror
	movq	%rax, %rdi
	jmp	LBB0_25
LBB0_24:
	xorl	%edi, %edi
LBB0_25:
	callq	_perror
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_UNSPEC,4,2                  ## @PF_UNSPEC
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid port number: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"payloadsize > 32768\n"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid duration time: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"malloc"

L_.str.4:                               ## @.str.4
	.asciz	"socket"

L_.str.5:                               ## @.str.5
	.asciz	"connect"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
	cmp	w0, #5
	b.eq	LBB0_2
; %bb.1:
	bl	_usage
LBB0_2:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _PF_UNSPEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
	ldr	x0, [x20, #16]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	sub	w8, w0, #16, lsl #12            ; =65536
	mov	w9, #-65535
Lloh6:
	adrp	x22, _stderr@GOTPAGE
Lloh7:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	cmp	w8, w9
	b.lo	LBB0_4
; %bb.3:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_5
LBB0_4:
	ldr	w0, [x22]
	ldr	x8, [x20, #16]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	bl	_usage
LBB0_5:
	ldr	x0, [x20, #24]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	mov	x19, x0
	tbnz	x0, #63, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_8
LBB0_7:
	bl	_usage
LBB0_8:
	cmp	x19, #8, lsl #12                ; =32768
	b.le	LBB0_11
; %bb.9:
	ldr	w0, [x22]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_10:
	mov	w0, #-1
	b	LBB0_23
LBB0_11:
	ldr	x0, [x20, #32]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	mov	x21, x0
	tbnz	x0, #63, LBB0_13
; %bb.12:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_14
LBB0_13:
	ldr	w0, [x22]
	ldr	x8, [x20, #32]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	bl	_usage
LBB0_14:
	mov	x0, x19
	bl	_malloc
	cbz	x0, LBB0_24
; %bb.15:
	mov	x22, x0
	mov	x1, x19
	bl	_bzero
	ldp	x0, x1, [x20, #8]
	add	x2, sp, #24
	add	x3, sp, #16
	bl	_getaddrinfo
	cbnz	w0, LBB0_25
; %bb.16:
	ldr	x23, [sp, #16]
	cbz	x23, LBB0_26
; %bb.17:
Lloh14:
	adrp	x24, l_.str.4@PAGE
Lloh15:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh16:
	adrp	x25, l_.str.5@PAGE
Lloh17:
	add	x25, x25, l_.str.5@PAGEOFF
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x24
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_27
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x23, #8]
	mov	w2, #0
	bl	_socket
	tbnz	w0, #31, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x20, x0
	ldp	w2, w1, [x23]
	bl	_connect
	tbz	x0, #63, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x20
	bl	_close
	mov	x0, x25
	ldr	x23, [x23, #16]
	cbnz	x23, LBB0_19
	b	LBB0_27
LBB0_22:
	ldr	x0, [sp, #16]
	bl	_freeaddrinfo
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	bl	_blast_loop
LBB0_23:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_24:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_27
LBB0_25:
	bl	_gai_strerror
	b	LBB0_27
LBB0_26:
	mov	x0, #0
LBB0_27:
	bl	_perror
	b	LBB0_10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_UNSPEC,4,2                  ; @PF_UNSPEC
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid port number: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"payloadsize > 32768\n"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid duration time: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"malloc"

l_.str.4:                               ; @.str.4
	.asciz	"socket"

l_.str.5:                               ; @.str.5
	.asciz	"connect"

.subsections_via_symbols
