	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	_random_aligned@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movl	$16, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$100000, %eax                   ## imm = 0x186A0
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r13
	leaq	LJTI0_0(%rip), %r14
	movq	_optarg@GOTPCREL(%rip), %r15
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	callq	_atoi
	movq	_random_aligned@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-105(%rax), %ecx
	cmpl	$13, %ecx
	ja	LBB0_3
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r14,%rcx,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	callq	_atoi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_getprogname
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_2
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	callq	_atoi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_4:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
## %bb.5:
	addq	$32, %r12
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_free_mbuf_chain
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_17
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r12, %rdi
	callq	_allocate_mbuf_chain
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_randomise_mbuf_chain
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_rand
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_mbuf_len
	movl	%eax, %r15d
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r15d
	movl	%edx, %r14d
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	subl	%r14d, %r15d
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_portable_cpu_in_cksum
	movl	%eax, %edi
	callq	___USE
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_RUSAGE_SELF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-104(%rbp), %rsi
	callq	_getrusage
	movups	-104(%rbp), %xmm0
	movaps	%xmm0, -128(%rbp)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_portable_cpu_in_cksum
	decq	%r12
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_RUSAGE_SELF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-104(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_getrusage
	movq	%rbx, %rdi
	leaq	-128(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	callq	_timersub
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-80(%rbp), %esi
	cvttsd2si	-88(%rbp), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_17:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_19
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_20
	.long	L0_0_set_1
	.end_data_region
                                        ## -- End function
	.comm	_random_aligned,8,3             ## @random_aligned
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i:l:u:v"

	.comm	_optarg,4,2                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"%s [-l <loops>] [-u <unalign> [-i <iterations> [<mbuf-size> ...]"

	.comm	_RUSAGE_SELF,4,2                ## @RUSAGE_SELF
L_.str.2:                               ## @.str.2
	.asciz	"portable version: %jd.%06jd\n"

.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, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x21, x1
	mov	x22, x0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
Lloh0:
	adrp	x25, _random_aligned@GOTPAGE
Lloh1:
	ldr	x25, [x25, _random_aligned@GOTPAGEOFF]
	str	xzr, [x25]
	mov	w19, #16
	mov	w27, #34464
	movk	w27, #1, lsl #16
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
Lloh4:
	adrp	x24, l_.str.1@PAGE
Lloh5:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh6:
	adrp	x26, lJTI0_0@PAGE
Lloh7:
	add	x26, x26, lJTI0_0@PAGEOFF
Lloh8:
	adrp	x28, _optarg@GOTPAGE
Lloh9:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	bl	_atoi
	str	x0, [x25]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	bl	_getopt
	sub	w8, w0, #105
	cmp	w8, #13
	b.hi	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	bl	_atoi
	mov	x27, x0
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_getprogname
	mov	x2, x0
	mov	w0, #1
	mov	x1, x24
	bl	_errx
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28]
	bl	_atoi
	mov	x19, x0
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_9:
	cbz	w19, LBB0_22
; %bb.10:
	add	x21, x21, #32
Lloh10:
	adrp	x28, _RUSAGE_SELF@GOTPAGE
Lloh11:
	ldr	x28, [x28, _RUSAGE_SELF@GOTPAGEOFF]
Lloh12:
	adrp	x22, l_.str.2@PAGE
Lloh13:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	bl	_free_mbuf_chain
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	subs	w19, w19, #1
	b.eq	LBB0_22
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	mov	x0, x21
	bl	_allocate_mbuf_chain
	cbz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x23, x0
	bl	_randomise_mbuf_chain
	bl	_rand
	mov	x24, x0
	mov	x0, x23
	bl	_mbuf_len
	mov	x26, x0
	mov	w25, #0
	cmp	w19, #1
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w26, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	bl	_rand
	sdiv	w8, w0, w26
	msub	w25, w8, w26, w0
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	w26, w26, w25
	mov	x0, x23
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	bl	_portable_cpu_in_cksum
	bl	___USE
	cbz	x27, LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x28]
	add	x1, sp, #48
	bl	_getrusage
	ldr	q0, [sp, #48]
	str	q0, [sp, #32]
	mov	x20, x27
LBB0_19:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	bl	_portable_cpu_in_cksum
	subs	x20, x20, #1
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x28]
	add	x1, sp, #48
	bl	_getrusage
	add	x0, sp, #48
	add	x1, sp, #32
	add	x2, sp, #16
	bl	_timersub
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_11
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [sp, #24]
	ldr	d0, [sp, #16]
	fcvtzs	w8, d0
	str	x8, [sp]
	mov	x0, x22
	bl	_printf
	b	LBB0_11
LBB0_22:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
                                        ; -- End function
	.comm	_random_aligned,8,3             ; @random_aligned
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i:l:u:v"

	.comm	_optarg,4,2                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"%s [-l <loops>] [-u <unalign> [-i <iterations> [<mbuf-size> ...]"

	.comm	_RUSAGE_SELF,4,2                ; @RUSAGE_SELF
l_.str.2:                               ; @.str.2
	.asciz	"portable version: %jd.%06jd\n"

.subsections_via_symbols
