	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function keyid
_keyid:                                 ## @keyid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rcx
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_NTP_MAXKEY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jle	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movl	$23, %esi
	movl	$1, %edx
	callq	_fwrite
	movq	8(%rbx), %rax
	movq	(%rax), %rax
LBB0_5:
	movq	_info_auth_keyid@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_info_auth_keyid@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rcx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movl	$17, %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fwrite                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_info_auth_keyid,8,3            ## @info_auth_keyid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no keyid defined\n"

L_.str.1:                               ## @.str.1
	.asciz	"keyid is %lu\n"

	.comm	_NTP_MAXKEY,8,3                 ## @NTP_MAXKEY
L_.str.2:                               ## @.str.2
	.asciz	"Invalid key identifier\n"

	.no_dead_strip	_keyid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function keyid
_keyid:                                 ; @keyid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x3, x1
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NTP_MAXKEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NTP_MAXKEY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #23
	mov	w2, #1
	bl	_fwrite
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
LBB0_3:
Lloh5:
	adrp	x9, _info_auth_keyid@GOTPAGE
Lloh6:
	ldr	x9, [x9, _info_auth_keyid@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _info_auth_keyid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _info_auth_keyid@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	str	x8, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x3
	bl	_fprintf
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #17
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_fwrite
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_info_auth_keyid,8,3            ; @info_auth_keyid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no keyid defined\n"

l_.str.1:                               ; @.str.1
	.asciz	"keyid is %lu\n"

	.comm	_NTP_MAXKEY,8,3                 ; @NTP_MAXKEY
l_.str.2:                               ; @.str.2
	.asciz	"Invalid key identifier\n"

	.no_dead_strip	_keyid
.subsections_via_symbols
