	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_tree
_create_tree:                           ## @create_tree
	.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	$552, %rsp                      ## imm = 0x228
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_compute_filenames
	xorl	%eax, %eax
	callq	_canSymlink
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_skipping
LBB0_2:
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	movq	%rbx, %rdi
	callq	_chdir
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	xorl	%eax, %eax
	callq	_compute_loop_max
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	leaq	L_.str.3(%rip), %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	leaq	L_.str.4(%rip), %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	leaq	L_.str.5(%rip), %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	leaq	L_.str.6(%rip), %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	cmpl	$2, %ebx
	jl	LBB0_7
## %bb.3:
	movl	%ebx, %r15d
	movl	$1, %ebx
	movq	_filenames@GOTPCREL(%rip), %r13
	leaq	-320(%rbp), %r12
	leaq	-592(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	$100, -320(%rbp)
	leaq	L_.str.14(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_failure
	movq	%r12, %rdi
	movl	$509, %esi                      ## imm = 0x1FD
	callq	_assertMakeDir
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.7(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_failure
	movq	(%r13), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rbx,8)
	setne	%dil
	callq	_assert
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r12, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_sprintf
	movq	%r12, %rdi
	movl	$511, %esi                      ## imm = 0x1FF
	movq	%r12, %rdx
	callq	_assertMakeFile
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r14, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_sprintf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_assertMakeHardlink
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r14, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_sprintf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_assertMakeHardlink
	xorl	%eax, %eax
	callq	_canSymlink
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r12, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_sprintf
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	%r14, %rdi
	leaq	L_.str.12(%rip), %rsi
	callq	_sprintf
	leaq	L_.str.13(%rip), %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_failure
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_assertMakeSymlink
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.15(%rip), %rdi
	callq	_chdir
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$552, %rsp                      ## imm = 0x228
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Symlink checks"

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

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"d"

L_.str.7:                               ## @.str.7
	.asciz	"Internal sanity check failed: i = %d"

	.comm	_filenames,8,3                  ## @filenames
L_.str.8:                               ## @.str.8
	.asciz	"f/%s"

L_.str.9:                               ## @.str.9
	.asciz	"l/%s"

L_.str.10:                              ## @.str.10
	.asciz	"m/%s"

L_.str.11:                              ## @.str.11
	.asciz	"s/%s"

L_.str.12:                              ## @.str.12
	.asciz	"../f/%s"

L_.str.13:                              ## @.str.13
	.asciz	"buff=\"%s\" buff2=\"%s\""

L_.str.14:                              ## @.str.14
	.asciz	"buff=\"%s\""

L_.str.15:                              ## @.str.15
	.asciz	".."

	.no_dead_strip	_create_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_tree
_create_tree:                           ; @create_tree
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #560
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_compute_filenames
	bl	_canSymlink
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_skipping
LBB0_2:
Lloh5:
	adrp	x19, l_.str.1@PAGE
Lloh6:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #509
	bl	_assertMakeDir
	mov	x0, x19
	bl	_chdir
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	bl	_compute_loop_max
	mov	x19, x0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #509
	bl	_assertMakeDir
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #509
	bl	_assertMakeDir
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #509
	bl	_assertMakeDir
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #509
	bl	_assertMakeDir
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #509
	bl	_assertMakeDir
	cmp	w19, #2
	b.lt	LBB0_7
; %bb.3:
	mov	w27, w19
Lloh17:
	adrp	x28, _filenames@GOTPAGE
Lloh18:
	ldr	x28, [x28, _filenames@GOTPAGEOFF]
	mov	w24, #1
Lloh19:
	adrp	x20, l_.str.8@PAGE
Lloh20:
	add	x20, x20, l_.str.8@PAGEOFF
	add	x25, sp, #284
Lloh21:
	adrp	x21, l_.str.9@PAGE
Lloh22:
	add	x21, x21, l_.str.9@PAGEOFF
Lloh23:
	adrp	x22, l_.str.10@PAGE
Lloh24:
	add	x22, x22, l_.str.10@PAGEOFF
	mov	w26, #100
Lloh25:
	adrp	x23, l_.str.14@PAGE
Lloh26:
	add	x23, x23, l_.str.14@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	strb	w26, [sp, #284]
	str	x25, [sp]
	mov	x0, x23
	bl	_failure
	add	x0, sp, #284
	mov	w1, #509
	bl	_assertMakeDir
	add	x24, x24, #1
	cmp	x27, x24
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	x24, [sp]
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_failure
	ldr	x8, [x28]
	lsl	x19, x24, #3
	ldr	x8, [x8, x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x28]
	ldr	x2, [x8, x19]
	add	x0, sp, #284
	mov	x1, x20
	bl	_sprintf
	add	x0, sp, #284
	add	x2, sp, #284
	mov	w1, #511
	bl	_assertMakeFile
	ldr	x8, [x28]
	ldr	x2, [x8, x19]
	add	x0, sp, #24
	mov	x1, x21
	bl	_sprintf
	add	x0, sp, #24
	add	x1, sp, #284
	bl	_assertMakeHardlink
	ldr	x8, [x28]
	ldr	x2, [x8, x19]
	add	x0, sp, #24
	mov	x1, x22
	bl	_sprintf
	add	x0, sp, #24
	add	x1, sp, #284
	bl	_assertMakeHardlink
	bl	_canSymlink
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
	ldr	x2, [x8, x19]
	add	x0, sp, #284
Lloh29:
	adrp	x1, l_.str.11@PAGE
Lloh30:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_sprintf
	ldr	x8, [x28]
	ldr	x2, [x8, x19]
	add	x0, sp, #24
Lloh31:
	adrp	x1, l_.str.12@PAGE
Lloh32:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_sprintf
	add	x8, sp, #24
	stp	x25, x8, [sp]
Lloh33:
	adrp	x0, l_.str.13@PAGE
Lloh34:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_failure
	add	x0, sp, #284
	add	x1, sp, #24
	mov	w2, #0
	bl	_assertMakeSymlink
	b	LBB0_4
LBB0_7:
Lloh35:
	adrp	x0, l_.str.15@PAGE
Lloh36:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_chdir
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	ldur	x8, [x29, #-96]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #560
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Symlink checks"

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

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"d"

l_.str.7:                               ; @.str.7
	.asciz	"Internal sanity check failed: i = %d"

	.comm	_filenames,8,3                  ; @filenames
l_.str.8:                               ; @.str.8
	.asciz	"f/%s"

l_.str.9:                               ; @.str.9
	.asciz	"l/%s"

l_.str.10:                              ; @.str.10
	.asciz	"m/%s"

l_.str.11:                              ; @.str.11
	.asciz	"s/%s"

l_.str.12:                              ; @.str.12
	.asciz	"../f/%s"

l_.str.13:                              ; @.str.13
	.asciz	"buff=\"%s\" buff2=\"%s\""

l_.str.14:                              ; @.str.14
	.asciz	"buff=\"%s\""

l_.str.15:                              ; @.str.15
	.asciz	".."

	.no_dead_strip	_create_tree
.subsections_via_symbols
