	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_file_contents        ## -- Begin function assertion_file_contents
	.p2align	4, 0x90
_assertion_file_contents:               ## @assertion_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %r12d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r14
	callq	_assertion_count
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leal	(%r12,%r12), %r15d
	movl	%r15d, %edi
	callq	_malloc
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	$1, %esi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	callq	_fread
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_fclose
	cmpl	%r12d, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_failure_start
	leaq	L_.str.3(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_logprintf
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.6:
	cmpl	$512, %r15d                     ## imm = 0x200
	movl	$512, %edx                      ## imm = 0x200
	cmovll	%r15d, %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_failure_start
	xorl	%edi, %edi
	callq	_failure_finish
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_logprintf
	cmpl	$512, %r12d                     ## imm = 0x200
	movl	$512, %edx                      ## imm = 0x200
	cmovll	%r12d, %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
LBB0_8:
	xorl	%ecx, %ecx
	callq	_hexdump
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_failure_finish
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_4:
	movq	%r13, %rdi
	callq	_free
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %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	"rb"

L_.str.1:                               ## @.str.1
	.asciz	"File should exist: %s"

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

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

L_.str.4:                               ## @.str.4
	.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_file_contents        ; -- Begin function assertion_file_contents
	.p2align	2
_assertion_file_contents:               ; @assertion_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	x22, x4
	mov	x21, 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, x22
	bl	_fopen
	cbz	x0, LBB0_5
; %bb.1:
	mov	x26, x0
	lsl	w25, w21, #1
	mov	x0, x25
	bl	_malloc
	mov	x20, x0
	mov	w1, #1
	mov	x2, x25
	mov	x3, x26
	bl	_fread
	mov	x25, x0
	mov	x0, x26
	bl	_fclose
	cmp	w25, w21
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_memcmp
	cbz	x0, LBB0_10
LBB0_3:
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	bl	_failure_start
	str	x22, [sp]
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_logprintf
	cmp	w25, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w8, #512
	cmp	w25, #512
	csel	w2, w25, w8, lt
	mov	x0, x20
	mov	x1, x19
	b	LBB0_7
LBB0_5:
	str	x22, [sp]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	bl	_failure_start
	mov	x0, #0
	bl	_failure_finish
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_logprintf
	mov	w8, #512
	cmp	w21, #512
	csel	w2, w21, w8, lt
	mov	x0, x19
	mov	x1, #0
LBB0_7:
	mov	w3, #0
	bl	_hexdump
	mov	x0, #0
	bl	_failure_finish
	mov	x0, x20
	bl	_free
LBB0_8:
	mov	w0, #0
LBB0_9:
	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_10:
	mov	x0, x20
	bl	_free
	mov	w0, #1
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

l_.str.1:                               ; @.str.1
	.asciz	"File should exist: %s"

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

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

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

.subsections_via_symbols
