	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_subsystem_defaults
_apply_subsystem_defaults:              ## @apply_subsystem_defaults
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_nvlist_take_nvlist
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_nvlist_get_nvlist
	movq	%rax, %rbx
	movq	$0, -56(%rbp)
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rax, %rdi
	callq	_nvlist_next
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	leaq	-44(%rbp), %r13
	leaq	-56(%rbp), %r14
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-80(%rbp), %rdx
	callq	_nvlist_get_binary
	movq	-80(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_nvlist_add_binary
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_nvlist_next
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_nvlist_exists
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_string
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_nvlist_add_string
	jmp	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_number
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_nvlist_add_number
	jmp	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_errx
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_nvlist
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_nvlist_add_nvlist
	jmp	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_bool
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_nvlist_add_bool
	jmp	LBB0_11
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_nvlist_move_nvlist
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected type '%d'"

	.no_dead_strip	_apply_subsystem_defaults
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_subsystem_defaults
_apply_subsystem_defaults:              ; @apply_subsystem_defaults
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_nvlist_take_nvlist
	mov	x21, x0
	mov	x0, x22
	mov	x1, x19
	bl	_nvlist_get_nvlist
	mov	x22, x0
	str	xzr, [sp, #24]
	add	x1, sp, #12
	add	x2, sp, #24
	mov	x0, x22
	bl	_nvlist_next
	cbz	x0, LBB0_12
; %bb.1:
	mov	x24, x0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #16
	mov	x0, x22
	mov	x1, x24
	bl	_nvlist_get_binary
	mov	x2, x0
	ldr	x3, [sp, #16]
	mov	x0, x21
	mov	x1, x24
	bl	_nvlist_add_binary
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #12
	add	x2, sp, #24
	mov	x0, x22
	bl	_nvlist_next
	mov	x24, x0
	cbz	x0, LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_nvlist_exists
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [sp, #12]
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_nvlist_get_string
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_nvlist_add_string
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_nvlist_get_number
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_nvlist_add_number
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	mov	x1, x23
	bl	_errx
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_nvlist_get_nvlist
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_nvlist_add_nvlist
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_nvlist_get_bool
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_nvlist_add_bool
	b	LBB0_3
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_nvlist_move_nvlist
	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
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected type '%d'"

	.no_dead_strip	_apply_subsystem_defaults
.subsections_via_symbols
