	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_empty_file           ## -- Begin function assertion_empty_file
	.p2align	4, 0x90
_assertion_empty_file:                  ## @assertion_empty_file
	.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	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_assertion_count
	leaq	-1064(%rbp), %rsi
	movq	%r15, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	callq	_failure_start
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_failure_finish
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	$0, -1064(%rbp)
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rcx
	callq	_failure_start
	movl	-1064(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_logprintf
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_logprintf
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	-1064(%rbp), %rax
	cmpq	$1024, %rax                     ## imm = 0x400
	movl	$1024, %edx                     ## imm = 0x400
	cmovlq	%rax, %rdx
	leaq	-1056(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r14, %rcx
	callq	_fread
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_hexdump
	movq	%r14, %rdi
	callq	_fclose
	jmp	LBB0_7
LBB0_3:
	movl	$1, %ebx
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_logprintf
	jmp	LBB0_7
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stat failed: %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"    File size: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"    Contents:\n"

L_.str.4:                               ## @.str.4
	.asciz	"rb"

L_.str.5:                               ## @.str.5
	.asciz	"    Unable to open %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_assertion_empty_file           ; -- Begin function assertion_empty_file
	.p2align	2
_assertion_empty_file:                  ; @assertion_empty_file
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1056
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_assertion_count
	add	x1, sp, #16
	mov	x0, x19
	bl	_stat
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_failure_start
LBB0_2:
	mov	x0, #0
	bl	_failure_finish
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.4:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_8
; %bb.6:
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_failure_start
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_logprintf
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_logprintf
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_fopen
	cbz	x0, LBB0_9
; %bb.7:
	mov	x20, x0
	ldr	x8, [sp, #16]
	mov	w9, #1024
	cmp	x8, #1024
	csel	x2, x8, x9, lt
	add	x0, sp, #24
	mov	w1, #1
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x20
	bl	_fread
	mov	x2, x0
	add	x0, sp, #24
	mov	x1, #0
	mov	w3, #0
	bl	_hexdump
	mov	x0, x20
	bl	_fclose
	b	LBB0_2
LBB0_8:
	mov	w0, #1
	b	LBB0_3
LBB0_9:
	str	x19, [sp]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_logprintf
	b	LBB0_2
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stat failed: %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"    File size: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"    Contents:\n"

l_.str.4:                               ; @.str.4
	.asciz	"rb"

l_.str.5:                               ; @.str.5
	.asciz	"    Unable to open %s\n"

.subsections_via_symbols
