	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_hostkeys_by_key_or_type
_check_hostkeys_by_key_or_type:         ## @check_hostkeys_by_key_or_type
	.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	%rcx, %r15
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_HOST_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rsi, %rdi
	callq	_sshkey_is_cert
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MRK_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_MRK_CA@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r14
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	$0, (%r15)
LBB0_5:
	cmpq	$0, (%rbx)
	je	LBB0_19
## %bb.6:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rax,%r13), %rcx
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rcx)
	je	LBB0_23
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	addq	$16, %r13
	cmpq	(%rbx), %r15
	jae	LBB0_18
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	%r14, (%rax,%r13)
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testq	%r12, %r12
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r12), %rcx
	movl	(%rcx), %edi
	movq	8(%rax,%r13), %rsi
	callq	_sshkey_equal_public
	testq	%rax, %rax
	je	LBB0_8
	jmp	LBB0_13
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rax,%r13), %rsi
	movq	%r12, %rdi
	callq	_sshkey_equal
	testq	%rax, %rax
	jne	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_HOST_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rax
	addq	%r13, %rax
	movq	%rax, (%rcx)
	jmp	LBB0_8
LBB0_18:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_19:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_check_key_not_revoked
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	_HOST_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testq	%r15, %r15
	je	LBB0_22
## %bb.21:
	movq	$0, (%r15)
LBB0_22:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_HOST_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_14
## %bb.26:
	addq	8(%rbx), %r13
	movq	%r13, (%r15)
	movl	%eax, %r13d
	jmp	LBB0_19
LBB0_23:
	movq	_HOST_FOUND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_27
## %bb.24:
	addq	%r13, %rax
	movq	%rax, (%r15)
	movq	8(%rbx), %rax
	movq	8(%rax,%r13), %r12
	movl	%edx, %r13d
	jmp	LBB0_19
LBB0_14:
	movl	%eax, %r13d
	jmp	LBB0_19
LBB0_27:
	movq	%rcx, %r12
	movl	%edx, %r13d
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_NEW,4,2                   ## @HOST_NEW
	.comm	_MRK_CA,8,3                     ## @MRK_CA
	.comm	_MRK_NONE,8,3                   ## @MRK_NONE
	.comm	_HOST_FOUND,4,2                 ## @HOST_FOUND
	.comm	_HOST_OK,4,2                    ## @HOST_OK
	.comm	_HOST_CHANGED,4,2               ## @HOST_CHANGED
	.comm	_HOST_REVOKED,4,2               ## @HOST_REVOKED
	.no_dead_strip	_check_hostkeys_by_key_or_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_hostkeys_by_key_or_type
_check_hostkeys_by_key_or_type:         ; @check_hostkeys_by_key_or_type
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _HOST_NEW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_NEW@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x1
	bl	_sshkey_is_cert
	mov	x24, x0
Lloh3:
	adrp	x8, _MRK_CA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MRK_CA@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MRK_NONE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MRK_NONE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	ldr	x26, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_18
; %bb.3:
	mov	x25, #0
	mov	x27, #0
Lloh7:
	adrp	x28, _HOST_CHANGED@GOTPAGE
Lloh8:
	ldr	x28, [x28, _HOST_CHANGED@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x8, x25
	ldr	x8, [x9, #8]
	ldr	w10, [x8]
	cmp	w10, w23
	b.eq	LBB0_15
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	ldr	x8, [x20]
	add	x25, x25, #16
	cmp	x27, x8
	b.hs	LBB0_18
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x9, [x8, x25]
	cmp	x9, x26
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x22, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w24, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x22, #8]
	ldr	w0, [x9]
	add	x8, x8, x25
	ldr	x1, [x8, #8]
	bl	_sshkey_equal_public
	cbz	x0, LBB0_5
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, x25
	ldr	x1, [x8, #8]
	mov	x0, x22
	bl	_sshkey_equal
	cbnz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w21, [x28]
	cbz	x19, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x25
	str	x8, [x19]
	b	LBB0_5
LBB0_13:
Lloh9:
	adrp	x8, _HOST_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HOST_OK@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	cbz	x19, LBB0_18
; %bb.14:
	ldr	x8, [x20, #8]
	add	x8, x8, x25
	str	x8, [x19]
	b	LBB0_18
LBB0_15:
Lloh12:
	adrp	x10, _HOST_FOUND@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HOST_FOUND@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x10]
	cbz	x19, LBB0_17
; %bb.16:
	str	x9, [x19]
	ldr	x8, [x20, #8]
	add	x8, x8, x25
	ldr	x22, [x8, #8]
	b	LBB0_18
LBB0_17:
	mov	x22, x8
LBB0_18:
	mov	x0, x20
	mov	x1, x22
	bl	_check_key_not_revoked
	cbz	x0, LBB0_21
; %bb.19:
Lloh15:
	adrp	x8, _HOST_REVOKED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HOST_REVOKED@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	cbz	x19, LBB0_21
; %bb.20:
	str	xzr, [x19]
LBB0_21:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_NEW,4,2                   ; @HOST_NEW
	.comm	_MRK_CA,8,3                     ; @MRK_CA
	.comm	_MRK_NONE,8,3                   ; @MRK_NONE
	.comm	_HOST_FOUND,4,2                 ; @HOST_FOUND
	.comm	_HOST_OK,4,2                    ; @HOST_OK
	.comm	_HOST_CHANGED,4,2               ; @HOST_CHANGED
	.comm	_HOST_REVOKED,4,2               ; @HOST_REVOKED
	.no_dead_strip	_check_hostkeys_by_key_or_type
.subsections_via_symbols
