	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fileargs_create_limit
_fileargs_create_limit:                 ## @fileargs_create_limit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movq	%r8, %r12
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r14d
	movq	_NV_FLAG_NO_UNIQUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nvlist_create
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r13d, %edx
	callq	_nvlist_add_number
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_nvlist_add_number
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	$4, %ecx
	callq	_nvlist_add_binary
LBB0_3:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_nvlist_add_number
LBB0_5:
	testl	%r14d, %r14d
	jle	LBB0_12
## %bb.6:
	movl	%r14d, %r12d
	xorl	%ebx, %ebx
	movq	_MAXPATHLEN@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %r13
	movq	%r13, %rdi
	callq	_strlen
	cmpq	(%r14), %rax
	jge	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_nvlist_add_null
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_7
	jmp	LBB0_12
LBB0_10:
	movq	%r15, %rdi
	callq	_nvlist_destroy
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_FLAG_NO_UNIQUE,4,2          ## @NV_FLAG_NO_UNIQUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flags"

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

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

	.comm	_O_CREAT,4,2                    ## @O_CREAT
L_.str.3:                               ## @.str.3
	.asciz	"mode"

	.comm	_MAXPATHLEN,8,3                 ## @MAXPATHLEN
	.comm	_ENAMETOOLONG,4,2               ## @ENAMETOOLONG
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_fileargs_create_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fileargs_create_limit
_fileargs_create_limit:                 ; @fileargs_create_limit
	.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
	mov	x25, x5
	mov	x24, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _NV_FLAG_NO_UNIQUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NV_FLAG_NO_UNIQUE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_nvlist_create
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_nvlist_add_number
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_nvlist_add_number
	cbz	x24, LBB0_3
; %bb.2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x24
	mov	w3, #4
	bl	_nvlist_add_binary
LBB0_3:
Lloh9:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_nvlist_add_number
LBB0_5:
	cmp	w21, #1
	b.lt	LBB0_10
; %bb.6:
	mov	w22, w21
Lloh14:
	adrp	x23, _MAXPATHLEN@GOTPAGE
Lloh15:
	ldr	x23, [x23, _MAXPATHLEN@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20]
	mov	x0, x21
	bl	_strlen
	ldr	x8, [x23]
	cmp	x0, x8
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_nvlist_add_null
	add	x20, x20, #8
	subs	x22, x22, #1
	b.ne	LBB0_7
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_nvlist_destroy
	mov	x19, #0
Lloh16:
	adrp	x8, _ENAMETOOLONG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _errno@GOTPAGE
Lloh20:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh21:
	str	w8, [x9]
LBB0_10:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_FLAG_NO_UNIQUE,4,2          ; @NV_FLAG_NO_UNIQUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flags"

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

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

	.comm	_O_CREAT,4,2                    ; @O_CREAT
l_.str.3:                               ; @.str.3
	.asciz	"mode"

	.comm	_MAXPATHLEN,8,3                 ; @MAXPATHLEN
	.comm	_ENAMETOOLONG,4,2               ; @ENAMETOOLONG
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_fileargs_create_limit
.subsections_via_symbols
