	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_init                      ## -- Begin function auth_init
	.p2align	4, 0x90
_auth_init:                             ## @auth_init
	.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	$408, %rsp                      ## imm = 0x198
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -440(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_INIT_SSL
	testq	%r12, %r12
	je	LBB0_1
## %bb.3:
	movq	%r12, %rdi
	callq	_feof
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_6:
	movq	%r12, %rdi
	callq	_fclose
	movl	$-1, %ebx
	jmp	LBB0_30
LBB0_1:
	movq	_debug@GOTPCREL(%rip), %rax
	movl	$-1, %ebx
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_30
LBB0_7:
	movq	_key_cnt@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	%r12, %rdi
	callq	_feof
	testq	%rax, %rax
	je	LBB0_8
LBB0_29:
	movq	%r12, %rdi
	callq	_fclose
	movq	-440(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_key_ptr@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_key_cnt@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movl	%ebx, %eax
	addq	$408, %rsp                      ## imm = 0x198
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$1, %r15d
	leaq	-256(%rbp), %rbx
	leaq	L_.str.3(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -424(%rbp)                ## 8-byte Spill
	movq	%r14, -448(%rbp)                ## 8-byte Spill
	movq	%r12, -432(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-408(%rbp), %rdi                ## 8-byte Reload
	callq	_free
LBB0_27:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%r15d
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_feof
	testq	%rax, %rax
	jne	LBB0_29
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rbx, %rdi
	movl	$200, %esi
	movq	%r12, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_28
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movb	$0, -57(%rbp)
	movq	%rbx, %rdi
	movl	$35, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movb	$0, (%rax)
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$48, %edi
	callq	_emalloc
	movq	8(%rax), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rax, -408(%rbp)                ## 8-byte Spill
	movq	%rax, %rdx
	leaq	-400(%rbp), %r8
	callq	_sscanf
	movl	%eax, %esi
	cmpl	$3, %eax
	jne	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%esi, -412(%rbp)                ## 4-byte Spill
	movl	%r15d, -416(%rbp)               ## 4-byte Spill
	leaq	-400(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r13d
	cmpl	$20, %eax
	jg	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-408(%rbp), %r12                ## 8-byte Reload
	movl	%r13d, 16(%r12)
	movq	24(%r12), %rdi
	incl	%r13d
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movb	$1, %bl
	testb	$1, %r13b
	movq	-408(%rbp), %r12                ## 8-byte Reload
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, %eax
	shrl	%eax
	movl	%eax, 16(%r12)
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	-400(%rbp,%r15), %edi
	callq	_hex_val
	movl	%eax, %r12d
	shll	$4, %r12d
	movsbl	-399(%rbp,%r15), %edi
	callq	_hex_val
	orl	%r12d, %eax
	movl	%eax, %ebx
	shrl	$31, %ebx
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	-408(%rbp), %r12                ## 8-byte Reload
	movq	24(%r12), %rcx
	movb	%al, (%rcx,%r14)
	addq	$2, %r15
	incq	%r14
	cmpl	%r15d, %r13d
	jg	LBB0_17
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-408(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r12), %rdi
	xorl	%esi, %esi
	callq	_keytype_from_text
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_21
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	testb	%bl, %bl
	movq	-432(%rbp), %r12                ## 8-byte Reload
	movl	-416(%rbp), %r15d               ## 4-byte Reload
	leaq	-256(%rbp), %rbx
	leaq	L_.str.3(%rip), %r13
	movl	-412(%rbp), %esi                ## 4-byte Reload
	jne	LBB0_22
## %bb.26:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-408(%rbp), %rdx                ## 8-byte Reload
	movq	$0, 40(%rdx)
	movq	-424(%rbp), %rcx                ## 8-byte Reload
	leaq	40(%rcx), %rax
	testq	%rcx, %rcx
	cmoveq	-440(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rdx, (%rax)
	movq	_key_cnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rdx, %rax
	movq	%rdx, -424(%rbp)                ## 8-byte Spill
	jmp	LBB0_27
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r12), %ecx
	movq	8(%r12), %r8
	leaq	L_.str.4(%rip), %rdi
	movq	-448(%rbp), %rsi                ## 8-byte Reload
	movl	-416(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_printf
	movq	-432(%rbp), %r12                ## 8-byte Reload
	leaq	-256(%rbp), %rbx
	leaq	L_.str.3(%rip), %r13
	movl	-412(%rbp), %esi                ## 4-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_24
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_debug,8,3                      ## @debug
L_.str.1:                               ## @.str.1
	.asciz	"sntp auth_init: Couldn't open key file %s for reading!\n"

L_.str.2:                               ## @.str.2
	.asciz	"sntp auth_init: Key file %s is empty!\n"

	.comm	_key_cnt,4,2                    ## @key_cnt
L_.str.3:                               ## @.str.3
	.asciz	"%d %15s %128s"

L_.str.4:                               ## @.str.4
	.asciz	"%s: line %d: key %d, %s not supported - ignoring\n"

L_.str.5:                               ## @.str.5
	.asciz	"auth_init: scanf %d items, skipping line %d."

	.comm	_key_ptr,8,3                    ## @key_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_init                      ; -- Begin function auth_init
	.p2align	2
_auth_init:                             ; @auth_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #496
	.cfi_def_cfa_offset 496
	stp	x28, x27, [sp, #400]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #416]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #432]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #448]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #464]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #480]            ; 16-byte Folded Spill
	add	x29, sp, #480
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x20, x0
	bl	_INIT_SSL
	cbz	x20, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_feof
	cbz	x0, LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _debug@GOTPAGE
Lloh6:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	str	x19, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
LBB0_4:
	mov	x0, x20
	bl	_fclose
	b	LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _debug@GOTPAGE
Lloh11:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	str	x19, [sp]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_7:
	mov	w0, #-1
	b	LBB0_10
LBB0_8:
	str	x21, [sp, #40]                  ; 8-byte Folded Spill
Lloh15:
	adrp	x8, _key_cnt@GOTPAGE
Lloh16:
	ldr	x8, [x8, _key_cnt@GOTPAGEOFF]
Lloh17:
	str	wzr, [x8]
	mov	x0, x20
	bl	_feof
	cbz	x0, LBB0_12
LBB0_9:
	mov	x0, x20
	bl	_fclose
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _key_ptr@GOTPAGE
Lloh19:
	ldr	x9, [x9, _key_ptr@GOTPAGEOFF]
Lloh20:
	str	x8, [x9]
Lloh21:
	adrp	x8, _key_cnt@GOTPAGE
Lloh22:
	ldr	x8, [x8, _key_cnt@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
LBB0_10:
	ldur	x8, [x29, #-96]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.11:
	ldp	x29, x30, [sp, #480]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #464]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #448]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #432]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #416]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #400]            ; 16-byte Folded Reload
	add	sp, sp, #496
	ret
LBB0_12:
	str	xzr, [sp, #32]                  ; 8-byte Folded Spill
	mov	w24, #1
Lloh27:
	adrp	x21, l_.str.3@PAGE
Lloh28:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x25
	bl	_free
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w24, w24, #1
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_feof
	cbnz	x0, LBB0_9
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	add	x0, sp, #184
	mov	w1, #200
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	strb	wzr, [sp, #383]
	add	x0, sp, #184
	mov	w1, #35
	bl	_strchr
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	strb	wzr, [x0]
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #48
	bl	_emalloc
	mov	x25, x0
	ldr	x3, [x0, #8]
	add	x0, sp, #184
	add	x4, sp, #55
	mov	x1, x21
	mov	x2, x25
	bl	_sscanf
	mov	x26, x0
	cmp	w0, #3
	b.ne	LBB0_31
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x0, sp, #55
	bl	_strlen
	mov	x27, x0
	cmp	w0, #20
	b.gt	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	str	w27, [x25, #16]
	ldr	x0, [x25, #24]
	add	w2, w27, #1
	add	x1, sp, #55
	bl	_memcpy
	mov	w28, #0
	b	LBB0_27
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	tbnz	w27, #0, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x22, #0
	mov	x21, #0
	lsr	w8, w27, #1
	str	w8, [x25, #16]
LBB0_24:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, sp, #55
	add	x23, x8, x21
	ldrsb	w0, [x23]
	bl	_hex_val
	mov	x28, x0
	ldrsb	w0, [x23, #1]
	bl	_hex_val
	orr	w8, w0, w28, lsl #4
	lsr	w28, w8, #31
	tbnz	w8, #31, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	ldr	x9, [x25, #24]
	strb	w8, [x9, x22]
	add	x21, x21, #2
	add	x22, x22, #1
	cmp	w27, w21
	b.gt	LBB0_24
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w28, #1
LBB0_27:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x25, #8]
	mov	x1, #0
	bl	_keytype_from_text
	str	x0, [x25, #32]
	cbz	x0, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh29:
	adrp	x21, l_.str.3@PAGE
Lloh30:
	add	x21, x21, l_.str.3@PAGEOFF
	tbnz	w28, #0, LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_16 Depth=1
	str	xzr, [x25, #40]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x9, #40
	cmp	x9, #0
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	csel	x8, x9, x8, eq
	str	x25, [x8]
Lloh31:
	adrp	x9, _key_cnt@GOTPAGE
Lloh32:
	ldr	x9, [x9, _key_cnt@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_14
LBB0_30:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x25, #8]
	ldr	w9, [x25]
	stp	x9, x8, [sp, #16]
	stp	x19, x24, [sp]
Lloh33:
	adrp	x0, l_.str.4@PAGE
Lloh34:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
Lloh35:
	adrp	x21, l_.str.3@PAGE
Lloh36:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_31:                                ;   in Loop: Header=BB0_16 Depth=1
Lloh37:
	adrp	x8, _debug@GOTPAGE
Lloh38:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.32:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x8, x24
	stp	x26, x8, [sp]
Lloh40:
	adrp	x0, l_.str.5@PAGE
Lloh41:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	b	LBB0_13
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_debug,8,3                      ; @debug
l_.str.1:                               ; @.str.1
	.asciz	"sntp auth_init: Couldn't open key file %s for reading!\n"

l_.str.2:                               ; @.str.2
	.asciz	"sntp auth_init: Key file %s is empty!\n"

	.comm	_key_cnt,4,2                    ; @key_cnt
l_.str.3:                               ; @.str.3
	.asciz	"%d %15s %128s"

l_.str.4:                               ; @.str.4
	.asciz	"%s: line %d: key %d, %s not supported - ignoring\n"

l_.str.5:                               ; @.str.5
	.asciz	"auth_init: scanf %d items, skipping line %d."

	.comm	_key_ptr,8,3                    ; @key_ptr
.subsections_via_symbols
