	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_host_key_dns            ## -- Begin function verify_host_key_dns
	.p2align	4, 0x90
_verify_host_key_dns:                   ## @verify_host_key_dns
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	_SSHFP_HASH_RESERVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movl	$0, (%rcx)
	leaq	L_.str(%rip), %rdi
	callq	_debug3
	testq	%r12, %r12
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_2:
	movq	%rbx, %rdi
	callq	_is_numeric_hostname
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_debug
	movl	$-1, %ebx
	jmp	LBB0_33
LBB0_4:
	movq	_DNS_RDATACLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DNS_RDATATYPE_SSHFP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_getrrsetbyname
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %edi
	callq	_dns_result_totext
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_verbose
	movl	$-1, %ebx
	jmp	LBB0_33
LBB0_6:
	movq	-48(%rbp), %rax
	movq	_RRSET_VALIDATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.8:
	movq	_DNS_VERIFY_SECURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
LBB0_9:
	movq	8(%rax), %rsi
	xorl	%eax, %eax
	callq	_debug
	leaq	-96(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	movq	%r12, %r8
	callq	_dns_read_key
	testl	%eax, %eax
	je	LBB0_10
## %bb.12:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.13:
	movq	_DNS_VERIFY_FOUND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, (%r14)
	testq	%rcx, %rcx
	jle	LBB0_27
## %bb.14:
	leaq	-72(%rbp), %r13
	leaq	-104(%rbp), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-72(%rbp), %rdi
	callq	_free
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movq	-48(%rbp), %rax
	cmpq	8(%rax), %rbx
	jge	LBB0_27
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rax
	movl	(%rax,%rbx,8), %r9d
	movl	4(%rax,%rbx,8), %r8d
	leaq	-112(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_dns_read_rdata
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-80(%rbp), %rax
	cmpq	%rax, -56(%rbp)
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, -56(%rbp)
	movq	-64(%rbp), %rdi
	callq	_free
	leaq	-96(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	movq	%r12, %r8
	callq	_dns_read_key
	testl	%eax, %eax
	je	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-96(%rbp), %rax
	cmpq	-112(%rbp), %rax
	jne	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-56(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jne	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-88(%rbp), %rdx
	cmpq	-104(%rbp), %rdx
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-64(%rbp), %rdi
	movq	-72(%rbp), %rsi
	callq	_timingsafe_bcmp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_DNS_VERIFY_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_verbose
	jmp	LBB0_26
LBB0_27:
	movq	-64(%rbp), %rdi
	callq	_free
	movq	-48(%rbp), %rdi
	callq	_freerrset
	movl	(%r14), %eax
	movq	_DNS_VERIFY_FOUND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.28:
	movq	_DNS_VERIFY_MATCH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.29:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_32
LBB0_10:
	leaq	L_.str.6(%rip), %rdi
LBB0_11:
	callq	_error
	movq	-48(%rbp), %rdi
	callq	_freerrset
	movl	$-1, %ebx
	jmp	LBB0_33
LBB0_31:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_32
LBB0_30:
	leaq	L_.str.10(%rip), %rdi
LBB0_32:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_debug
LBB0_33:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_SSHFP_HASH_RESERVED,8,3        ## @SSHFP_HASH_RESERVED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verify_host_key_dns"

L_.str.1:                               ## @.str.1
	.asciz	"No key to look up!"

L_.str.2:                               ## @.str.2
	.asciz	"skipped DNS lookup for numerical hostname"

	.comm	_DNS_RDATACLASS_IN,4,2          ## @DNS_RDATACLASS_IN
	.comm	_DNS_RDATATYPE_SSHFP,4,2        ## @DNS_RDATATYPE_SSHFP
L_.str.3:                               ## @.str.3
	.asciz	"DNS lookup error: %s"

	.comm	_RRSET_VALIDATED,4,2            ## @RRSET_VALIDATED
	.comm	_DNS_VERIFY_SECURE,4,2          ## @DNS_VERIFY_SECURE
L_.str.4:                               ## @.str.4
	.asciz	"found %d secure fingerprints in DNS"

L_.str.5:                               ## @.str.5
	.asciz	"found %d insecure fingerprints in DNS"

L_.str.6:                               ## @.str.6
	.asciz	"Error calculating host key fingerprint."

	.comm	_DNS_VERIFY_FOUND,4,2           ## @DNS_VERIFY_FOUND
L_.str.7:                               ## @.str.7
	.asciz	"Error parsing fingerprint from DNS."

L_.str.8:                               ## @.str.8
	.asciz	"Error calculating key fingerprint."

	.comm	_DNS_VERIFY_MATCH,4,2           ## @DNS_VERIFY_MATCH
L_.str.9:                               ## @.str.9
	.asciz	"matching host key fingerprint found in DNS"

L_.str.10:                              ## @.str.10
	.asciz	"mismatching host key fingerprint found in DNS"

L_.str.11:                              ## @.str.11
	.asciz	"no host key fingerprint found in DNS"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_host_key_dns            ; -- Begin function verify_host_key_dns
	.p2align	2
_verify_host_key_dns:                   ; @verify_host_key_dns
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	str	xzr, [sp, #72]
Lloh0:
	adrp	x8, _SSHFP_HASH_RESERVED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSHFP_HASH_RESERVED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	wzr, [x3]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debug3
	cbnz	x20, LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_2:
	mov	x0, x21
	bl	_is_numeric_hostname
	cbz	x0, LBB0_4
; %bb.3:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debug
	mov	w0, #-1
	b	LBB0_32
LBB0_4:
Lloh9:
	adrp	x8, _DNS_RDATACLASS_IN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DNS_RDATACLASS_IN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _DNS_RDATATYPE_SSHFP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DNS_RDATATYPE_SSHFP@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x4, sp, #72
	mov	x0, x21
	mov	w3, #0
	bl	_getrrsetbyname
	cbz	w0, LBB0_6
; %bb.5:
	bl	_dns_result_totext
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_verbose
	mov	w0, #-1
	b	LBB0_32
LBB0_6:
	ldr	x8, [sp, #72]
	ldr	w9, [x8]
Lloh17:
	adrp	x10, _RRSET_VALIDATED@GOTPAGE
Lloh18:
	ldr	x10, [x10, _RRSET_VALIDATED@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
Lloh20:
	adrp	x9, _DNS_VERIFY_SECURE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DNS_VERIFY_SECURE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_9:
	ldr	x8, [x8, #8]
	str	x8, [sp]
	bl	_debug
	add	x0, sp, #64
	add	x1, sp, #56
	add	x2, sp, #48
	add	x3, sp, #40
	mov	x4, x20
	bl	_dns_read_key
	cbz	w0, LBB0_27
; %bb.10:
	ldr	x8, [sp, #72]
	ldr	x9, [x8, #8]
Lloh27:
	adrp	x22, _DNS_VERIFY_FOUND@GOTPAGE
Lloh28:
	ldr	x22, [x22, _DNS_VERIFY_FOUND@GOTPAGEOFF]
	cbz	x9, LBB0_24
; %bb.11:
	ldr	w10, [x22]
	ldr	w11, [x19]
	orr	w10, w11, w10
	str	w10, [x19]
	cmp	x9, #1
	b.lt	LBB0_24
; %bb.12:
	mov	x23, #0
	mov	x24, #0
Lloh29:
	adrp	x25, _DNS_VERIFY_MATCH@GOTPAGE
Lloh30:
	ldr	x25, [x25, _DNS_VERIFY_MATCH@GOTPAGEOFF]
Lloh31:
	adrp	x21, l_.str.7@PAGE
Lloh32:
	add	x21, x21, l_.str.7@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #16]
	bl	_free
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x24, x24, #1
	ldr	x8, [sp, #72]
	ldr	x9, [x8, #8]
	add	x23, x23, #8
	cmp	x24, x9
	b.ge	LBB0_24
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	add	x8, x8, x23
	ldp	w5, w4, [x8]
	add	x0, sp, #32
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	bl	_dns_read_rdata
	cbz	w0, LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [sp, #56]
	ldr	x8, [sp, #24]
	cmp	x9, x8
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	str	x8, [sp, #56]
	ldr	x0, [sp, #48]
	bl	_free
	add	x0, sp, #64
	add	x1, sp, #56
	add	x2, sp, #48
	add	x3, sp, #40
	mov	x4, x20
	bl	_dns_read_key
	cbz	w0, LBB0_33
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #64]
	ldr	x9, [sp, #32]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #56]
	ldr	x9, [sp, #24]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x2, [sp, #40]
	ldr	x8, [sp, #8]
	cmp	x2, x8
	b.ne	LBB0_13
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [sp, #48]
	ldr	x1, [sp, #16]
	bl	_timingsafe_bcmp
	cbnz	x0, LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_13
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x21
	bl	_verbose
	b	LBB0_14
LBB0_24:
	ldr	x0, [sp, #48]
	bl	_free
	ldr	x0, [sp, #72]
	bl	_freerrset
	ldr	w8, [x19]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.25:
Lloh33:
	adrp	x9, _DNS_VERIFY_MATCH@GOTPAGE
Lloh34:
	ldr	x9, [x9, _DNS_VERIFY_MATCH@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.26:
Lloh36:
	adrp	x0, l_.str.9@PAGE
Lloh37:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_31
LBB0_27:
Lloh38:
	adrp	x0, l_.str.6@PAGE
Lloh39:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_28:
	bl	_error
	ldr	x0, [sp, #72]
	bl	_freerrset
	mov	w0, #-1
	b	LBB0_32
LBB0_29:
Lloh40:
	adrp	x0, l_.str.11@PAGE
Lloh41:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_31
LBB0_30:
Lloh42:
	adrp	x0, l_.str.10@PAGE
Lloh43:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_31:
	bl	_debug
	mov	w0, #0
LBB0_32:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_33:
Lloh44:
	adrp	x0, l_.str.8@PAGE
Lloh45:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_28
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_SSHFP_HASH_RESERVED,8,3        ; @SSHFP_HASH_RESERVED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verify_host_key_dns"

l_.str.1:                               ; @.str.1
	.asciz	"No key to look up!"

l_.str.2:                               ; @.str.2
	.asciz	"skipped DNS lookup for numerical hostname"

	.comm	_DNS_RDATACLASS_IN,4,2          ; @DNS_RDATACLASS_IN
	.comm	_DNS_RDATATYPE_SSHFP,4,2        ; @DNS_RDATATYPE_SSHFP
l_.str.3:                               ; @.str.3
	.asciz	"DNS lookup error: %s"

	.comm	_RRSET_VALIDATED,4,2            ; @RRSET_VALIDATED
	.comm	_DNS_VERIFY_SECURE,4,2          ; @DNS_VERIFY_SECURE
l_.str.4:                               ; @.str.4
	.asciz	"found %d secure fingerprints in DNS"

l_.str.5:                               ; @.str.5
	.asciz	"found %d insecure fingerprints in DNS"

l_.str.6:                               ; @.str.6
	.asciz	"Error calculating host key fingerprint."

	.comm	_DNS_VERIFY_FOUND,4,2           ; @DNS_VERIFY_FOUND
l_.str.7:                               ; @.str.7
	.asciz	"Error parsing fingerprint from DNS."

l_.str.8:                               ; @.str.8
	.asciz	"Error calculating key fingerprint."

	.comm	_DNS_VERIFY_MATCH,4,2           ; @DNS_VERIFY_MATCH
l_.str.9:                               ; @.str.9
	.asciz	"matching host key fingerprint found in DNS"

l_.str.10:                              ; @.str.10
	.asciz	"mismatching host key fingerprint found in DNS"

l_.str.11:                              ; @.str.11
	.asciz	"no host key fingerprint found in DNS"

.subsections_via_symbols
