	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_message                   ## -- Begin function test_message
	.p2align	4, 0x90
_test_message:                          ## @test_message
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rax, %r15
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r14), %edi
	callq	_parser_init
	movq	(%r14), %r12
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	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), %r14
	movq	(%r14), %rcx
	movl	%eax, 8(%rcx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_parse
	movq	%rax, %r13
	movq	(%r14), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_parser@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_22
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpq	$0, 16(%r14)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_parser@GOTPCREL(%rip), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_num_messages@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r13, %r12
	decl	%ecx
	shlq	$4, %rcx
	movq	%r12, (%rax,%rcx)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, %rbx
	jne	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%rbx), %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_parse
	cmpq	$0, 16(%r14)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_parser@GOTPCREL(%rip), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %r12
	addq	%rbx, %r12
	movq	_messages@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_num_messages@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, %rdx
	shlq	$4, %rdx
	movq	%r12, -16(%rdx,%rcx)
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %r15
	jne	LBB0_24
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_parse
	testq	%rax, %rax
	jne	LBB0_25
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_num_messages@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_message_eq
	testl	%eax, %eax
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	decq	%r15
	jne	LBB0_2
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	8(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_21:
	xorl	%eax, %eax
	callq	_abort
LBB0_22:
	xorl	%edi, %edi
	callq	_assert
LBB0_23:
	movq	%r12, %rdi
	movq	%r13, %rsi
	jmp	LBB0_27
LBB0_24:
	movq	%r13, %rdi
	jmp	LBB0_26
LBB0_25:
	movq	(%r14), %rdi
LBB0_26:
	movq	%rax, %rsi
LBB0_27:
	callq	_print_error
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_num_messages,4,2               ## @num_messages
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_messages,8,3                   ## @messages
	.comm	_parser,16,3                    ## @parser
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n*** num_messages != 1 after testing '%s' ***\n\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_message                   ; -- Begin function test_message
	.p2align	2
_test_message:                          ; @test_message
	.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
	mov	x19, x0
	ldr	x0, [x0]
	bl	_strlen
	cbz	x0, LBB0_25
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #24]
	bl	_parser_init
	ldr	x21, [x19]
	mov	x0, x21
	mov	x1, x20
	bl	_parse
	mov	x1, x0
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x23, _parser@GOTPAGE
Lloh1:
	ldr	x23, [x23, _parser@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_4
; %bb.3:
	add	x9, x21, x1
Lloh2:
	adrp	x8, _messages@GOTPAGE
Lloh3:
	ldr	x8, [x8, _messages@GOTPAGEOFF]
Lloh4:
	adrp	x10, _num_messages@GOTPAGE
Lloh5:
	ldr	x10, [x10, _num_messages@GOTPAGEOFF]
Lloh6:
	ldr	x11, [x8]
Lloh7:
	ldr	w8, [x10]
	sub	w10, w8, #1
	sbfiz	x10, x10, #4, #32
	str	x9, [x11, x10]
	b	LBB0_7
LBB0_4:
	cmp	x1, x20
	b.ne	LBB0_32
; %bb.5:
	mov	x0, #0
	mov	x1, #0
	bl	_parse
	cbnz	x0, LBB0_30
; %bb.6:
Lloh8:
	adrp	x8, _num_messages@GOTPAGE
Lloh9:
	ldr	x8, [x8, _num_messages@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
LBB0_7:
	cmp	w8, #1
	b.ne	LBB0_26
; %bb.8:
	mov	w0, #0
	mov	w1, #0
	mov	x2, x19
	bl	_message_eq
	cbz	w0, LBB0_27
; %bb.9:
	subs	x20, x20, #1
	b.eq	LBB0_25
; %bb.10:
	mov	w21, #1
Lloh11:
	adrp	x24, _num_messages@GOTPAGE
Lloh12:
	ldr	x24, [x24, _num_messages@GOTPAGEOFF]
Lloh13:
	adrp	x25, _FALSE@GOTPAGE
Lloh14:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
Lloh15:
	adrp	x26, _messages@GOTPAGE
Lloh16:
	ldr	x26, [x26, _messages@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #24]
	bl	_parser_init
	ldr	x22, [x19]
	ldr	w8, [x24]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [x25]
	ldr	x9, [x26]
	str	w8, [x9, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_parse
	mov	x1, x0
	ldr	x8, [x26]
	ldr	w9, [x8, #8]
	ldr	x10, [x23]
	cmp	w9, #0
	ccmp	x10, x0, #4, eq
	b.ne	LBB0_28
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x10, [x23, #8]
	ldr	w9, [x24]
	cmp	x10, #0
	ccmp	w9, #1, #8, ne
	b.lt	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x10, x22, x1
	sub	w9, w9, #1
	lsl	x9, x9, #4
	str	x10, [x8, x9]
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x21, x1
	b.ne	LBB0_29
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x0, x22, x21
	mov	x1, x20
	bl	_parse
	mov	x1, x0
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x22, x1
	add	x9, x8, x21
	ldr	x10, [x26]
	ldr	w8, [x24]
	sub	w11, w8, #1
	sbfiz	x11, x11, #4, #32
	str	x9, [x10, x11]
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x20, x1
	b.ne	LBB0_31
; %bb.20:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, #0
	mov	x1, #0
	bl	_parse
	cbnz	x0, LBB0_30
LBB0_21:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x24]
LBB0_22:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #1
	b.ne	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #0
	mov	w1, #0
	mov	x2, x19
	bl	_message_eq
	cbz	w0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	subs	x20, x20, #1
	b.ne	LBB0_11
LBB0_25:
	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_26:
	ldr	x1, [x19, #8]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_27:
	bl	_abort
LBB0_28:
	mov	w0, #0
	mov	x19, x1
	bl	_assert
	mov	x0, x22
	mov	x1, x19
	bl	_print_error
	bl	_abort
LBB0_29:
	mov	x0, x22
	bl	_print_error
	bl	_abort
LBB0_30:
	mov	x1, x0
	ldr	x0, [x19]
	bl	_print_error
	bl	_abort
LBB0_31:
	add	x21, x22, x21
LBB0_32:
	mov	x0, x21
	bl	_print_error
	bl	_abort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_num_messages,4,2               ; @num_messages
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_messages,8,3                   ; @messages
	.comm	_parser,16,3                    ; @parser
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n*** num_messages != 1 after testing '%s' ***\n\n"

.subsections_via_symbols
