	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filegen
_filegen:                               ## @filegen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_FSTEST_ENTER
	movq	_AFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_RDWR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	$511, %edx                      ## imm = 0x1FF
	callq	_rump_sys_open
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_RL
	movq	_FUNTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FUNSIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	%ebx, %edi
	callq	_rump_sys_write
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_ATF_REQUIRE_EQ
	movl	%ebx, %edi
	callq	_rump_sys_close
	movl	%eax, %edi
	callq	_RL
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_FSTEST_EXIT                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AFILE,4,2                      ## @AFILE
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_FUNTEXT,4,2                    ## @FUNTEXT
	.comm	_FUNSIZE,4,2                    ## @FUNSIZE
	.no_dead_strip	_filegen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filegen
_filegen:                               ; @filegen
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_FSTEST_ENTER
Lloh0:
	adrp	x8, _AFILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AFILE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _O_RDWR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_RDWR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #511
	bl	_rump_sys_open
	mov	x19, x0
	bl	_RL
Lloh9:
	adrp	x8, _FUNTEXT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FUNTEXT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x20, _FUNSIZE@GOTPAGE
Lloh13:
	ldr	x20, [x20, _FUNSIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_rump_sys_write
	ldr	w1, [x20]
	bl	_ATF_REQUIRE_EQ
	mov	x0, x19
	bl	_rump_sys_close
	bl	_RL
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_FSTEST_EXIT
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AFILE,4,2                      ; @AFILE
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_FUNTEXT,4,2                    ; @FUNTEXT
	.comm	_FUNSIZE,4,2                    ; @FUNSIZE
	.no_dead_strip	_filegen
.subsections_via_symbols
