	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_text_file_contents   ## -- Begin function assertion_text_file_contents
	.p2align	4, 0x90
_assertion_text_file_contents:          ## @assertion_text_file_contents
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_assertion_count
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	leal	(%rax,%rax), %edi
	addl	$128, %edi
	callq	_malloc
	movq	%rax, %r13
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%rbx), %edx
	addl	$127, %edx
	movq	%rax, %rdi
	movl	$1, %esi
	movq	%r15, %rcx
	callq	_fread
	movq	%rax, %r14
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.3:
	movslq	%r14d, %rax
	movb	$0, (%r13,%rax)
LBB0_4:
	movq	%r15, %rdi
	callq	_fclose
	movq	%r12, %r15
	movb	(%r12), %dl
	movq	%r13, %rax
	testb	%dl, %dl
	je	LBB0_9
## %bb.5:
	leaq	1(%r15), %rcx
	movq	%r13, %rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	addq	%rsi, %rax
	movzbl	(%rcx), %edx
	incq	%rcx
	testb	%dl, %dl
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ebx
	testb	%bl, %bl
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %esi
	cmpb	%bl, %dl
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$10, %dl
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$13, %bl
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$2, %esi
	cmpb	$10, 1(%rax)
	je	LBB0_8
	jmp	LBB0_14
LBB0_1:
	leaq	L_.str.1(%rip), %rdx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_failure_start
	xorl	%edi, %edi
	callq	_failure_finish
	jmp	LBB0_18
LBB0_9:
	cmpb	$0, (%rax)
	je	LBB0_10
LBB0_14:
	leaq	L_.str.2(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_failure_start
	leaq	L_.str.3(%rip), %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_logprintf
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_hexdump
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_logprintf
	movq	%r13, %r14
	jmp	LBB0_17
LBB0_16:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_logprintf
LBB0_17:
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_hexdump
	xorl	%edi, %edi
	callq	_failure_finish
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_18
LBB0_10:
	movq	%r13, %rdi
	callq	_free
	movl	$1, %r12d
LBB0_18:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"File doesn't exist: %s"

L_.str.2:                               ## @.str.2
	.asciz	"Contents don't match"

L_.str.3:                               ## @.str.3
	.asciz	"  file=\"%s\"\n"

L_.str.4:                               ## @.str.4
	.asciz	"  expected\n"

L_.str.5:                               ## @.str.5
	.asciz	"  File empty, contents should be:\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_text_file_contents   ; -- Begin function assertion_text_file_contents
	.p2align	2
_assertion_text_file_contents:          ; @assertion_text_file_contents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x19, x2
	mov	x23, x1
	mov	x24, x0
	bl	_assertion_count
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbz	x0, LBB0_13
; %bb.1:
	mov	x26, x0
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	lsl	w25, w22, #1
	add	w0, w25, #128
	bl	_malloc
	mov	x21, x0
	add	w2, w25, #127
	mov	w1, #1
	mov	x3, x26
	bl	_fread
	mov	x25, x0
	tbnz	w25, #31, LBB0_3
; %bb.2:
	strb	wzr, [x21, w25, sxtw]
LBB0_3:
	mov	x0, x26
	bl	_fclose
	ldrb	w10, [x19]
	mov	x9, x21
	cbz	w10, LBB0_14
; %bb.4:
	add	x8, x19, #1
	mov	x9, x21
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w10, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, x10
	ldrb	w10, [x8], #1
	cbz	w10, LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9]
	cbz	w11, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w10, w11
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w10, #10
	b.ne	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w11, #13
	b.ne	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w10, [x9, #1]
	cmp	w10, #10
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w10, #2
	b	LBB0_6
LBB0_13:
	str	x20, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	b	LBB0_19
LBB0_14:
	ldrb	w8, [x9]
	cbz	w8, LBB0_21
LBB0_15:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	bl	_failure_start
	str	x20, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_logprintf
	cmp	w25, #1
	b.lt	LBB0_17
; %bb.16:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x25
	mov	w3, #0
	bl	_hexdump
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_logprintf
	mov	x1, x21
	b	LBB0_18
LBB0_17:
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_logprintf
	mov	x1, #0
LBB0_18:
	mov	x0, x19
	mov	x2, x22
	mov	w3, #0
	bl	_hexdump
	mov	x0, #0
	bl	_failure_finish
	mov	x0, x21
	bl	_free
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_21:
	mov	x0, x21
	bl	_free
	mov	w0, #1
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"File doesn't exist: %s"

l_.str.2:                               ; @.str.2
	.asciz	"Contents don't match"

l_.str.3:                               ; @.str.3
	.asciz	"  file=\"%s\"\n"

l_.str.4:                               ; @.str.4
	.asciz	"  expected\n"

l_.str.5:                               ; @.str.5
	.asciz	"  File empty, contents should be:\n"

.subsections_via_symbols
