	.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	$120, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_DIRECTORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movq	_SYS_getdents64@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	-128(%rbp), %rbx
	movl	%eax, %esi
	movq	%rbx, %rdx
	movl	$100, %ecx
	callq	_syscall
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_DIRECTORY,4,2                ## @O_DIRECTORY
	.comm	_SYS_getdents64,4,2             ## @SYS_getdents64
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
.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, #128
	.cfi_def_cfa_offset 128
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
	stur	x8, [x29, #-8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _O_DIRECTORY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _O_DIRECTORY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
	mov	x1, x0
Lloh11:
	adrp	x8, _SYS_getdents64@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SYS_getdents64@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x2, sp, #4
	mov	w3, #100
	bl	_syscall
	mov	x2, x0
Lloh14:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	add	x1, sp, #4
	bl	_write
	ldur	x8, [x29, #-8]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_DIRECTORY,4,2                ; @O_DIRECTORY
	.comm	_SYS_getdents64,4,2             ; @SYS_getdents64
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
.subsections_via_symbols
