	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns_activate
_dns_activate:                          ## @dns_activate
	.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	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-112(%rbp), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -112(%rbp)
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_AI_ADDRCONFIG@GOTPCREL(%rip), %rax
	movq	_AI_PASSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AI_NUMERICSERV@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -104(%rbp)
	movl	16(%r15), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_sprintf
	movq	(%r15), %rax
	cmpb	$0, (%rax)
	cmovneq	%rax, %rbx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.18:
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	(%r15), %r14
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_syslog
	jmp	LBB0_16
LBB0_1:
	movq	-64(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.2:
	leaq	12(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_AF_INET@GOTPCREL(%rip), %r13
	movq	_AF_INET6@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_TAILQ_INSERT_HEAD
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r14), %rax
	jne	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	addq	$16, %rdi
	callq	_snmpd_input_init
	movq	%r15, 8(%r12)
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r12)
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_ipv4_activate_sock
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_ipv6_activate_sock
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_13:
	leaq	12(%r15), %rdi
	callq	_TAILQ_EMPTY
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	_RowStatus_active@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
LBB0_15:
	movq	-64(%rbp), %rdi
	callq	_freeaddrinfo
LBB0_16:
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_UNSPEC,8,3                  ## @AF_UNSPEC
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_AI_ADDRCONFIG,4,2              ## @AI_ADDRCONFIG
	.comm	_AI_PASSIVE,4,2                 ## @AI_PASSIVE
	.comm	_AI_NUMERICSERV,4,2             ## @AI_NUMERICSERV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%hu"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"cannot resolve address '%s': %s"

	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.comm	_link,4,2                       ## @link
	.comm	_RowStatus_active,4,2           ## @RowStatus_active
	.no_dead_strip	_dns_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns_activate
_dns_activate:                          ; @dns_activate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh3:
	adrp	x8, _AF_UNSPEC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_UNSPEC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh6:
	adrp	x8, _AI_ADDRCONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AI_ADDRCONFIG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _AI_PASSIVE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AI_PASSIVE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _AI_NUMERICSERV@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AI_NUMERICSERV@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	str	w9, [sp, #40]
	str	w8, [sp, #16]
	ldr	w0, [x19, #16]
	bl	_ntohs
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #48
	bl	_sprintf
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cmp	w9, #0
	csel	x0, xzr, x8, eq
	add	x1, sp, #48
	add	x2, sp, #8
	mov	x3, sp
	bl	_getaddrinfo
	cbz	w0, LBB0_2
; %bb.1:
Lloh20:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
	ldr	x19, [x19]
	bl	_gai_strerror
	mov	x3, x0
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_syslog
	b	LBB0_16
LBB0_2:
	ldr	x22, [sp]
	cbz	x22, LBB0_13
; %bb.3:
	add	x20, x19, #12
Lloh25:
	adrp	x23, _AF_INET@GOTPAGE
Lloh26:
	ldr	x23, [x23, _AF_INET@GOTPAGEOFF]
Lloh27:
	adrp	x24, _AF_INET6@GOTPAGE
Lloh28:
	ldr	x24, [x24, _AF_INET6@GOTPAGEOFF]
Lloh29:
	adrp	x25, _SNMP_ERR_NOERROR@GOTPAGE
Lloh30:
	ldr	x25, [x25, _SNMP_ERR_NOERROR@GOTPAGEOFF]
Lloh31:
	adrp	x26, _link@GOTPAGE
Lloh32:
	ldr	x26, [x26, _link@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x21
	bl	_TAILQ_INSERT_HEAD
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x22, [x22, #24]
	cbz	x22, LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x10, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	cbz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	add	x0, x0, #16
	bl	_snmpd_input_init
	str	x19, [x21, #8]
	ldr	x8, [x22]
	ldr	x9, [x23]
	ldr	x10, [x22, #16]
	ldr	w10, [x10]
	str	w10, [x21]
	mov	x0, x21
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_ipv4_activate_sock
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_ipv6_activate_sock
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_free
	b	LBB0_5
LBB0_13:
	add	x0, x19, #12
	bl	_TAILQ_EMPTY
	cbnz	w0, LBB0_15
; %bb.14:
Lloh33:
	adrp	x8, _RowStatus_active@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RowStatus_active@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_15:
	ldr	x0, [sp]
	bl	_freeaddrinfo
LBB0_16:
Lloh36:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	x8, [sp, #56]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_UNSPEC,8,3                  ; @AF_UNSPEC
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_AI_ADDRCONFIG,4,2              ; @AI_ADDRCONFIG
	.comm	_AI_PASSIVE,4,2                 ; @AI_PASSIVE
	.comm	_AI_NUMERICSERV,4,2             ; @AI_NUMERICSERV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%hu"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"cannot resolve address '%s': %s"

	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.comm	_link,4,2                       ; @link
	.comm	_RowStatus_active,4,2           ; @RowStatus_active
	.no_dead_strip	_dns_activate
.subsections_via_symbols
