	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_modstack_config                ## -- Begin function modstack_config
	.p2align	4, 0x90
_modstack_config:                       ## @modstack_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	%r12
	pushq	%rbx
	subq	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	%rsi, -312(%rbp)
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_verbose
	movq	%rbx, %rdi
	callq	_count_modules
	movl	%eax, (%r12)
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_MAX_MODULE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	jle	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_16
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	movslq	%eax, %rdi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	$1, %r14d
	cmpl	$0, (%r12)
	jle	LBB0_16
## %bb.7:
	xorl	%ebx, %ebx
	leaq	-312(%rbp), %r15
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_module_factory
	movq	8(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r12), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_10
	jmp	LBB0_16
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
LBB0_2:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_log_err
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, %eax
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-312(%rbp), %rcx
	leaq	L_.str.4(%rip), %rdx
	leaq	-304(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	-304(%rbp), %rdi
	movl	$32, %esi
	callq	_strchr
	movq	$0, (%rax)
LBB0_13:
	leaq	-304(%rbp), %rdi
	movl	$9, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	-304(%rbp), %rdi
	movl	$9, %esi
	callq	_strchr
	movq	$0, (%rax)
LBB0_15:
	leaq	L_.str.5(%rip), %rdi
	xorl	%r14d, %r14d
	leaq	-304(%rbp), %rsi
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_16
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"module config: \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"error: no modules specified"

	.comm	_MAX_MODULE,4,2                 ## @MAX_MODULE
L_.str.2:                               ## @.str.2
	.asciz	"error: too many modules (%d max %d)"

L_.str.3:                               ## @.str.3
	.asciz	"out of memory"

L_.str.4:                               ## @.str.4
	.asciz	"%s"

L_.str.5:                               ## @.str.5
	.asciz	"Unknown value in module-config, module: '%s'. This module is not present (not compiled in), See the list of linked modules with unbound -h"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_modstack_config                ; -- Begin function modstack_config
	.p2align	2
_modstack_config:                       ; @modstack_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	x1, [sp, #16]
Lloh3:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_verbose
	mov	x0, x20
	bl	_count_modules
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x19]
	cbz	w0, LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _MAX_MODULE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.le	LBB0_4
; %bb.2:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	stp	x0, x8, [sp]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_3:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_4:
	sxtw	x0, w0
	mov	w1, #8
	bl	_calloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	bl	_module_factory
	ldr	x8, [x19, #8]
	lsl	x9, x20, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_7
LBB0_9:
	mov	w0, #1
	b	LBB0_17
LBB0_10:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_11:
	ldr	x3, [sp, #16]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x0, sp, #24
	mov	w1, #256
	bl	_snprintf
	add	x0, sp, #24
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.12:
	add	x0, sp, #24
	mov	w1, #32
	bl	_strchr
	str	xzr, [x0]
LBB0_13:
	add	x19, sp, #24
	add	x0, sp, #24
	mov	w1, #9
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.14:
	add	x0, sp, #24
	mov	w1, #9
	bl	_strchr
	str	xzr, [x0]
LBB0_15:
	str	x19, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_16:
	bl	_log_err
	mov	w0, #0
LBB0_17:
	ldur	x8, [x29, #-40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"module config: \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"error: no modules specified"

	.comm	_MAX_MODULE,4,2                 ; @MAX_MODULE
l_.str.2:                               ; @.str.2
	.asciz	"error: too many modules (%d max %d)"

l_.str.3:                               ; @.str.3
	.asciz	"out of memory"

l_.str.4:                               ; @.str.4
	.asciz	"%s"

l_.str.5:                               ; @.str.5
	.asciz	"Unknown value in module-config, module: '%s'. This module is not present (not compiled in), See the list of linked modules with unbound -h"

.subsections_via_symbols
