	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function test_scan
LCPI0_0:
	.long	0x42c80000                      ## float 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_test_scan
	.p2align	4, 0x90
_test_scan:                             ## @test_scan
	.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
	pushq	%rax
	movl	$327784, %eax                   ## imm = 0x50068
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-81968(%rbp), %rbx
	movl	$81920, %esi                    ## imm = 0x14000
	movq	%rbx, %rdi
	callq	___bzero
	leaq	-163888(%rbp), %rdi
	movl	$81920, %esi                    ## imm = 0x14000
	callq	___bzero
	leaq	-245808(%rbp), %rdi
	movl	$81920, %esi                    ## imm = 0x14000
	callq	___bzero
	leaq	-327728(%rbp), %rdi
	movl	$81920, %esi                    ## imm = 0x14000
	callq	___bzero
	movl	4(%r12), %esi
	movq	%rbx, %rdi
	callq	_strcat
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_strcat
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_strcat
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r13d
	leal	-2(%r13,%r13), %eax
	leal	-2(%r13), %ebx
	imull	%eax, %ebx
	sarl	%ebx
	movl	$3, %edi
	movq	%r12, -327752(%rbp)             ## 8-byte Spill
	movq	%r12, %rsi
	movq	%r15, -327800(%rbp)             ## 8-byte Spill
	movq	%r15, %rdx
	movq	%r14, -327784(%rbp)             ## 8-byte Spill
	movq	%r14, %rcx
	callq	_count_parsed_messages
	movl	%eax, %r15d
	cvtsi2ss	%ebx, %xmm0
	movss	%xmm0, -327760(%rbp)            ## 4-byte Spill
	movq	%r13, -327808(%rbp)             ## 8-byte Spill
	movslq	%r13d, %rax
	movl	%eax, %ecx
	movq	%rcx, -327816(%rbp)             ## 8-byte Spill
	xorl	%r13d, %r13d
	movb	$1, %cl
	movl	%r15d, -327732(%rbp)            ## 4-byte Spill
	movq	%rax, -327768(%rbp)             ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, -327756(%rbp)               ## 1-byte Folded Reload
	movl	$0, %ecx
	je	LBB0_39
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	cmpl	$3, -327808(%rbp)               ## 4-byte Folded Reload
	movl	%ecx, -327756(%rbp)             ## 4-byte Spill
	jl	LBB0_38
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-327752(%rbp), %rdx             ## 8-byte Reload
	movq	%rdx, -327776(%rbp)             ## 8-byte Spill
	testb	$1, %cl
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_HTTP_BOTH@GOTPCREL(%rip), %rcx
	movq	%rcx, -327776(%rbp)             ## 8-byte Spill
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$2, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%r12
	cmpq	-327816(%rbp), %r12             ## 8-byte Folded Reload
	movq	-327768(%rbp), %rax             ## 8-byte Reload
	je	LBB0_38
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	subq	%r12, %rax
	movq	%rax, -327744(%rbp)             ## 8-byte Spill
	leaq	(%r12,%rbp), %rax
	addq	$-81968, %rax                   ## imm = 0xFFFEBFD0
	movq	%rax, -327824(%rbp)             ## 8-byte Spill
	movl	$1, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=3
	incl	%r13d
	incq	%r14
	cmpq	%r12, %r14
	je	LBB0_37
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	imull	$652835029, %r13d, %eax         ## imm = 0x26E978D5
	addl	$17179864, %eax                 ## imm = 0x10624D8
	rorl	$3, %eax
	cmpl	$4294966, %eax                  ## imm = 0x418936
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=3
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13d, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	divss	-327760(%rbp), %xmm0            ## 4-byte Folded Reload
	cvttss2si	%xmm0, %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=3
	movq	-327776(%rbp), %rax             ## 8-byte Reload
	movl	(%rax), %edi
	callq	_parser_init
	leaq	-163888(%rbp), %rdi
	movl	$81920, %esi                    ## imm = 0x14000
	leaq	-81968(%rbp), %rdx
	movq	%r14, %rcx
	callq	_strlncpy
	movb	$0, -163888(%rbp,%r14)
	movq	%r12, %r15
	subq	%r14, %r12
	leaq	(%r14,%rbp), %rdx
	addq	$-81968, %rdx                   ## imm = 0xFFFEBFD0
	leaq	-245808(%rbp), %rdi
	movl	$81920, %esi                    ## imm = 0x14000
	movq	%r12, %rcx
	callq	_strlncpy
	movq	%r12, -327792(%rbp)             ## 8-byte Spill
	movb	$0, -245808(%rbp,%r12)
	leaq	-327728(%rbp), %rdi
	movl	$81920, %esi                    ## imm = 0x14000
	movq	-327824(%rbp), %rdx             ## 8-byte Reload
	movq	-327744(%rbp), %r12             ## 8-byte Reload
	movq	%r12, %rcx
	callq	_strlncpy
	movb	$0, -327728(%rbp,%r12)
	xorl	%edi, %edi
	movq	_num_messages@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_messages@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	leaq	-163888(%rbp), %rdi
	movq	%r14, %rsi
	callq	_parse
	movq	(%rbx), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=3
	movq	_parser@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=3
	movq	_parser@GOTPCREL(%rip), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=3
	movq	%r15, %r12
	movl	-327732(%rbp), %r15d            ## 4-byte Reload
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=3
	cmpq	%rax, %r14
	movq	%r15, %r12
	movl	-327732(%rbp), %r15d            ## 4-byte Reload
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=3
	leaq	-245808(%rbp), %rdi
	movq	-327792(%rbp), %rsi             ## 8-byte Reload
	callq	_parse
	addq	%r14, %rax
	movq	_parser@GOTPCREL(%rip), %rcx
	cmpq	$0, 8(%rcx)
	jne	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=3
	cmpq	%r12, %rax
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=3
	leaq	-327728(%rbp), %rdi
	movq	-327744(%rbp), %rsi             ## 8-byte Reload
	callq	_parse
	addq	%r12, %rax
	movq	_parser@GOTPCREL(%rip), %rcx
	cmpq	$0, 8(%rcx)
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=3
	movq	-327768(%rbp), %rbx             ## 8-byte Reload
	cmpq	%rbx, %rax
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=3
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_parse
	movq	_parser@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	movq	%rbx, %rax
	je	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=3
	leaq	-81968(%rbp), %rdi
	movq	%rax, %rsi
	movl	$3, %edx
	movq	-327752(%rbp), %rcx             ## 8-byte Reload
	movq	-327800(%rbp), %r8              ## 8-byte Reload
	movq	-327784(%rbp), %r9              ## 8-byte Reload
	callq	_upgrade_message_fix
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=3
	movq	_num_messages@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %r15d
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=3
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	-327752(%rbp), %rdx             ## 8-byte Reload
	callq	_message_eq
	testl	%eax, %eax
	je	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_6 Depth=3
	cmpl	$2, %r15d
	jl	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=3
	movl	$1, %edi
	xorl	%esi, %esi
	movq	-327800(%rbp), %rdx             ## 8-byte Reload
	callq	_message_eq
	testl	%eax, %eax
	je	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=3
	cmpl	$3, %r15d
	jb	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=3
	movl	$2, %edi
	xorl	%esi, %esi
	movq	-327784(%rbp), %rdx             ## 8-byte Reload
	callq	_message_eq
	testl	%eax, %eax
	jne	LBB0_36
## %bb.35:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_29
LBB0_39:
	leaq	L_.str.5(%rip), %rdi
	callq	_puts
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_41
## %bb.40:
	addq	$327784, %rsp                   ## imm = 0x50068
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	-163888(%rbp), %rdi
	movq	%rax, %rsi
	callq	_print_error
	movq	%r15, %r12
	jmp	LBB0_11
LBB0_26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_28:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_29
LBB0_32:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_29:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_11
LBB0_15:
	leaq	-163888(%rbp), %rdi
	jmp	LBB0_16
LBB0_19:
	leaq	-245808(%rbp), %rdi
	jmp	LBB0_16
LBB0_22:
	leaq	-327728(%rbp), %rdi
LBB0_16:
	movq	%rax, %rsi
	callq	_print_error
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	leaq	-163888(%rbp), %rcx
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	leaq	-245808(%rbp), %rcx
	movq	-327792(%rbp), %rdx             ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.9(%rip), %rsi
	leaq	-327728(%rbp), %rcx
	movq	-327744(%rbp), %rdx             ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_abort
LBB0_41:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\b\b\b\b%3.0f%%"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_HTTP_BOTH,4,2                  ## @HTTP_BOTH
	.comm	_num_messages,4,2               ## @num_messages
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_messages,8,3                   ## @messages
	.comm	_parser,16,3                    ## @parser
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"\n\nParser didn't see %d messages only %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"\n\nError matching messages[0] in test_scan.\n"

L_.str.3:                               ## @.str.3
	.asciz	"\n\nError matching messages[1] in test_scan.\n"

L_.str.4:                               ## @.str.4
	.asciz	"\n\nError matching messages[2] in test_scan.\n"

L_.str.5:                               ## @.str.5
	.asciz	"\b\b\b\b100%"

L_.str.6:                               ## @.str.6
	.asciz	"i=%d  j=%d\n"

L_.str.7:                               ## @.str.7
	.asciz	"buf1 (%u) %s\n\n"

L_.str.8:                               ## @.str.8
	.asciz	"buf2 (%u) %s\n\n"

L_.str.9:                               ## @.str.9
	.asciz	"buf3 (%u) %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_scan                      ; -- Begin function test_scan
	.p2align	2
_test_scan:                             ; @test_scan
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	w9, #80
	movk	w9, #5, lsl #16
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #80, lsl #12            ; =327680
	sub	sp, sp, #80
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	add	x0, sp, #60, lsl #12            ; =245760
	add	x0, x0, #64
	mov	w1, #16384
	movk	w1, #1, lsl #16
	bl	_bzero
	add	x0, sp, #40, lsl #12            ; =163840
	add	x0, x0, #64
	mov	w1, #16384
	movk	w1, #1, lsl #16
	bl	_bzero
	add	x0, sp, #20, lsl #12            ; =81920
	add	x0, x0, #64
	mov	w1, #16384
	movk	w1, #1, lsl #16
	bl	_bzero
	add	x0, sp, #64
	mov	w1, #16384
	movk	w1, #1, lsl #16
	bl	_bzero
	ldr	w1, [x21, #4]
	add	x0, sp, #60, lsl #12            ; =245760
	add	x0, x0, #64
	bl	_strcat
	ldr	w1, [x24, #4]
	add	x0, sp, #60, lsl #12            ; =245760
	add	x0, x0, #64
	bl	_strcat
	ldr	w1, [x23, #4]
	add	x0, sp, #60, lsl #12            ; =245760
	add	x0, x0, #64
	bl	_strcat
	add	x0, sp, #60, lsl #12            ; =245760
	add	x0, x0, #64
	bl	_strlen
	mov	x22, x0
	lsl	w8, w0, #1
	sub	w8, w8, #2
	sub	w9, w0, #2
	mul	w8, w8, w9
	orr	w9, w8, #0x1
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w19, w8, #1
	mov	w0, #3
	mov	x1, x21
	mov	x20, x24
	mov	x2, x24
	str	x23, [sp, #56]                  ; 8-byte Folded Spill
	mov	x3, x23
	bl	_count_parsed_messages
	mov	x24, x0
	mov	w28, #0
	scvtf	s8, w19
	sxtw	x9, w22
	mov	w8, #1
	mov	w10, w22
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
Lloh5:
	adrp	x19, _parser@GOTPAGE
Lloh6:
	ldr	x19, [x19, _parser@GOTPAGEOFF]
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	tbz	w10, #0, LBB0_25
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
                                        ; kill: def $w8 killed $w8 killed $x8
	cmp	w9, #3
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	b.lt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tst	w8, #0x1
Lloh7:
	adrp	x8, _HTTP_BOTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HTTP_BOTH@GOTPAGEOFF]
	csel	x8, x21, x8, ne
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	w26, #2
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	x26, x26, #1
	ldp	x8, x9, [sp, #24]               ; 16-byte Folded Reload
	cmp	x26, x8
	b.eq	LBB0_1
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
	sub	x22, x9, x26
	add	x8, sp, #60, lsl #12            ; =245760
	add	x8, x8, #64
	add	x8, x8, x26
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	mov	w23, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=3
	add	w28, w28, #1
	add	x23, x23, #1
	cmp	x23, x26
	b.eq	LBB0_4
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	w8, #30933
	movk	w8, #9961, lsl #16
	mov	w9, #9432
	movk	w9, #262, lsl #16
	madd	w8, w28, w8, w9
	ror	w8, w8, #3
	mov	w9, #35126
	movk	w9, #65, lsl #16
	cmp	w8, w9
	b.hi	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	scvtf	s0, w28
	mov	w8, #1120403456
	fmov	s1, w8
	fmul	s0, s0, s1
	fdiv	s0, s0, s8
	fcvtzs	w1, s0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh11:
	adrp	x8, _stdout@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_fflush
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=3
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_parser_init
	add	x0, sp, #40, lsl #12            ; =163840
	add	x0, x0, #64
	add	x2, sp, #60, lsl #12            ; =245760
	add	x2, x2, #64
	mov	w1, #16384
	movk	w1, #1, lsl #16
	mov	x3, x23
	bl	_strlncpy
	add	x8, sp, #40, lsl #12            ; =163840
	add	x8, x8, #64
	strb	wzr, [x8, x23]
	sub	x25, x26, x23
	add	x8, sp, #60, lsl #12            ; =245760
	add	x8, x8, #64
	add	x2, x8, x23
	add	x0, sp, #20, lsl #12            ; =81920
	add	x0, x0, #64
	mov	w1, #16384
	movk	w1, #1, lsl #16
	mov	x3, x25
	bl	_strlncpy
	add	x8, sp, #20, lsl #12            ; =81920
	add	x8, x8, #64
	strb	wzr, [x8, x25]
	add	x0, sp, #64
	mov	w1, #16384
	movk	w1, #1, lsl #16
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	mov	x3, x22
	bl	_strlncpy
	add	x8, sp, #64
	strb	wzr, [x8, x22]
Lloh14:
	adrp	x8, _num_messages@GOTPAGE
Lloh15:
	ldr	x8, [x8, _num_messages@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x27, _messages@GOTPAGE
Lloh21:
	ldr	x27, [x27, _messages@GOTPAGEOFF]
	ldr	x9, [x27]
	str	w8, [x9]
	add	x0, sp, #40, lsl #12            ; =163840
	add	x0, x0, #64
	mov	x1, x23
	bl	_parse
	mov	x1, x0
	ldr	x8, [x27]
	ldr	w8, [x8]
	ldr	x9, [x19]
	cmp	w8, #0
	ccmp	x9, x0, #4, eq
	b.ne	LBB0_27
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=3
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=3
	cmp	x23, x1
	b.ne	LBB0_27
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=3
	add	x0, sp, #20, lsl #12            ; =81920
	add	x0, x0, #64
	mov	x1, x25
	bl	_parse
	add	x1, x0, x23
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=3
	cmp	x1, x26
	b.ne	LBB0_35
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=3
	add	x0, sp, #64
	mov	x1, x22
	bl	_parse
	add	x1, x0, x26
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=3
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	x1, x8
	b.ne	LBB0_36
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=3
	mov	x0, #0
	mov	x1, #0
	mov	x27, x8
	bl	_parse
	ldr	x8, [x19, #8]
	mov	x1, x27
	cbz	x8, LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=3
	add	x0, sp, #60, lsl #12            ; =245760
	add	x0, x0, #64
	mov	w2, #3
	mov	x3, x21
	mov	x4, x20
	ldr	x5, [sp, #56]                   ; 8-byte Folded Reload
	bl	_upgrade_message_fix
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=3
Lloh22:
	adrp	x8, _num_messages@GOTPAGE
Lloh23:
	ldr	x8, [x8, _num_messages@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_30
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=3
	mov	w0, #0
	mov	w1, #0
	mov	x2, x21
	bl	_message_eq
	cbz	w0, LBB0_31
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=3
	cmp	w24, #2
	b.lt	LBB0_6
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=3
	mov	w0, #1
	mov	w1, #0
	mov	x2, x20
	bl	_message_eq
	cbz	w0, LBB0_32
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=3
	cmp	w24, #3
	b.lo	LBB0_6
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=3
	mov	w0, #2
	mov	w1, #0
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
	bl	_message_eq
	cbnz	w0, LBB0_6
; %bb.24:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_33
LBB0_25:
Lloh30:
	adrp	x0, l_.str.5@PAGE
Lloh31:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_puts
	ldur	x8, [x29, #-112]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.26:
	add	sp, sp, #80, lsl #12            ; =327680
	add	sp, sp, #80
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_27:
	add	x0, sp, #40, lsl #12            ; =163840
LBB0_28:
	add	x0, x0, #64
LBB0_29:
	bl	_print_error
	b	LBB0_34
LBB0_30:
Lloh35:
	adrp	x9, _stderr@GOTPAGE
Lloh36:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x9]
	stp	x24, x8, [sp]
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_33
LBB0_31:
Lloh40:
	adrp	x8, _stderr@GOTPAGE
Lloh41:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_33
LBB0_32:
Lloh45:
	adrp	x8, _stderr@GOTPAGE
Lloh46:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x1, l_.str.3@PAGE
Lloh49:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_33:
	bl	_fprintf
LBB0_34:
Lloh50:
	adrp	x19, _stderr@GOTPAGE
Lloh51:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
	stp	x23, x26, [sp]
Lloh52:
	adrp	x1, l_.str.6@PAGE
Lloh53:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	add	x8, sp, #40, lsl #12            ; =163840
	add	x8, x8, #64
	stp	x23, x8, [sp]
Lloh54:
	adrp	x1, l_.str.7@PAGE
Lloh55:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	add	x8, sp, #20, lsl #12            ; =81920
	add	x8, x8, #64
	stp	x25, x8, [sp]
Lloh56:
	adrp	x1, l_.str.8@PAGE
Lloh57:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	add	x8, sp, #64
	stp	x22, x8, [sp]
Lloh58:
	adrp	x1, l_.str.9@PAGE
Lloh59:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
	bl	_abort
LBB0_35:
	add	x0, sp, #20, lsl #12            ; =81920
	b	LBB0_28
LBB0_36:
	add	x0, sp, #64
	b	LBB0_29
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\b\b\b\b%3.0f%%"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_HTTP_BOTH,4,2                  ; @HTTP_BOTH
	.comm	_num_messages,4,2               ; @num_messages
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_messages,8,3                   ; @messages
	.comm	_parser,16,3                    ; @parser
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"\n\nParser didn't see %d messages only %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"\n\nError matching messages[0] in test_scan.\n"

l_.str.3:                               ; @.str.3
	.asciz	"\n\nError matching messages[1] in test_scan.\n"

l_.str.4:                               ; @.str.4
	.asciz	"\n\nError matching messages[2] in test_scan.\n"

l_.str.5:                               ; @.str.5
	.asciz	"\b\b\b\b100%"

l_.str.6:                               ; @.str.6
	.asciz	"i=%d  j=%d\n"

l_.str.7:                               ; @.str.7
	.asciz	"buf1 (%u) %s\n\n"

l_.str.8:                               ; @.str.8
	.asciz	"buf2 (%u) %s\n\n"

l_.str.9:                               ; @.str.9
	.asciz	"buf3 (%u) %s\n"

.subsections_via_symbols
