	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_config                    ## -- Begin function read_config
	.p2align	4, 0x90
_read_config:                           ## @read_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ASN_OIDSTRLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_ignore@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_input_push@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_ERRPUSH
	movl	$-1, %r12d
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_input_open_file
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	callq	_ERRPOP
	movq	_COMM_INITIALIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_community@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_snmp_init_context
	movq	_snmp_ctx@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	callq	_ERRPUSH
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	movq	%r13, %rdi
	callq	_parse_file
	xorl	%eax, %eax
	callq	_ERRPOP
	movq	(%r14), %rdi
	callq	_snmp_dep_commit
	movl	%eax, %r13d
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_8
## %bb.9:
	xorl	%eax, %eax
	callq	_do_commit
	movq	(%r14), %rdi
	callq	_snmp_dep_finish
	xorl	%eax, %eax
	callq	_macro_free_all
	movq	(%r14), %rdi
	callq	_free
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_10
LBB0_4:
	xorl	%eax, %eax
	callq	_input_close_all
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_10
LBB0_8:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	movq	%r15, %rsi
	callq	_asn_oid2str_r
	movl	%eax, %r15d
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	callq	_asn_oid2str_r
	leaq	L_.str.2(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_syslog
	movq	(%r14), %rdi
	callq	_snmp_dep_rollback
LBB0_6:
	xorl	%eax, %eax
	callq	_do_rollback
	xorl	%eax, %eax
	callq	_input_close_all
	xorl	%eax, %eax
	callq	_macro_free_all
	movq	(%r14), %rdi
	callq	_free
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN_OIDSTRLEN,4,2              ## @ASN_OIDSTRLEN
	.comm	_ignore,8,3                     ## @ignore
	.comm	_input_push,8,3                 ## @input_push
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %m"

	.comm	_COMM_INITIALIZE,4,2            ## @COMM_INITIALIZE
	.comm	_community,4,2                  ## @community
	.comm	_snmp_ctx,8,3                   ## @snmp_ctx
L_.str.1:                               ## @.str.1
	.asciz	"%m"

	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
L_.str.2:                               ## @.str.2
	.asciz	"init dep failed: %u %s %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_config                    ; -- Begin function read_config
	.p2align	2
_read_config:                           ; @read_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _ASN_OIDSTRLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASN_OIDSTRLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x19, x8, x12
	mov	sp, x19
Lloh10:
	adrp	x8, _ignore@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ignore@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
Lloh13:
	adrp	x8, _input_push@GOTPAGE
Lloh14:
	ldr	x8, [x8, _input_push@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
	bl	_ERRPUSH
	cbz	x0, LBB0_4
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.3:
	sub	sp, x29, #48
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x22
	mov	w1, #0
	bl	_input_open_file
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.5:
	bl	_ERRPOP
Lloh19:
	adrp	x8, _COMM_INITIALIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _COMM_INITIALIZE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _community@GOTPAGE
Lloh23:
	ldr	x9, [x9, _community@GOTPAGEOFF]
Lloh24:
	str	w8, [x9]
	bl	_snmp_init_context
Lloh25:
	adrp	x23, _snmp_ctx@GOTPAGE
Lloh26:
	ldr	x23, [x23, _snmp_ctx@GOTPAGEOFF]
	str	x0, [x23]
	cbz	x0, LBB0_10
; %bb.6:
	bl	_ERRPUSH
	cbnz	x0, LBB0_12
; %bb.7:
	mov	x0, x21
	bl	_parse_file
	bl	_ERRPOP
	ldr	x0, [x23]
	bl	_snmp_dep_commit
Lloh27:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.8:
	bl	_do_commit
	ldr	x0, [x23]
	bl	_snmp_dep_finish
	bl	_macro_free_all
	ldr	x0, [x23]
	bl	_free
	mov	w0, #0
	b	LBB0_2
LBB0_9:
Lloh30:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	str	x22, [sp, #-16]!
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
	add	sp, sp, #16
	b	LBB0_1
LBB0_10:
	bl	_input_close_all
Lloh35:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
	b	LBB0_1
LBB0_11:
	mov	x21, x0
Lloh40:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh42:
	ldr	w22, [x8]
	ldr	x8, [x23]
	ldr	x8, [x8]
	add	x0, x8, #4
	mov	x1, x20
	bl	_asn_oid2str_r
	mov	x20, x0
	ldr	x8, [x23]
	ldr	x0, [x8]
	mov	x1, x19
	bl	_asn_oid2str_r
                                        ; kill: def $w0 killed $w0 def $x0
	sub	sp, sp, #32
	stp	x20, x0, [sp, #8]
	str	x21, [sp]
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_syslog
	add	sp, sp, #32
	ldr	x0, [x23]
	bl	_snmp_dep_rollback
LBB0_12:
	bl	_do_rollback
	bl	_input_close_all
	bl	_macro_free_all
	ldr	x0, [x23]
	bl	_free
	b	LBB0_1
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN_OIDSTRLEN,4,2              ; @ASN_OIDSTRLEN
	.comm	_ignore,8,3                     ; @ignore
	.comm	_input_push,8,3                 ; @input_push
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %m"

	.comm	_COMM_INITIALIZE,4,2            ; @COMM_INITIALIZE
	.comm	_community,4,2                  ; @community
	.comm	_snmp_ctx,8,3                   ; @snmp_ctx
l_.str.1:                               ; @.str.1
	.asciz	"%m"

	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
l_.str.2:                               ; @.str.2
	.asciz	"init dep failed: %u %s %s"

.subsections_via_symbols
