	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssh_digest_by_alg
_ssh_digest_by_alg:                     ## @ssh_digest_by_alg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testl	%edi, %edi
	js	LBB0_5
## %bb.1:
	movq	_SSH_DIGEST_MAX@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jle	LBB0_5
## %bb.2:
	movq	_digests@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%edi, %edx
	shlq	$4, %rdx
	cmpl	%edi, (%rcx,%rdx)
	jne	LBB0_3
## %bb.4:
	leaq	(%rcx,%rdx), %rax
	movq	8(%rcx,%rdx), %rcx
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH_DIGEST_MAX,4,2             ## @SSH_DIGEST_MAX
	.comm	_digests,8,3                    ## @digests
	.no_dead_strip	_ssh_digest_by_alg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssh_digest_by_alg
_ssh_digest_by_alg:                     ; @ssh_digest_by_alg
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, _SSH_DIGEST_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSH_DIGEST_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w0
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _digests@GOTPAGE
Lloh4:
	ldr	x8, [x8, _digests@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	add	x8, x9, w0, uxtw #4
	ldr	w10, [x8]
	cmp	w10, w0
	b.ne	LBB0_5
; %bb.3:
	mov	w10, w0
	add	x9, x9, x10, lsl #4
	ldr	x9, [x9, #8]
	cmp	x9, #0
	csel	x8, xzr, x8, eq
LBB0_4:
	mov	x0, x8
	ret
LBB0_5:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_DIGEST_MAX,4,2             ; @SSH_DIGEST_MAX
	.comm	_digests,8,3                    ; @digests
	.no_dead_strip	_ssh_digest_by_alg
.subsections_via_symbols
