	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_find_cell
_file_find_cell:                        ## @file_find_cell
	.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	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -1084(%rbp)               ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__PATH_CELLSERVDB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	__PATH_ARLA_CELLSERVDB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	__PATH_OPENAFS_DEBIAN_CELLSERVDB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	__PATH_OPENAFS_MACOSX_CELLSERVDB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	__PATH_ARLA_DEBIAN_CELLSERVDB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	leaq	-1072(%rbp), %r15
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_20
## %bb.7:
	movq	%r13, -1096(%rbp)               ## 8-byte Spill
	movq	%r12, -1104(%rbp)               ## 8-byte Spill
	leaq	L_.str.1(%rip), %r13
	leaq	-1080(%rbp), %r12
	jmp	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	leaq	-1071(%rbp), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_19
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$62, -1072(%rbp)
	jne	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, -1080(%rbp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_strsep
	cmpl	$0, -1084(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-1071(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_8
LBB0_20:
	movl	$-1, %r14d
LBB0_21:
	movq	%rbx, %rdi
	callq	_fclose
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r14d, %eax
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	leaq	-1072(%rbp), %r14
	movq	%r14, %rdi
	movl	$35, %esi
	callq	_strchr
	movq	%rax, -1080(%rbp)
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:
	incq	%rax
	movq	%rax, -1080(%rbp)
	movq	%r14, %rdi
	callq	_strlen
	cltq
	cmpb	$10, -1(%rax,%r14)
	jne	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%r14)
LBB0_17:
	movq	-1080(%rbp), %rsi
	movq	-1096(%rbp), %rdi               ## 8-byte Reload
	callq	*(%rdi)
	movq	-1104(%rbp), %rcx               ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	movl	$-1, %r14d
	je	LBB0_21
## %bb.18:
	xorl	%r14d, %r14d
	cmpb	$1, (%rax)
	sbbl	%r14d, %r14d
	jmp	LBB0_21
LBB0_5:
	movl	$-1, %r14d
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_CELLSERVDB,4,2           ## @_PATH_CELLSERVDB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	__PATH_ARLA_CELLSERVDB,4,2      ## @_PATH_ARLA_CELLSERVDB
	.comm	__PATH_OPENAFS_DEBIAN_CELLSERVDB,4,2 ## @_PATH_OPENAFS_DEBIAN_CELLSERVDB
	.comm	__PATH_OPENAFS_MACOSX_CELLSERVDB,4,2 ## @_PATH_OPENAFS_MACOSX_CELLSERVDB
	.comm	__PATH_ARLA_DEBIAN_CELLSERVDB,4,2 ## @_PATH_ARLA_DEBIAN_CELLSERVDB
L_.str.1:                               ## @.str.1
	.asciz	" \t\n#"

	.no_dead_strip	_file_find_cell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_find_cell
_file_find_cell:                        ; @file_find_cell
	.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, #1040
	mov	x22, x3
	mov	x19, x2
	mov	x23, 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, #-88]
Lloh3:
	adrp	x8, __PATH_CELLSERVDB@GOTPAGE
Lloh4:
	ldr	x8, [x8, __PATH_CELLSERVDB@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.1:
Lloh8:
	adrp	x8, __PATH_ARLA_CELLSERVDB@GOTPAGE
Lloh9:
	ldr	x8, [x8, __PATH_ARLA_CELLSERVDB@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.2:
Lloh13:
	adrp	x8, __PATH_OPENAFS_DEBIAN_CELLSERVDB@GOTPAGE
Lloh14:
	ldr	x8, [x8, __PATH_OPENAFS_DEBIAN_CELLSERVDB@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.3:
Lloh18:
	adrp	x8, __PATH_OPENAFS_MACOSX_CELLSERVDB@GOTPAGE
Lloh19:
	ldr	x8, [x8, __PATH_OPENAFS_MACOSX_CELLSERVDB@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_5
; %bb.4:
Lloh23:
	adrp	x8, __PATH_ARLA_DEBIAN_CELLSERVDB@GOTPAGE
Lloh24:
	ldr	x8, [x8, __PATH_ARLA_DEBIAN_CELLSERVDB@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbz	x0, LBB0_22
LBB0_5:
	add	x26, sp, #8
	add	x0, sp, #8
	mov	w1, #1024
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_12
; %bb.6:
	add	x24, x26, #1
Lloh28:
	adrp	x25, l_.str.1@PAGE
Lloh29:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x23
	bl	_strncmp
	cbnz	w0, LBB0_11
	b	LBB0_16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [sp, #8]
	cmp	w8, #62
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x26, [sp]
	mov	x0, sp
	mov	x1, x25
	bl	_strsep
	cbz	w22, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #8
	mov	w1, #1024
	mov	x2, x21
	bl	_fgets
	cbnz	x0, LBB0_8
LBB0_12:
	mov	w19, #-1
LBB0_13:
	mov	x0, x21
	bl	_fclose
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.15:
	mov	x0, x19
	add	sp, sp, #1040
	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_16:
	add	x0, sp, #8
	mov	w1, #1024
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_12
; %bb.17:
	add	x22, sp, #8
	add	x0, sp, #8
	mov	w1, #35
	bl	_strchr
	str	x0, [sp]
	cbz	x0, LBB0_12
; %bb.18:
	add	x8, x0, #1
	str	x8, [sp]
	add	x0, sp, #8
	bl	_strlen
	add	x8, x22, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #10
	b.ne	LBB0_20
; %bb.19:
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_strlen
	add	x8, x22, w0, sxtw
	sturb	wzr, [x8, #-1]
LBB0_20:
	ldr	x8, [x20]
	ldr	x1, [sp]
	mov	x0, x20
	blr	x8
	str	x0, [x19]
	cbz	x0, LBB0_12
; %bb.21:
	ldrb	w8, [x0]
	cmp	w8, #0
	csetm	w19, eq
	b	LBB0_13
LBB0_22:
	mov	w19, #-1
	b	LBB0_14
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_CELLSERVDB,4,2           ; @_PATH_CELLSERVDB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	__PATH_ARLA_CELLSERVDB,4,2      ; @_PATH_ARLA_CELLSERVDB
	.comm	__PATH_OPENAFS_DEBIAN_CELLSERVDB,4,2 ; @_PATH_OPENAFS_DEBIAN_CELLSERVDB
	.comm	__PATH_OPENAFS_MACOSX_CELLSERVDB,4,2 ; @_PATH_OPENAFS_MACOSX_CELLSERVDB
	.comm	__PATH_ARLA_DEBIAN_CELLSERVDB,4,2 ; @_PATH_ARLA_DEBIAN_CELLSERVDB
l_.str.1:                               ; @.str.1
	.asciz	" \t\n#"

	.no_dead_strip	_file_find_cell
.subsections_via_symbols
