	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_auth
_config_auth:                           ## @config_auth
	.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
	movq	%rdi, %rbx
	movq	48(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	_keysdir@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_default_keysdir@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_free
	movq	48(%rbx), %rdi
LBB0_3:
	callq	_estrdup
	movq	%rax, (%r14)
LBB0_4:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	movq	_ntp_signd_socket@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_default_ntp_signd_socket@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	callq	_free
	movq	40(%rbx), %rdi
LBB0_7:
	callq	_estrdup
	movq	%rax, (%r14)
LBB0_8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	callq	_HEAD_PFIFO
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	movq	_T_Integer@GOTPCREL(%rip), %r12
	movq	_NTP_MAXKEY@GOTPCREL(%rip), %r13
	movq	_T_Intrange@GOTPCREL(%rip), %r14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	16(%rbx), %eax
	cmpl	$2, %eax
	setge	%cl
	cmpl	(%r13), %eax
	setle	%al
	andb	%cl, %al
	movzbl	%al, %eax
	addl	%eax, %r15d
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	%rax, (%r12)
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edi, %edi
	cmpq	%rax, (%r14)
	sete	%dil
	callq	_REQUIRE
	movl	20(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	24(%rbx), %ecx
	cmpl	%ecx, %eax
	jg	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	(%r13), %ecx
	jg	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	subl	%eax, %r15d
	addl	%ecx, %r15d
	incl	%r15d
	jmp	LBB0_17
LBB0_9:
	xorl	%r15d, %r15d
LBB0_18:
	movl	%r15d, %edi
	callq	_auth_prealloc_symkeys
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_getauthkeys
LBB0_20:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	_ctl_auth_keyid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_22:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movslq	%eax, %rsi
	movl	$4, %edi
	callq	_DPRINTF
	movq	8(%rbx), %rax
	movq	_info_auth_keyid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_24:
	movl	4(%rbx), %edi
	callq	_HEAD_PFIFO
	testq	%rax, %rax
	je	LBB0_37
## %bb.25:
	movq	%rax, %r12
	movq	_NTP_MAXKEY@GOTPCREL(%rip), %r15
	movq	_TRUE@GOTPCREL(%rip), %r14
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_msyslog
LBB0_36:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	32(%r12), %r12
	testq	%r12, %r12
	je	LBB0_37
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
	movq	_T_Integer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	16(%r12), %edx
	movl	(%r15), %ecx
	testl	%edx, %edx
	jle	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	cmpl	%ecx, %edx
	jg	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	(%r14), %esi
	movl	%edx, %edi
	callq	_authtrust
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=1
	movl	20(%r12), %ebx
	movl	24(%r12), %r13d
	movl	(%r15), %r8d
	testl	%ebx, %ebx
	jle	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_26 Depth=1
	cmpl	%r13d, %ebx
	jg	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=1
	cmpl	%r8d, %r13d
	jg	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_26 Depth=1
	incl	%r13d
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_authtrust
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_35
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_msyslog
	jmp	LBB0_36
LBB0_37:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keysdir,8,3                    ## @keysdir
	.comm	_default_keysdir,8,3            ## @default_keysdir
	.comm	_ntp_signd_socket,8,3           ## @ntp_signd_socket
	.comm	_default_ntp_signd_socket,8,3   ## @default_ntp_signd_socket
	.comm	_T_Integer,8,3                  ## @T_Integer
	.comm	_NTP_MAXKEY,4,2                 ## @NTP_MAXKEY
	.comm	_T_Intrange,8,3                 ## @T_Intrange
	.comm	_ctl_auth_keyid,8,3             ## @ctl_auth_keyid
	.comm	_info_auth_keyid,8,3            ## @info_auth_keyid
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Ignoring invalid trustedkey %d, min 1 max %d."

L_.str.2:                               ## @.str.2
	.asciz	"Ignoring invalid trustedkey range %d ... %d, min 1 max %d."

	.comm	_CRYPTO_CONF_IDENT,4,2          ## @CRYPTO_CONF_IDENT
	.comm	_CRYPTO_CONF_NID,4,2            ## @CRYPTO_CONF_NID
	.comm	_CRYPTO_CONF_PRIV,4,2           ## @CRYPTO_CONF_PRIV
	.comm	_CRYPTO_CONF_PW,4,2             ## @CRYPTO_CONF_PW
	.comm	_CRYPTO_CONF_RAND,4,2           ## @CRYPTO_CONF_RAND
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_cryptosw,4,2                   ## @cryptosw
	.comm	_sys_revoke,8,3                 ## @sys_revoke
	.no_dead_strip	_config_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_auth
_config_auth:                           ; @config_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x0, [x0, #48]
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x20, _keysdir@GOTPAGE
Lloh1:
	ldr	x20, [x20, _keysdir@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _default_keysdir@GOTPAGE
Lloh3:
	ldr	x9, [x9, _default_keysdir@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x8
	bl	_free
	ldr	x0, [x19, #48]
LBB0_3:
	bl	_estrdup
	str	x0, [x20]
LBB0_4:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_8
; %bb.5:
Lloh5:
	adrp	x20, _ntp_signd_socket@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ntp_signd_socket@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _default_ntp_signd_socket@GOTPAGE
Lloh8:
	ldr	x9, [x9, _default_ntp_signd_socket@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x8
	bl	_free
	ldr	x0, [x19, #40]
LBB0_7:
	bl	_estrdup
	str	x0, [x20]
LBB0_8:
	ldr	w0, [x19, #4]
	bl	_HEAD_PFIFO
Lloh10:
	adrp	x23, _T_Integer@GOTPAGE
Lloh11:
	ldr	x23, [x23, _T_Integer@GOTPAGEOFF]
Lloh12:
	adrp	x24, _NTP_MAXKEY@GOTPAGE
Lloh13:
	ldr	x24, [x24, _NTP_MAXKEY@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.9:
	mov	x21, x0
	mov	w20, #0
Lloh14:
	adrp	x22, _T_Intrange@GOTPAGE
Lloh15:
	ldr	x22, [x22, _T_Intrange@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x22]
	cmp	x9, x8
	cset	w0, eq
	bl	_REQUIRE
	ldp	w8, w9, [x21, #20]
	ldr	w10, [x24]
	sub	w11, w20, w8
	add	w11, w11, w9
	cmp	w8, #1
	ccmp	w8, w9, #0, ge
	ccmp	w9, w10, #0, le
	csinc	w20, w20, w11, gt
	ldr	x21, [x21, #32]
	cbz	x21, LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	x8, [x21, #8]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x21, #16]
	cmp	w8, #1
	ldr	w9, [x24]
	ccmp	w8, w9, #0, gt
	cinc	w20, w20, le
	ldr	x21, [x21, #32]
	cbnz	x21, LBB0_11
	b	LBB0_14
LBB0_13:
	mov	w20, #0
LBB0_14:
	mov	x0, x20
	bl	_auth_prealloc_symkeys
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_getauthkeys
LBB0_16:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_18
; %bb.17:
Lloh16:
	adrp	x9, _ctl_auth_keyid@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ctl_auth_keyid@GOTPAGEOFF]
Lloh18:
	str	x8, [x9]
LBB0_18:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_20
; %bb.19:
	sxtw	x1, w8
	mov	w0, #4
	bl	_DPRINTF
	ldr	x8, [x19, #8]
Lloh19:
	adrp	x9, _info_auth_keyid@GOTPAGE
Lloh20:
	ldr	x9, [x9, _info_auth_keyid@GOTPAGEOFF]
Lloh21:
	str	x8, [x9]
LBB0_20:
	ldr	w0, [x19, #4]
	bl	_HEAD_PFIFO
	cbz	x0, LBB0_32
; %bb.21:
	mov	x19, x0
Lloh22:
	adrp	x25, _LOG_NOTICE@GOTPAGE
Lloh23:
	ldr	x25, [x25, _LOG_NOTICE@GOTPAGEOFF]
Lloh24:
	adrp	x20, l_.str.1@PAGE
Lloh25:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh26:
	adrp	x26, _TRUE@GOTPAGE
Lloh27:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
Lloh28:
	adrp	x21, l_.str.2@PAGE
Lloh29:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w0, [x25]
	stp	x8, x9, [sp]
	mov	x1, x21
	mov	x2, x22
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	bl	_msyslog
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x19, [x19, #32]
	cbz	x19, LBB0_32
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
	ldr	x8, [x23]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w2, [x19, #16]
	ldr	w8, [x24]
	cmp	w2, #1
	ccmp	w2, w8, #0, ge
	b.le	LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w0, [x25]
	str	x8, [sp]
	mov	x1, x20
	b	LBB0_23
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
	ldp	w22, w8, [x19, #20]
	ldr	w9, [x24]
	cmp	w22, #1
	ccmp	w22, w8, #0, ge
	ccmp	w8, w9, #0, le
	b.gt	LBB0_22
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	add	w27, w8, #1
LBB0_30:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x26]
	mov	x0, x22
	bl	_authtrust
	add	w22, w22, #1
	cmp	w27, w22
	b.ne	LBB0_30
	b	LBB0_24
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w1, [x26]
	mov	x0, x2
	bl	_authtrust
	b	LBB0_24
LBB0_32:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_keysdir,8,3                    ; @keysdir
	.comm	_default_keysdir,8,3            ; @default_keysdir
	.comm	_ntp_signd_socket,8,3           ; @ntp_signd_socket
	.comm	_default_ntp_signd_socket,8,3   ; @default_ntp_signd_socket
	.comm	_T_Integer,8,3                  ; @T_Integer
	.comm	_NTP_MAXKEY,4,2                 ; @NTP_MAXKEY
	.comm	_T_Intrange,8,3                 ; @T_Intrange
	.comm	_ctl_auth_keyid,8,3             ; @ctl_auth_keyid
	.comm	_info_auth_keyid,8,3            ; @info_auth_keyid
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Ignoring invalid trustedkey %d, min 1 max %d."

l_.str.2:                               ; @.str.2
	.asciz	"Ignoring invalid trustedkey range %d ... %d, min 1 max %d."

	.comm	_CRYPTO_CONF_IDENT,4,2          ; @CRYPTO_CONF_IDENT
	.comm	_CRYPTO_CONF_NID,4,2            ; @CRYPTO_CONF_NID
	.comm	_CRYPTO_CONF_PRIV,4,2           ; @CRYPTO_CONF_PRIV
	.comm	_CRYPTO_CONF_PW,4,2             ; @CRYPTO_CONF_PW
	.comm	_CRYPTO_CONF_RAND,4,2           ; @CRYPTO_CONF_RAND
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_cryptosw,4,2                   ; @cryptosw
	.comm	_sys_revoke,8,3                 ; @sys_revoke
	.no_dead_strip	_config_auth
.subsections_via_symbols
