	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_files
_make_files:                            ## @make_files
	.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
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	leaq	L_.str.2(%rip), %rdi
	movl	$1, %esi
	movl	$10, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	movl	$10, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_fclose
	leaq	L_.str.3(%rip), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_assertMakeHardlink
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_assertIsHardlink
	xorl	%eax, %eax
	callq	_canSymlink
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_assertMakeSymlink
LBB0_2:
	leaq	L_.str.5(%rip), %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	xorl	%eax, %eax
	callq	_canSymlink
	testq	%rax, %rax
	leaq	L_.str.7(%rip), %rcx
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rcx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file"

L_.str.1:                               ## @.str.1
	.asciz	"wb"

L_.str.2:                               ## @.str.2
	.asciz	"123456789"

L_.str.3:                               ## @.str.3
	.asciz	"linkfile"

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

L_.str.5:                               ## @.str.5
	.asciz	"dir"

L_.str.6:                               ## @.str.6
	.asciz	"file linkfile symlink dir"

L_.str.7:                               ## @.str.7
	.asciz	"file linkfile dir"

	.no_dead_strip	_make_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_files
_make_files:                            ; @make_files
	.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
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fopen
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #1
	mov	w2, #10
	mov	x3, x20
	bl	_fwrite
	mov	x1, x0
	mov	w0, #10
	bl	_assertEqualInt
	mov	x0, x20
	bl	_fclose
Lloh6:
	adrp	x20, l_.str.3@PAGE
Lloh7:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_assertMakeHardlink
	mov	x0, x19
	mov	x1, x20
	bl	_assertIsHardlink
	bl	_canSymlink
	cbz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_assertMakeSymlink
LBB0_2:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #509
	bl	_assertMakeDir
	bl	_canSymlink
Lloh14:
	adrp	x8, l_.str.6@PAGE
Lloh15:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh16:
	adrp	x9, l_.str.7@PAGE
Lloh17:
	add	x9, x9, l_.str.7@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file"

l_.str.1:                               ; @.str.1
	.asciz	"wb"

l_.str.2:                               ; @.str.2
	.asciz	"123456789"

l_.str.3:                               ; @.str.3
	.asciz	"linkfile"

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

l_.str.5:                               ; @.str.5
	.asciz	"dir"

l_.str.6:                               ; @.str.6
	.asciz	"file linkfile symlink dir"

l_.str.7:                               ; @.str.7
	.asciz	"file linkfile dir"

	.no_dead_strip	_make_files
.subsections_via_symbols
