	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkconf
_checkconf:                             ## @checkconf
	.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
	movl	$4112, %eax                     ## imm = 0x1010
	callq	____chkstk_darwin
	subq	%rax, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	callq	_config_create
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_fatal_exit
LBB0_2:
	movb	$0, -4144(%rbp)
	leaq	-4144(%rbp), %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	callq	_getcwd
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movslq	%eax, %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_err
	movb	$0, -4144(%rbp)
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_config_read
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	cmpb	$0, -4144(%rbp)
	je	LBB0_8
## %bb.6:
	leaq	-4144(%rbp), %rdi
	callq	_chdir
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	leaq	-4144(%rbp), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_log_err
LBB0_8:
	movq	%rbx, %rdi
	testq	%r12, %r12
	je	LBB0_10
## %bb.9:
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_print_option
	jmp	LBB0_11
LBB0_10:
	callq	_morechecks
	xorl	%eax, %eax
	callq	_iter_get_funcblock
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_check_mod
	xorl	%eax, %eax
	callq	_val_get_funcblock
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_check_mod
	movq	%rbx, %rdi
	callq	_check_fwd
	movq	%rbx, %rdi
	callq	_check_hints
	movq	%rbx, %rdi
	callq	_check_auth
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_printf
LBB0_11:
	movq	%rbx, %rdi
	callq	_config_delete
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_14
## %bb.12:
	addq	$4112, %rsp                     ## imm = 0x1010
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%rbx, %rdi
	callq	_config_delete
	movl	$1, %edi
	callq	_exit
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"cannot getcwd: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"cannot chdir(%s): %s"

L_.str.3:                               ## @.str.3
	.asciz	"unbound-checkconf: no errors in %s\n"

	.no_dead_strip	_checkconf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkconf
_checkconf:                             ; @checkconf
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_config_create
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal_exit
LBB0_2:
	strb	wzr, [sp, #8]
	add	x0, sp, #8
	mov	w1, #4096
	bl	_getcwd
	cbnz	w0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
	strb	wzr, [sp, #8]
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_config_read
	cbz	w0, LBB0_13
; %bb.5:
	ldrb	w8, [sp, #8]
	cbz	w8, LBB0_7
; %bb.6:
	add	x0, sp, #8
	bl	_chdir
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_7:
	mov	x0, x19
	cbz	x22, LBB0_10
LBB0_8:
	mov	x1, x22
	mov	x2, x21
	bl	_print_option
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	add	x1, sp, #8
	bl	_log_err
	mov	x0, x19
	cbnz	x22, LBB0_8
LBB0_10:
	bl	_morechecks
	bl	_iter_get_funcblock
	mov	x1, x0
	mov	x0, x19
	bl	_check_mod
	bl	_val_get_funcblock
	mov	x1, x0
	mov	x0, x19
	bl	_check_mod
	mov	x0, x19
	bl	_check_fwd
	mov	x0, x19
	bl	_check_hints
	mov	x0, x19
	bl	_check_auth
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_printf
LBB0_11:
	mov	x0, x19
	bl	_config_delete
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.12:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x19
	bl	_config_delete
	mov	w0, #1
	bl	_exit
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"cannot getcwd: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"cannot chdir(%s): %s"

l_.str.3:                               ; @.str.3
	.asciz	"unbound-checkconf: no errors in %s\n"

	.no_dead_strip	_checkconf
.subsections_via_symbols
