	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_reload_config               ## -- Begin function do_reload_config
	.p2align	4, 0x90
_do_reload_config:                      ## @do_reload_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_need_reload_config@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_config_filename@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movq	_fd@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_kdb_load_hosts
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_5:
	movq	_NextConf@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	_CurConf@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	xorl	%edx, %edx
	callq	_parse_config
	movl	%eax, %ebx
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_close
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.7:
	movq	(%r13), %rdi
	callq	_try_open_new_listening_sockets
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	(%r13), %rdi
	movq	(%r12), %rsi
	movl	$1, %edx
	callq	_parse_config
	testl	%eax, %eax
	js	LBB0_18
## %bb.10:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.11:
	movq	(%r13), %rdi
	movq	(%r12), %rsi
	callq	_transfer_listening_sockets
	movq	(%r12), %rdi
	movq	(%r13), %rax
	movq	%rax, (%r12)
	movq	%rdi, (%r13)
	movl	$1, %esi
	callq	_clear_config
	xorl	%eax, %eax
	callq	_create_all_outbound_connections
	jmp	LBB0_13
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$-1, %ebx
	jmp	LBB0_17
LBB0_6:
	movq	_config_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_16
LBB0_8:
	movl	%eax, %ebx
	movq	_config_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_16
LBB0_12:
	movq	(%r12), %rdi
	movq	(%r13), %rax
	movq	%rax, (%r12)
	movq	%rdi, (%r13)
	movl	$1, %esi
	callq	_clear_config
LBB0_13:
	movq	_now@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	xorl	%edi, %edi
	callq	_time
LBB0_15:
	movq	(%r12), %rcx
	movq	%rax, 16(%rcx)
	movq	_config_bytes@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, 8(%rcx)
	movl	$33, %edi
	callq	_zmalloc
	movq	(%r12), %rcx
	movq	%rax, (%rcx)
	movq	_config_buff@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	(%r12), %rax
	movq	(%rax), %rdx
	callq	_md5_hex
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	$0, 256(%rax)
	movq	_config_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
LBB0_16:
	xorl	%edi, %edi
	callq	_vkprintf
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	%eax, %ebx
	movq	(%r13), %rdi
	xorl	%esi, %esi
	callq	_clear_config
	movq	_config_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%edi, %edi
	callq	_vkprintf
	negl	%ebx
	movl	%ebx, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_need_reload_config,8,3         ## @need_reload_config
	.comm	_config_filename,8,3            ## @config_filename
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_fd,8,3                         ## @fd
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot re-read config file %s: %m\n"

	.comm	_verbosity,8,3                  ## @verbosity
L_.str.1:                               ## @.str.1
	.asciz	"/etc/hosts changed, reloaded\n"

	.comm	_NextConf,8,3                   ## @NextConf
	.comm	_CurConf,8,3                    ## @CurConf
L_.str.2:                               ## @.str.2
	.asciz	"error while re-reading config file %s, new configuration NOT applied\n"

L_.str.3:                               ## @.str.3
	.asciz	"error while re-reading config file %s, new configuration NOT applied: cannot open listening ports\n"

L_.str.4:                               ## @.str.4
	.asciz	"fatal error while re-reading config file %s\n"

	.comm	_now,8,3                        ## @now
	.comm	_config_bytes,4,2               ## @config_bytes
	.comm	_config_buff,4,2                ## @config_buff
L_.str.5:                               ## @.str.5
	.asciz	"configuration file %s re-read successfully, new configuration active\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_reload_config               ; -- Begin function do_reload_config
	.p2align	2
_do_reload_config:                      ; @do_reload_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _need_reload_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _need_reload_config@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x21, _config_filename@GOTPAGE
Lloh4:
	ldr	x21, [x21, _config_filename@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh5:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_open
Lloh8:
	adrp	x24, _fd@GOTPAGE
Lloh9:
	ldr	x24, [x24, _fd@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x0, [x8]
	tbnz	x0, #63, LBB0_9
; %bb.1:
	bl	_kdb_load_hosts
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
Lloh10:
	adrp	x8, _verbosity@GOTPAGE
Lloh11:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_4:
Lloh18:
	adrp	x23, _NextConf@GOTPAGE
Lloh19:
	ldr	x23, [x23, _NextConf@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh20:
	adrp	x22, _CurConf@GOTPAGE
Lloh21:
	ldr	x22, [x22, _CurConf@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	w2, #0
	bl	_parse_config
	mov	x20, x0
	ldr	x8, [x24]
	ldr	x0, [x8]
	bl	_close
	tbnz	w20, #31, LBB0_10
; %bb.5:
	ldr	x0, [x23]
	bl	_try_open_new_listening_sockets
	tbnz	w0, #31, LBB0_11
; %bb.6:
	ldr	x0, [x23]
	ldr	x1, [x22]
	mov	w2, #1
	bl	_parse_config
	tbnz	w0, #31, LBB0_18
; %bb.7:
	cbz	w19, LBB0_13
; %bb.8:
	ldr	x0, [x23]
	ldr	x1, [x22]
	bl	_transfer_listening_sockets
	ldr	x0, [x22]
	ldr	x8, [x23]
	str	x8, [x22]
	str	x0, [x23]
	mov	w1, #1
	bl	_clear_config
	bl	_create_all_outbound_connections
	b	LBB0_14
LBB0_9:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w20, #-1
	b	LBB0_17
LBB0_10:
	ldr	x2, [x21]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
	mov	x20, x0
	ldr	x2, [x21]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_12:
	mov	w0, #0
	bl	_vkprintf
	b	LBB0_17
LBB0_13:
	ldr	x0, [x22]
	ldr	x8, [x23]
	str	x8, [x22]
	str	x0, [x23]
	mov	w1, #1
	bl	_clear_config
LBB0_14:
Lloh31:
	adrp	x8, _now@GOTPAGE
Lloh32:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh33:
	ldr	x0, [x8]
	cbnz	x0, LBB0_16
; %bb.15:
	bl	_time
LBB0_16:
	ldr	x8, [x22]
	str	x0, [x8, #16]
Lloh34:
	adrp	x19, _config_bytes@GOTPAGE
Lloh35:
	ldr	x19, [x19, _config_bytes@GOTPAGEOFF]
	ldr	w9, [x19]
	str	w9, [x8, #8]
	mov	w0, #33
	bl	_zmalloc
	ldr	x8, [x22]
	str	x0, [x8]
Lloh36:
	adrp	x8, _config_buff@GOTPAGE
Lloh37:
	ldr	x8, [x8, _config_buff@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	x8, [x22]
	ldr	x2, [x8]
	bl	_md5_hex
	ldr	x8, [x22]
	ldr	x8, [x8]
	str	xzr, [x8, #256]
	ldr	x2, [x21]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #0
	bl	_vkprintf
	mov	w20, #0
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
	mov	x20, x0
	ldr	x0, [x23]
	mov	w1, #0
	bl	_clear_config
	ldr	x2, [x21]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #0
	bl	_vkprintf
	neg	w0, w20
	bl	_exit
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_need_reload_config,8,3         ; @need_reload_config
	.comm	_config_filename,8,3            ; @config_filename
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_fd,8,3                         ; @fd
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot re-read config file %s: %m\n"

	.comm	_verbosity,8,3                  ; @verbosity
l_.str.1:                               ; @.str.1
	.asciz	"/etc/hosts changed, reloaded\n"

	.comm	_NextConf,8,3                   ; @NextConf
	.comm	_CurConf,8,3                    ; @CurConf
l_.str.2:                               ; @.str.2
	.asciz	"error while re-reading config file %s, new configuration NOT applied\n"

l_.str.3:                               ; @.str.3
	.asciz	"error while re-reading config file %s, new configuration NOT applied: cannot open listening ports\n"

l_.str.4:                               ; @.str.4
	.asciz	"fatal error while re-reading config file %s\n"

	.comm	_now,8,3                        ; @now
	.comm	_config_bytes,4,2               ; @config_bytes
	.comm	_config_buff,4,2                ; @config_buff
l_.str.5:                               ; @.str.5
	.asciz	"configuration file %s re-read successfully, new configuration active\n"

.subsections_via_symbols
