	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fs_search
_fs_search:                             ## @fs_search
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_ARG_NAME@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	%r14, %r9
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	$0, (%r9)
LBB0_2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	movl	$-1, %eax
	testl	%r15d, %r15d
	je	LBB0_28
## %bb.3:
	xorl	%eax, %eax
	movq	%r9, %r13
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	cmpq	$0, (%rbx)
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	incq	%r14
	cmpq	(%rbx), %r14
	jae	LBB0_14
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
	movq	8(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%r12), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %r9
	callq	_fs_lookup
	movq	%r13, %r9
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, 24(%r12)
	je	LBB0_6
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=3
	addq	$4, %r15
	cmpq	$40, %r15
	movq	%r13, %r9
	je	LBB0_6
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	l_reltable.fs_search(%rip), %rax
	movslq	(%r15,%rax), %rdx
	addq	%rax, %rdx
	movq	16(%r12), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_fs_lookup
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=3
	cmpq	$0, 24(%r12)
	je	LBB0_11
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%r9, %r9
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_25
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jne	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%r13, %r9
	testq	%rax, %rax
	jne	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_OSENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_arch_valid
	testq	%rax, %rax
	je	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_24
LBB0_21:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rsi
	leaq	L_.str.10(%rip), %rdi
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_warnx
LBB0_24:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %r9
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	addq	$8, -48(%rbp)                   ## 8-byte Folded Spill
	decl	%r15d
	jne	LBB0_4
## %bb.26:
	movl	$-1, %eax
	jmp	LBB0_28
LBB0_27:
	xorl	%eax, %eax
LBB0_28:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1"

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

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"7"

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

L_.str.8:                               ## @.str.8
	.asciz	"9"

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

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.fs_search
l_reltable.fs_search:
	.long	L_.str-l_reltable.fs_search
	.long	L_.str.1-l_reltable.fs_search
	.long	L_.str.2-l_reltable.fs_search
	.long	L_.str.3-l_reltable.fs_search
	.long	L_.str.4-l_reltable.fs_search
	.long	L_.str.5-l_reltable.fs_search
	.long	L_.str.6-l_reltable.fs_search
	.long	L_.str.7-l_reltable.fs_search
	.long	L_.str.8-l_reltable.fs_search
	.long	L_.str.9-l_reltable.fs_search

	.comm	_ARG_NAME,8,3                   ## @ARG_NAME
	.comm	_OSENUM,4,2                     ## @OSENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str.10:                              ## @.str.10
	.asciz	"Unknown architecture \"%s\"."

L_.str.11:                              ## @.str.11
	.asciz	"No entry for %s in the manual."

L_.str.12:                              ## @.str.12
	.asciz	"No entry for %s in section %s of the manual."

	.no_dead_strip	_fs_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fs_search
_fs_search:                             ; @fs_search
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ARG_NAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARG_NAME@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	cbz	x20, LBB0_2
; %bb.1:
	str	xzr, [x20]
LBB0_2:
	str	xzr, [x19]
	cbz	w22, LBB0_25
; %bb.3:
	mov	x26, #0
Lloh3:
	adrp	x27, l___const.fs_search.sections@PAGE
Lloh4:
	add	x27, x27, l___const.fs_search.sections@PAGEOFF
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x8, [x23]
	cbz	x8, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x28, x28, #1
	ldr	x8, [x23]
	cmp	x28, x8
	b.hs	LBB0_14
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x2, [x24, #8]
	cbz	x2, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x3, [x24, #16]
	ldr	x4, [x21]
	mov	x0, x23
	mov	x1, x28
	mov	x5, x20
	mov	x6, x19
	bl	_fs_lookup
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_6
	b	LBB0_26
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x25, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=3
	add	x25, x25, #8
	cmp	x25, #80
	b.eq	LBB0_6
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x2, [x27, x25]
	ldr	x3, [x24, #16]
	ldr	x4, [x21]
	mov	x0, x23
	mov	x1, x28
	mov	x5, x20
	mov	x6, x19
	bl	_fs_lookup
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_11
	b	LBB0_26
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x20, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	cmp	x8, x26
	b.ne	LBB0_24
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21]
	mov	w1, #47
	bl	_strchr
	cbnz	x0, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24, #16]
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh5:
	adrp	x8, _OSENUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OSENUM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_arch_valid
	cbz	x0, LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	ldr	x1, [x21]
	cbz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.12@PAGE
Lloh9:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x0, l_.str.11@PAGE
Lloh11:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x24, #16]
Lloh12:
	adrp	x0, l_.str.10@PAGE
Lloh13:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_warnx
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x26, [x19]
	add	x21, x21, #8
	subs	w22, w22, #1
	b.ne	LBB0_4
LBB0_25:
	mov	w0, #-1
	b	LBB0_27
LBB0_26:
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1"

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

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"7"

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

l_.str.8:                               ; @.str.8
	.asciz	"9"

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

	.section	__DATA,__const
	.p2align	3                               ; @__const.fs_search.sections
l___const.fs_search.sections:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9

	.comm	_ARG_NAME,8,3                   ; @ARG_NAME
	.comm	_OSENUM,4,2                     ; @OSENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str.10:                              ; @.str.10
	.asciz	"Unknown architecture \"%s\"."

l_.str.11:                              ; @.str.11
	.asciz	"No entry for %s in the manual."

l_.str.12:                              ; @.str.12
	.asciz	"No entry for %s in section %s of the manual."

	.no_dead_strip	_fs_search
.subsections_via_symbols
