	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_device_config
_parse_device_config:                   ## @parse_device_config
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_nvlist_exists
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_DRIVER_CONFIG_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_nvlist_get_nvlist
	movq	%rax, %r15
	movq	_IOV_CONFIG_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_nvlist_get_nvlist
	movq	%rax, %r13
	movq	_NV_FLAG_IGNORE_CASE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_nvlist_create
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movl	(%r14), %edi
	callq	_nvlist_create
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_6:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movl	(%r14), %edi
	callq	_nvlist_create
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_8:
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_ucl_iterate_object
	testq	%rax, %rax
	je	LBB0_17
## %bb.9:
	movq	%rax, %r12
	leaq	-80(%rbp), %rbx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_nvlist
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	callq	_add_config
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_ucl_iterate_object
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_17
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_ucl_object_key
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_nvlist_exists_nvlist
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nvlist_exists_nvlist
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nvlist_get_nvlist
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	callq	_add_config
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_errx
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_17:
	movq	_DRIVER_CONFIG_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_nvlist_move_nvlist
	movq	_IOV_CONFIG_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_nvlist_move_nvlist
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_nvlist_move_nvlist
	addq	$72, %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	"Multiple definitions of '%s' in config file"

	.comm	_DRIVER_CONFIG_NAME,8,3         ## @DRIVER_CONFIG_NAME
	.comm	_IOV_CONFIG_NAME,8,3            ## @IOV_CONFIG_NAME
	.comm	_NV_FLAG_IGNORE_CASE,4,2        ## @NV_FLAG_IGNORE_CASE
L_.str.1:                               ## @.str.1
	.asciz	"Could not allocate config nvlist"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Invalid config key '%s'"

	.no_dead_strip	_parse_device_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_device_config
_parse_device_config:                   ; @parse_device_config
	.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
	mov	x20, x3
	mov	x19, x2
	mov	x21, x0
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x1
	mov	x1, x2
	bl	_nvlist_exists
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_2:
Lloh2:
	adrp	x8, _DRIVER_CONFIG_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DRIVER_CONFIG_NAME@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_nvlist_get_nvlist
	mov	x22, x0
Lloh5:
	adrp	x8, _IOV_CONFIG_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IOV_CONFIG_NAME@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_nvlist_get_nvlist
	mov	x23, x0
Lloh8:
	adrp	x20, _NV_FLAG_IGNORE_CASE@GOTPAGE
Lloh9:
	ldr	x20, [x20, _NV_FLAG_IGNORE_CASE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_nvlist_create
	mov	x24, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	w0, [x20]
	bl	_nvlist_create
	mov	x25, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	ldr	w0, [x20]
	bl	_nvlist_create
	mov	x26, x0
	cbnz	x0, LBB0_8
; %bb.7:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_8:
	str	xzr, [sp, #24]
	add	x1, sp, #24
	mov	x0, x21
	mov	w2, #1
	bl	_ucl_iterate_object
	cbz	x0, LBB0_17
; %bb.9:
	mov	x28, x0
Lloh16:
	adrp	x27, l_.str.2@PAGE
Lloh17:
	add	x27, x27, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_nvlist_get_nvlist
	mov	x3, x0
	mov	x0, x20
	mov	x1, x28
	mov	x2, x25
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_add_config
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x1, sp, #24
	mov	x0, x21
	mov	w2, #1
	bl	_ucl_iterate_object
	mov	x28, x0
	cbz	x0, LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
	bl	_ucl_object_key
	mov	x20, x0
	mov	x0, x23
	mov	x1, x20
	bl	_nvlist_exists_nvlist
	cbnz	x0, LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_nvlist_exists_nvlist
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_nvlist_get_nvlist
	mov	x3, x0
	mov	x0, x20
	mov	x1, x28
	mov	x2, x24
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	str	x20, [sp]
	mov	w0, #1
	mov	x1, x27
	mov	x2, x19
	bl	_errx
	b	LBB0_12
LBB0_17:
Lloh18:
	adrp	x8, _DRIVER_CONFIG_NAME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRIVER_CONFIG_NAME@GOTPAGEOFF]
Lloh20:
	ldr	x1, [x8]
	mov	x0, x26
	mov	x2, x24
	bl	_nvlist_move_nvlist
Lloh21:
	adrp	x8, _IOV_CONFIG_NAME@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IOV_CONFIG_NAME@GOTPAGEOFF]
Lloh23:
	ldr	x1, [x8]
	mov	x0, x26
	mov	x2, x25
	bl	_nvlist_move_nvlist
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x19
	mov	x2, x26
	bl	_nvlist_move_nvlist
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multiple definitions of '%s' in config file"

	.comm	_DRIVER_CONFIG_NAME,8,3         ; @DRIVER_CONFIG_NAME
	.comm	_IOV_CONFIG_NAME,8,3            ; @IOV_CONFIG_NAME
	.comm	_NV_FLAG_IGNORE_CASE,4,2        ; @NV_FLAG_IGNORE_CASE
l_.str.1:                               ; @.str.1
	.asciz	"Could not allocate config nvlist"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Invalid config key '%s'"

	.no_dead_strip	_parse_device_config
.subsections_via_symbols
