	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fileargs_add_cache
_fileargs_add_cache:                    ## @fileargs_add_cache
	.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	_capflags@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
LBB0_1:
	movq	_allcached@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_24
LBB0_2:
	movq	_cacheposition@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, -64(%rbp)
	movq	_CACHE_SIZE@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	js	LBB0_3
## %bb.4:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	decl	%r13d
	xorl	%r15d, %r15d
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	leal	1(%r13), %eax
	cmpl	(%rbx), %r13d
	movl	%eax, %r13d
	jge	LBB0_22
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	leaq	-52(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_nvlist_next
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	cmpl	(%rbx), %r13d
	je	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %eax
	movq	_NV_TYPE_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r15, %r15
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_NV_FLAG_NO_UNIQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nvlist_create
	movq	%rax, %r12
	movq	_allowed_operations@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FA_OPEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	leaq	-80(%rbp), %rbx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_open_file
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_nvlist_move_descriptor
	movq	_allowed_operations@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_FA_LSTAT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lstat
	testq	%rax, %rax
	js	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_nvlist_add_binary
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_nvlist_add_nvlist
	jmp	LBB0_20
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	decl	%r13d
	movq	%r12, %rdi
	callq	_nvlist_destroy
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_CACHE_SIZE@GOTPCREL(%rip), %rbx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_22:
	movq	-64(%rbp), %rax
	movq	_cacheposition@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_3:
                                        ## implicit-def: $r14
LBB0_23:
	movq	%rax, (%rcx)
	movq	_lastname@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_cacheposition@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_lastname@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_capflags,4,2                   ## @capflags
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_allcached,4,2                  ## @allcached
	.comm	_cacheposition,8,3              ## @cacheposition
	.comm	_CACHE_SIZE,4,2                 ## @CACHE_SIZE
	.comm	_lastname,8,3                   ## @lastname
	.comm	_NV_TYPE_NULL,4,2               ## @NV_TYPE_NULL
	.comm	_NV_FLAG_NO_UNIQUE,4,2          ## @NV_FLAG_NO_UNIQUE
	.comm	_allowed_operations,4,2         ## @allowed_operations
	.comm	_FA_OPEN,4,2                    ## @FA_OPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fd"

	.comm	_FA_LSTAT,4,2                   ## @FA_LSTAT
L_.str.1:                               ## @.str.1
	.asciz	"stat"

	.no_dead_strip	_fileargs_add_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fileargs_add_cache
_fileargs_add_cache:                    ; @fileargs_add_cache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	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
	.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
Lloh0:
	adrp	x8, _capflags@GOTPAGE
Lloh1:
	ldr	x8, [x8, _capflags@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
Lloh6:
	adrp	x8, _allcached@GOTPAGE
Lloh7:
	ldr	x8, [x8, _allcached@GOTPAGEOFF]
	mov	w9, #1
Lloh8:
	str	w9, [x8]
	b	LBB0_22
LBB0_2:
Lloh9:
	adrp	x10, _cacheposition@GOTPAGE
Lloh10:
	ldr	x10, [x10, _cacheposition@GOTPAGEOFF]
	ldr	x8, [x10]
	str	x8, [sp, #16]
Lloh11:
	adrp	x27, _CACHE_SIZE@GOTPAGE
Lloh12:
	ldr	x27, [x27, _CACHE_SIZE@GOTPAGEOFF]
	ldr	w9, [x27]
	tbnz	w9, #31, LBB0_20
; %bb.3:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w28, #0
Lloh13:
	adrp	x22, _NV_TYPE_NULL@GOTPAGE
Lloh14:
	ldr	x22, [x22, _NV_TYPE_NULL@GOTPAGEOFF]
Lloh15:
	adrp	x26, _allowed_operations@GOTPAGE
Lloh16:
	ldr	x26, [x26, _allowed_operations@GOTPAGEOFF]
Lloh17:
	adrp	x23, _FA_OPEN@GOTPAGE
Lloh18:
	ldr	x23, [x23, _FA_OPEN@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, #0
	sub	w28, w28, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w28, #1
	ldr	w9, [x27]
	cmp	w28, w9
	mov	x28, x8
	b.ge	LBB0_19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #28
	add	x2, sp, #16
	mov	x0, x20
	bl	_nvlist_next
	cbz	x0, LBB0_23
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x0
	ldr	w8, [x27]
	cmp	w28, w8
	b.eq	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #28]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x19, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x8, _NV_FLAG_NO_UNIQUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NV_FLAG_NO_UNIQUE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_nvlist_create
	mov	x25, x0
	ldr	w8, [x26]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_open_file
	tbnz	w0, #31, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x2, x0
	mov	x0, x25
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nvlist_move_descriptor
	ldr	w8, [x26]
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x9, _FA_LSTAT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FA_LSTAT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x1, sp, #8
	mov	x0, x24
	bl	_lstat
	tbnz	x0, #63, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x2, sp, #8
	mov	x0, x25
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w3, #4
	bl	_nvlist_add_binary
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x24
	mov	x2, x25
	bl	_nvlist_add_nvlist
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w28, w28, #1
	mov	x0, x25
	bl	_nvlist_destroy
	b	LBB0_5
LBB0_19:
	ldr	x8, [sp, #16]
Lloh29:
	adrp	x10, _cacheposition@GOTPAGE
Lloh30:
	ldr	x10, [x10, _cacheposition@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
                                        ; implicit-def: $x24
LBB0_21:
	str	x8, [x10]
Lloh31:
	adrp	x8, _lastname@GOTPAGE
Lloh32:
	ldr	x8, [x8, _lastname@GOTPAGEOFF]
Lloh33:
	str	x24, [x8]
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_23:
Lloh34:
	adrp	x8, _lastname@GOTPAGE
Lloh35:
	ldr	x8, [x8, _lastname@GOTPAGEOFF]
Lloh36:
	adrp	x9, _cacheposition@GOTPAGE
Lloh37:
	ldr	x9, [x9, _cacheposition@GOTPAGEOFF]
Lloh38:
	str	xzr, [x9]
Lloh39:
	str	xzr, [x8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_capflags,4,2                   ; @capflags
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_allcached,4,2                  ; @allcached
	.comm	_cacheposition,8,3              ; @cacheposition
	.comm	_CACHE_SIZE,4,2                 ; @CACHE_SIZE
	.comm	_lastname,8,3                   ; @lastname
	.comm	_NV_TYPE_NULL,4,2               ; @NV_TYPE_NULL
	.comm	_NV_FLAG_NO_UNIQUE,4,2          ; @NV_FLAG_NO_UNIQUE
	.comm	_allowed_operations,4,2         ; @allowed_operations
	.comm	_FA_OPEN,4,2                    ; @FA_OPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fd"

	.comm	_FA_LSTAT,4,2                   ; @FA_LSTAT
l_.str.1:                               ; @.str.1
	.asciz	"stat"

	.no_dead_strip	_fileargs_add_cache
.subsections_via_symbols
