	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_file_name
_find_file_name:                        ## @find_file_name
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -52(%rbp)
	leaq	-52(%rbp), %rsi
	callq	_find_dir_name
	testq	%rax, %rax
	je	LBB0_24
## %bb.1:
	movq	%rax, %r12
	leaq	-64(%rbp), %rsi
	movq	%rax, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_AG_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	_DIRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %r15
	subq	%r12, %r15
	cmpq	%r13, %r15
	jae	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	_NUL@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rbx,%r15)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_10
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_zsave_warn@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	8(%r14), %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %r14d
	movq	_zNoStat@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_strerror
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, -52(%rbp)
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_AGFREE
LBB0_8:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
LBB0_24:
	xorl	%r12d, %r12d
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-64(%rbp), %rdi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_6
LBB0_11:
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_12:
	movq	-64(%rbp), %rdi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	(%r14), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	addl	$2, %eax
	movslq	%eax, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_AGALOC
	movq	%rax, %rbx
	movq	(%r14), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_sprintf
	cmpl	$0, -52(%rbp)
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	callq	_AGFREE
LBB0_15:
	movl	$1, -52(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.17:
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
LBB0_18:
	movq	%rbx, %r12
LBB0_19:
	movq	-64(%rbp), %rdi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movq	%r12, %rdi
	callq	_unlink
	movl	-52(%rbp), %eax
	movl	%eax, (%r15)
	jmp	LBB0_25
LBB0_21:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_zsave_warn@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	8(%r14), %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, -52(%rbp)
	je	LBB0_24
## %bb.22:
	movq	%r12, %rdi
	callq	_AGFREE
	jmp	LBB0_24
LBB0_23:
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_zsave_warn@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	8(%r14), %rdx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %r14d
	movq	_zNoStat@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%r13), %r13
	movq	%r13, %rdi
	callq	_strerror
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%eax, %ecx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movq	%rbx, %rdi
	callq	_AGFREE
	jmp	LBB0_25
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AG_PATH_MAX,4,2                ## @AG_PATH_MAX
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_stderr,4,2                     ## @stderr
	.comm	_zsave_warn,8,3                 ## @zsave_warn
	.comm	_zNoStat,8,3                    ## @zNoStat
	.comm	_DIRCH,4,2                      ## @DIRCH
	.comm	_S_IFREG,8,3                    ## @S_IFREG
	.comm	_NUL,1,0                        ## @NUL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file name"

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

	.no_dead_strip	_find_file_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_file_name
_find_file_name:                        ; @find_file_name
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #32
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stur	wzr, [x29, #-84]
	sub	x1, x29, #84
	bl	_find_dir_name
	mov	x19, x0
	cbz	x0, LBB0_25
; %bb.1:
	sub	x1, x29, #80
	mov	x0, x19
	bl	_stat
	cbz	x0, LBB0_11
; %bb.2:
	mov	x25, sp
Lloh3:
	adrp	x8, _AG_PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AG_PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
Lloh8:
	adrp	x26, _errno@GOTPAGE
Lloh9:
	ldr	x26, [x26, _errno@GOTPAGEOFF]
	ldr	x8, [x26]
Lloh10:
	adrp	x9, _ENOENT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
Lloh13:
	adrp	x8, _DIRCH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DIRCH@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_strrchr
	cbz	x0, LBB0_10
; %bb.4:
	sub	x24, x0, x19
	cmp	x24, x23
	b.hs	LBB0_6
; %bb.5:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x24
	bl	_memcpy
Lloh16:
	adrp	x8, _NUL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NUL@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x22, x24]
	sub	x1, x29, #80
	mov	x0, x22
	bl	_stat
	cbz	x0, LBB0_9
LBB0_6:
Lloh18:
	adrp	x21, _stderr@GOTPAGE
Lloh19:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh20:
	adrp	x8, _zsave_warn@GOTPAGE
Lloh21:
	ldr	x8, [x8, _zsave_warn@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
	ldrsw	x2, [x20, #8]
	bl	_fprintf
	ldr	w20, [x21]
Lloh23:
	adrp	x8, _zNoStat@GOTPAGE
Lloh24:
	ldr	x8, [x8, _zNoStat@GOTPAGEOFF]
Lloh25:
	ldr	x21, [x8]
	ldr	x22, [x26]
	mov	x0, x22
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x19, [sp, #-16]!
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_fprintf
	add	sp, sp, #16
	ldur	w8, [x29, #-84]
	cbz	w8, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_AGFREE
LBB0_8:
	mov	sp, x25
	b	LBB0_24
LBB0_9:
	ldur	x0, [x29, #-80]
	bl	_S_ISDIR
	cbz	x0, LBB0_6
LBB0_10:
Lloh26:
	adrp	x8, _S_IFREG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	stur	x8, [x29, #-80]
	mov	sp, x25
LBB0_11:
	ldur	x0, [x29, #-80]
	bl	_S_ISDIR
	cbz	x0, LBB0_18
; %bb.12:
	mov	x0, x19
	bl	_strlen
	mov	x22, x0
	ldr	x0, [x20]
	bl	_strlen
	add	w8, w22, w0
	add	w8, w8, #2
	sxtw	x0, w8
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AGALOC
	mov	x22, x0
	ldr	x3, [x20]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_sprintf
	ldur	w8, [x29, #-84]
	cbz	w8, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_AGFREE
LBB0_14:
	mov	w8, #1
	stur	w8, [x29, #-84]
	sub	x1, x29, #80
	mov	x0, x22
	bl	_stat
	cbz	x0, LBB0_17
; %bb.15:
Lloh33:
	adrp	x23, _errno@GOTPAGE
Lloh34:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh35:
	adrp	x9, _ENOENT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.16:
Lloh38:
	adrp	x8, _S_IFREG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	stur	x8, [x29, #-80]
LBB0_17:
	mov	x19, x22
LBB0_18:
	ldur	x0, [x29, #-80]
	bl	_S_ISREG
	cbz	w0, LBB0_20
; %bb.19:
	mov	x0, x19
	bl	_unlink
	ldur	w8, [x29, #-84]
	str	w8, [x21]
	b	LBB0_25
LBB0_20:
Lloh41:
	adrp	x8, _stderr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x8, _zsave_warn@GOTPAGE
Lloh45:
	ldr	x8, [x8, _zsave_warn@GOTPAGEOFF]
Lloh46:
	ldr	x1, [x8]
	ldrsw	x2, [x20, #8]
	str	x19, [sp, #-16]!
	bl	_fprintf
	add	sp, sp, #16
	ldur	w8, [x29, #-84]
	cbz	w8, LBB0_24
; %bb.21:
	mov	x0, x19
	b	LBB0_23
LBB0_22:
Lloh47:
	adrp	x19, _stderr@GOTPAGE
Lloh48:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh49:
	adrp	x8, _zsave_warn@GOTPAGE
Lloh50:
	ldr	x8, [x8, _zsave_warn@GOTPAGEOFF]
Lloh51:
	ldr	x1, [x8]
	ldrsw	x2, [x20, #8]
	bl	_fprintf
	ldr	w19, [x19]
Lloh52:
	adrp	x8, _zNoStat@GOTPAGE
Lloh53:
	ldr	x8, [x8, _zNoStat@GOTPAGEOFF]
Lloh54:
	ldr	x20, [x8]
	ldr	x21, [x23]
	mov	x0, x21
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x22, [sp, #-16]!
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_fprintf
	add	sp, sp, #16
	mov	x0, x22
LBB0_23:
	bl	_AGFREE
LBB0_24:
	mov	x19, #0
LBB0_25:
	ldur	x8, [x29, #-72]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_AG_PATH_MAX,4,2                ; @AG_PATH_MAX
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_stderr,4,2                     ; @stderr
	.comm	_zsave_warn,8,3                 ; @zsave_warn
	.comm	_zNoStat,8,3                    ; @zNoStat
	.comm	_DIRCH,4,2                      ; @DIRCH
	.comm	_S_IFREG,8,3                    ; @S_IFREG
	.comm	_NUL,1,0                        ; @NUL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file name"

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

	.no_dead_strip	_find_file_name
.subsections_via_symbols
