	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -24(%rbp)
	movq	_FTS_PHYSICAL@GOTPCREL(%rip), %rax
	movq	_FTS_NOCHDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_fts_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	callq	_fts_open
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_fts_read
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_FTS_SKIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_fts_set
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_fts_close
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
LBB0_8:
	callq	_perror
	movl	$1, %eax
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_FTS_PHYSICAL,4,2               ## @FTS_PHYSICAL
	.comm	_FTS_NOCHDIR,4,2                ## @FTS_NOCHDIR
	.comm	_fts_compare,4,2                ## @fts_compare
L_.str.1:                               ## @.str.1
	.asciz	"fts_open"

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

	.comm	_FTS_SKIP,4,2                   ## @FTS_SKIP
L_.str.3:                               ## @.str.3
	.asciz	"fts_set"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	stp	x8, xzr, [sp, #8]
Lloh5:
	adrp	x8, _FTS_PHYSICAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FTS_PHYSICAL@GOTPAGEOFF]
Lloh7:
	adrp	x9, _FTS_NOCHDIR@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FTS_NOCHDIR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh11:
	adrp	x8, _fts_compare@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fts_compare@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_fts_open
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_fts_read
	cbz	x0, LBB0_6
; %bb.2:
	mov	x1, x0
Lloh14:
	adrp	x8, _FTS_SKIP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FTS_SKIP@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fts_set
	cbnz	x0, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_fts_close
	cbz	x0, LBB0_9
; %bb.4:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_8:
	bl	_perror
	mov	w0, #1
LBB0_9:
	ldr	x8, [sp, #24]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_FTS_PHYSICAL,4,2               ; @FTS_PHYSICAL
	.comm	_FTS_NOCHDIR,4,2                ; @FTS_NOCHDIR
	.comm	_fts_compare,4,2                ; @fts_compare
l_.str.1:                               ; @.str.1
	.asciz	"fts_open"

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

	.comm	_FTS_SKIP,4,2                   ; @FTS_SKIP
l_.str.3:                               ; @.str.3
	.asciz	"fts_set"

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

.subsections_via_symbols
