	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_lookup                  ## -- Begin function handle_lookup
	.p2align	4, 0x90
_handle_lookup:                         ## @handle_lookup
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	%esi, %r15
	movl	$1, %edi
	movq	%r15, %rsi
	callq	_TRACE
	callq	_ZERO
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movq	_Z_AI_NUMERICSERV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ai_fam_pref@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	%ecx, -56(%rbp)
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rdi
	leaq	1(%rdi), %r12
	addq	$33, %rdi
	callq	_emalloc_zero
	movq	%rax, %rbx
	leaq	32(%rax), %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	movq	%r13, (%rbx)
	movl	%r15d, 8(%rbx)
	movq	_response_tv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_AUTHENTICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ENABLED_OPT
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rsi
	addq	$16, %rsi
	movq	_OPT_VALUE_AUTHENTICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 12(%rbx)
	callq	_get_key
	cmpq	$0, 16(%rbx)
	jne	LBB0_4
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_progname@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	12(%rbx), %ebx
	movq	_KEYFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OPT_ARG
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movq	%rax, %r8
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_3:
	movl	$-1, 12(%rbx)
LBB0_4:
	movq	_n_pending_dns@GOTPCREL(%rip), %rax
	incl	(%rax)
	leaq	L_.str.2(%rip), %rsi
	movq	_sntp_name_resolved@GOTPCREL(%rip), %r8
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_getaddrinfo_sometime
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ai_fam_pref,4,2                ## @ai_fam_pref
	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.comm	_Z_AI_NUMERICSERV,4,2           ## @Z_AI_NUMERICSERV
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_response_tv,4,2                ## @response_tv
	.comm	_AUTHENTICATION,4,2             ## @AUTHENTICATION
	.comm	_OPT_VALUE_AUTHENTICATION,4,2   ## @OPT_VALUE_AUTHENTICATION
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s: Authentication with keyID %d requested, but no matching keyID found in <%s>!\n"

	.comm	_progname,8,3                   ## @progname
	.comm	_KEYFILE,4,2                    ## @KEYFILE
	.comm	_n_pending_dns,4,2              ## @n_pending_dns
L_.str.2:                               ## @.str.2
	.asciz	"123"

	.comm	_sntp_name_resolved,4,2         ## @sntp_name_resolved
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_lookup                  ; -- Begin function handle_lookup
	.p2align	2
_handle_lookup:                         ; @handle_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	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, #24]
	sxtw	x1, w21
	mov	w0, #1
	bl	_TRACE
	bl	_ZERO
Lloh3:
	adrp	x8, _ai_fam_pref@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ai_fam_pref@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _AI_CANONNAME@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AI_CANONNAME@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _Z_AI_NUMERICSERV@GOTPAGE
Lloh10:
	ldr	x10, [x10, _Z_AI_NUMERICSERV@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _SOCK_DGRAM@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SOCK_DGRAM@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w10, w8, [sp, #16]
Lloh15:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	stp	w9, w8, [sp, #8]
	mov	x0, x19
	bl	_strlen
	add	w8, w0, #1
	sxtw	x22, w8
	add	x0, x22, #32
	bl	_emalloc_zero
	mov	x20, x0
	add	x23, x0, #32
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	bl	_memcpy
	str	x23, [x20]
	str	w21, [x20, #8]
Lloh18:
	adrp	x8, _response_tv@GOTPAGE
Lloh19:
	ldr	x8, [x8, _response_tv@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	mov	x21, x20
	str	xzr, [x21, #16]!
Lloh21:
	adrp	x8, _AUTHENTICATION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AUTHENTICATION@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_ENABLED_OPT
	cbz	x0, LBB0_3
; %bb.1:
Lloh24:
	adrp	x8, _OPT_VALUE_AUTHENTICATION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OPT_VALUE_AUTHENTICATION@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	str	w0, [x20, #12]
	mov	x1, x21
	bl	_get_key
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_4
; %bb.2:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	adrp	x9, _progname@GOTPAGE
Lloh30:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh31:
	ldr	w19, [x8]
Lloh32:
	ldr	x21, [x9]
	ldr	w20, [x20, #12]
Lloh33:
	adrp	x8, _KEYFILE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _KEYFILE@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_OPT_ARG
	mov	x4, x0
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_3:
	mov	w8, #-1
	str	w8, [x20, #12]
LBB0_4:
Lloh38:
	adrp	x8, _n_pending_dns@GOTPAGE
Lloh39:
	ldr	x8, [x8, _n_pending_dns@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh42:
	adrp	x4, _sntp_name_resolved@GOTPAGE
Lloh43:
	ldr	x4, [x4, _sntp_name_resolved@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_getaddrinfo_sometime
	ldr	x8, [sp, #24]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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 AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_ai_fam_pref,4,2                ; @ai_fam_pref
	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.comm	_Z_AI_NUMERICSERV,4,2           ; @Z_AI_NUMERICSERV
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_response_tv,4,2                ; @response_tv
	.comm	_AUTHENTICATION,4,2             ; @AUTHENTICATION
	.comm	_OPT_VALUE_AUTHENTICATION,4,2   ; @OPT_VALUE_AUTHENTICATION
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s: Authentication with keyID %d requested, but no matching keyID found in <%s>!\n"

	.comm	_progname,8,3                   ; @progname
	.comm	_KEYFILE,4,2                    ; @KEYFILE
	.comm	_n_pending_dns,4,2              ; @n_pending_dns
l_.str.2:                               ; @.str.2
	.asciz	"123"

	.comm	_sntp_name_resolved,4,2         ; @sntp_name_resolved
.subsections_via_symbols
