	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_fs_perm_set
_parse_fs_perm_set:                     ## @parse_fs_perm_set
	.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
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_nvlist_next_nvpair
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rbp)
	movq	%r13, %rdi
	callq	_nvpair_name
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_nvpair_type
	movq	%rax, %r12
	movl	$8, %edi
	callq	_safe_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_nomem
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	addq	$4, %rbx
	xorl	%edi, %edi
	movq	_DATA_TYPE_NVLIST@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	sete	%dil
	callq	_assert
	movl	4(%r15), %edx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_uu_list_node_init
	movl	(%r15), %edi
	callq	_uu_list_numnodes
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_fs_perm_init
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	callq	_nvpair_value_nvlist
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_parse_fs_perm
	movl	(%r15), %edi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_uu_list_insert
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_nvlist_next_nvpair
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_7:
	movl	$-1, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA_TYPE_NVLIST,8,3           ## @DATA_TYPE_NVLIST
	.no_dead_strip	_parse_fs_perm_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_fs_perm_set
_parse_fs_perm_set:                     ; @parse_fs_perm_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, #0
	bl	_nvlist_next_nvpair
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x26, _DATA_TYPE_NVLIST@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DATA_TYPE_NVLIST@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #8]
	mov	x0, x21
	bl	_nvpair_name
	mov	x23, x0
	mov	x0, x21
	bl	_nvpair_type
	mov	x25, x0
	mov	w0, #8
	bl	_safe_malloc
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_nomem
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x22, #4
	ldr	x8, [x26]
	cmp	x8, x25
	cset	w0, eq
	bl	_assert
	ldr	w2, [x20, #4]
	mov	x0, x22
	mov	x1, x22
	bl	_uu_list_node_init
	ldr	w0, [x20]
	bl	_uu_list_numnodes
	mov	x25, x0
	mov	x0, x24
	mov	x1, x20
	mov	x2, x23
	bl	_fs_perm_init
	add	x1, sp, #8
	mov	x0, x21
	bl	_nvpair_value_nvlist
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x24
	bl	_parse_fs_perm
	ldr	w0, [x20]
	mov	x1, x22
	mov	x2, x25
	bl	_uu_list_insert
	mov	x0, x19
	mov	x1, x21
	bl	_nvlist_next_nvpair
	mov	x21, x0
	cbnz	x0, LBB0_2
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA_TYPE_NVLIST,8,3           ; @DATA_TYPE_NVLIST
	.no_dead_strip	_parse_fs_perm_set
.subsections_via_symbols
