	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function testfile
_testfile:                              ## @testfile
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-40(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	movl	-32(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r14
	movq	-40(%rbp), %r15
	movq	%r15, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_fread
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpq	-40(%rbp), %rax
	sete	%dil
	callq	_OPENSSL_assert
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_FuzzerTestOneInput
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	movq	%r14, %rdi
	callq	_fclose
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"# %s\n"

	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"rb"

	.no_dead_strip	_testfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function testfile
_testfile:                              ; @testfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	x1, sp
	bl	_stat
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_S_ISREG
	cbz	w0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
Lloh2:
	adrp	x8, _stdout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_fflush
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fopen
	cbz	x0, LBB0_6
; %bb.3:
	mov	x19, x0
	ldr	x21, [sp]
	mov	x0, x21
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.4:
	mov	x20, x0
	mov	w1, #1
	mov	x2, x21
	mov	x3, x19
	bl	_fread
	mov	x21, x0
	ldr	x8, [sp]
	cmp	x0, x8
	cset	w0, eq
	bl	_OPENSSL_assert
	mov	x0, x20
	mov	x1, x21
	bl	_FuzzerTestOneInput
	mov	x0, x20
	bl	_free
LBB0_5:
	mov	x0, x19
	bl	_fclose
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"# %s\n"

	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"rb"

	.no_dead_strip	_testfile
.subsections_via_symbols
