	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function showfile
_showfile:                              ## @showfile
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_r_file_size
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_strncmp
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	leaq	(%rbx,%rcx,2), %r13
	movq	%rbx, %rdi
	callq	_r_file_is_directory
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_strdup
	movq	%rax, %r15
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_str_append
	movq	%rax, %r15
LBB0_2:
	cmpb	$0, (%r15)
	je	LBB0_7
## %bb.3:
	testl	%r14d, %r14d
	movl	$420, %eax                      ## imm = 0x1A4
	movl	$493, %r13d                     ## imm = 0x1ED
	cmovel	%eax, %r13d
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.4:
	leaq	L_.str.5(%rip), %rdi
	callq	_strdup
	cmpl	$101, %r12d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.5:
	cmpl	$113, %r12d
	jne	LBB0_11
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_r_str_appendf
	jmp	LBB0_26
LBB0_7:
	movq	%r15, %rdi
	callq	_free
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_8:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	xorl	%eax, %eax
	testb	$3, %cl
	setne	%al
	movq	_needs_newline@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_r_str_appendf
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rax
	jmp	LBB0_29
LBB0_9:
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.10:
	leaq	L_.str.7(%rip), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_11:
	movq	%rax, %rbx
	movq	_FMT_RAW@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_13
## %bb.12:
	testl	%r14d, %r14d
	movl	$45, %eax
	movl	$100, %r14d
	cmovel	%eax, %r14d
	testq	%rbx, %rbx
	leaq	L_.str.5(%rip), %r12
	cmovneq	%rbx, %r12
	movl	%r13d, %edi
	shrl	$3, %edi
	andl	$5, %edi
	callq	_r_str_rwx_i
	movq	%rax, %rbx
	andl	$5, %r13d
	movl	%r13d, %edi
	callq	_r_str_rwx_i
	leaq	L_.str.16(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %edx
	movq	%r12, %rcx
	movq	%rbx, %r8
	movq	%rax, %r9
	xorl	%eax, %eax
	pushq	%r15
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	$0
	callq	_r_str_appendf
	addq	$32, %rsp
	jmp	LBB0_26
LBB0_13:
	movq	_FMT_JSON@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_18
## %bb.14:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_21
## %bb.15:
	leaq	L_.str.17(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_r_str_append
	movq	%rax, %rdi
	jmp	LBB0_22
LBB0_16:
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_str_casestr
	leaq	L_.str.9(%rip), %r14
	testq	%rax, %rax
	jne	LBB0_17
## %bb.19:
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_str_casestr
	testq	%rax, %rax
	je	LBB0_23
LBB0_17:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_25:
	leaq	L_.str.15(%rip), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_r_str_appendf
	jmp	LBB0_26
LBB0_18:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_22:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testl	%r14d, %r14d
	leaq	L_.str.20(%rip), %rax
	leaq	L_.str.19(%rip), %r10
	cmoveq	%rax, %r10
	leaq	L_.str.18(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	pushq	%r13
	callq	_r_str_appendf
	addq	$16, %rsp
LBB0_26:
	movq	%rax, %rbx
LBB0_27:
	movq	%r15, %rdi
	callq	_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_28:
	movq	%rbx, %rax
LBB0_29:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	callq	_r_str_casestr
	testq	%rax, %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_25
## %bb.24:
	cmpb	$46, (%r15)
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str.3(%rip), %r14
	cmoveq	%rax, %r14
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"./"

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

	.comm	_needs_newline,4,2              ## @needs_newline
L_.str.2:                               ## @.str.2
	.asciz	"%18s%s"

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

L_.str.4:                               ## @.str.4
	.asciz	"\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"%s\n"

L_.str.7:                               ## @.str.7
	.asciz	"\360\237\223\201"

L_.str.9:                               ## @.str.9
	.asciz	"\360\237\214\205"

L_.str.11:                              ## @.str.11
	.asciz	"\360\237\221\200"

L_.str.12:                              ## @.str.12
	.asciz	".jpg"

L_.str.13:                              ## @.str.13
	.asciz	".png"

L_.str.14:                              ## @.str.14
	.asciz	".gif"

L_.str.15:                              ## @.str.15
	.asciz	"%s %s\n"

	.comm	_FMT_RAW,4,2                    ## @FMT_RAW
L_.str.16:                              ## @.str.16
	.asciz	"%c%s%s%s  1 %4d:%-4d  %-10d  %s\n"

	.comm	_FMT_JSON,4,2                   ## @FMT_JSON
L_.str.17:                              ## @.str.17
	.asciz	","

L_.str.18:                              ## @.str.18
	.asciz	"{\"name\":\"%s\",\"size\":%d,\"uid\":%d,\"gid\":%d,\"perm\":%d,\"isdir\":%s}"

L_.str.19:                              ## @.str.19
	.asciz	"true"

L_.str.20:                              ## @.str.20
	.asciz	"false"

	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_ISUID,4,2                    ## @S_ISUID
	.comm	_S_IXUSR,4,2                    ## @S_IXUSR
	.no_dead_strip	_showfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function showfile
_showfile:                              ; @showfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x26, x4
	mov	x23, x3
	mov	x20, x2
	mov	x25, x1
	mov	x19, x0
	mov	x0, x2
	bl	_r_file_size
	mov	x22, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #2
	bl	_strncmp
	cmp	w0, #0
	cset	w8, eq
	add	x21, x20, w8, uxtw #1
	mov	x0, x20
	bl	_r_file_is_directory
	mov	x24, x0
	mov	x0, x21
	bl	_strdup
	mov	x20, x0
	cbz	w24, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_r_str_append
	mov	x20, x0
LBB0_2:
	ldrb	w8, [x20]
	cbz	w8, LBB0_7
; %bb.3:
	mov	w8, #493
	mov	w9, #420
	cmp	w24, #0
	csel	w28, w9, w8, eq
	cbz	w26, LBB0_8
; %bb.4:
Lloh4:
	adrp	x27, l_.str.5@PAGE
Lloh5:
	add	x27, x27, l_.str.5@PAGEOFF
	mov	x0, x27
	bl	_strdup
	mov	x21, x0
	cmp	w26, #101
	b.eq	LBB0_9
; %bb.5:
	cmp	w26, #113
	b.ne	LBB0_11
; %bb.6:
	str	x20, [sp]
Lloh6:
	adrp	x1, l_.str.6@PAGE
Lloh7:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_22
LBB0_7:
	mov	x0, x20
	b	LBB0_24
LBB0_8:
	add	w8, w25, #1
	tst	w8, #0x3
	cset	w8, ne
Lloh8:
	adrp	x9, _needs_newline@GOTPAGE
Lloh9:
	ldr	x9, [x9, _needs_newline@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
Lloh11:
	adrp	x8, l_.str.3@PAGE
Lloh12:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh13:
	adrp	x9, l_.str.4@PAGE
Lloh14:
	add	x9, x9, l_.str.4@PAGEOFF
	csel	x8, x9, x8, eq
	stp	x20, x8, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_r_str_appendf
	mov	x19, x0
	mov	x0, x20
	b	LBB0_24
LBB0_9:
	cbz	w24, LBB0_17
; %bb.10:
Lloh17:
	adrp	x8, l_.str.7@PAGE
Lloh18:
	add	x8, x8, l_.str.7@PAGEOFF
	b	LBB0_21
LBB0_11:
Lloh19:
	adrp	x8, _FMT_RAW@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FMT_RAW@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_13
; %bb.12:
	cmp	x21, #0
	csel	x25, x27, x21, eq
	mov	w26, #5
	and	w0, w26, w28, lsr #3
	bl	_r_str_rwx_i
	mov	x23, x0
	and	w0, w28, w26
	bl	_r_str_rwx_i
	stp	xzr, xzr, [sp, #32]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	stp	x22, x20, [sp, #48]
	cmp	w24, #0
	stp	x23, x0, [sp, #16]
	mov	w8, #100
	mov	w9, #45
	csel	x8, x9, x8, eq
Lloh22:
	adrp	x1, l_.str.16@PAGE
Lloh23:
	add	x1, x1, l_.str.16@PAGEOFF
	stp	x8, x25, [sp]
	b	LBB0_22
LBB0_13:
Lloh24:
	adrp	x8, _FMT_JSON@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FMT_JSON@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_23
; %bb.14:
	cmp	w25, #1
	b.lt	LBB0_16
; %bb.15:
Lloh27:
	adrp	x1, l_.str.17@PAGE
Lloh28:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_r_str_append
	mov	x19, x0
LBB0_16:
Lloh29:
	adrp	x8, l_.str.19@PAGE
Lloh30:
	add	x8, x8, l_.str.19@PAGEOFF
Lloh31:
	adrp	x9, l_.str.20@PAGE
Lloh32:
	add	x9, x9, l_.str.20@PAGEOFF
	cmp	w24, #0
	csel	x8, x9, x8, eq
	stp	xzr, xzr, [sp, #16]
	stp	x23, x22, [sp]
	stp	x28, x8, [sp, #32]
Lloh33:
	adrp	x1, l_.str.18@PAGE
Lloh34:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_22
LBB0_17:
Lloh35:
	adrp	x1, l_.str.12@PAGE
Lloh36:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_r_str_casestr
	cbnz	x0, LBB0_20
; %bb.18:
Lloh37:
	adrp	x1, l_.str.13@PAGE
Lloh38:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_r_str_casestr
	cbnz	x0, LBB0_20
; %bb.19:
Lloh39:
	adrp	x1, l_.str.14@PAGE
Lloh40:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_r_str_casestr
	cbz	x0, LBB0_25
LBB0_20:
Lloh41:
	adrp	x8, l_.str.9@PAGE
Lloh42:
	add	x8, x8, l_.str.9@PAGEOFF
LBB0_21:
	stp	x8, x20, [sp]
Lloh43:
	adrp	x1, l_.str.15@PAGE
Lloh44:
	add	x1, x1, l_.str.15@PAGEOFF
LBB0_22:
	mov	x0, x19
	bl	_r_str_appendf
	mov	x19, x0
LBB0_23:
	mov	x0, x20
	bl	_free
	mov	x0, x21
LBB0_24:
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_25:
	ldrb	w8, [x20]
Lloh45:
	adrp	x9, l_.str.3@PAGE
Lloh46:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh47:
	adrp	x10, l_.str.11@PAGE
Lloh48:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	w8, #46
	csel	x8, x10, x9, eq
	b	LBB0_21
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"./"

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

	.comm	_needs_newline,4,2              ; @needs_newline
l_.str.2:                               ; @.str.2
	.asciz	"%18s%s"

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

l_.str.4:                               ; @.str.4
	.asciz	"\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"%s\n"

l_.str.7:                               ; @.str.7
	.asciz	"\360\237\223\201"

l_.str.9:                               ; @.str.9
	.asciz	"\360\237\214\205"

l_.str.11:                              ; @.str.11
	.asciz	"\360\237\221\200"

l_.str.12:                              ; @.str.12
	.asciz	".jpg"

l_.str.13:                              ; @.str.13
	.asciz	".png"

l_.str.14:                              ; @.str.14
	.asciz	".gif"

l_.str.15:                              ; @.str.15
	.asciz	"%s %s\n"

	.comm	_FMT_RAW,4,2                    ; @FMT_RAW
l_.str.16:                              ; @.str.16
	.asciz	"%c%s%s%s  1 %4d:%-4d  %-10d  %s\n"

	.comm	_FMT_JSON,4,2                   ; @FMT_JSON
l_.str.17:                              ; @.str.17
	.asciz	","

l_.str.18:                              ; @.str.18
	.asciz	"{\"name\":\"%s\",\"size\":%d,\"uid\":%d,\"gid\":%d,\"perm\":%d,\"isdir\":%s}"

l_.str.19:                              ; @.str.19
	.asciz	"true"

l_.str.20:                              ; @.str.20
	.asciz	"false"

	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_ISUID,4,2                    ; @S_ISUID
	.comm	_S_IXUSR,4,2                    ; @S_IXUSR
	.no_dead_strip	_showfile
.subsections_via_symbols
