	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshkey_ec_nid_to_hash_alg      ## -- Begin function sshkey_ec_nid_to_hash_alg
	.p2align	4, 0x90
_sshkey_ec_nid_to_hash_alg:             ## @sshkey_ec_nid_to_hash_alg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_sshkey_curve_nid_to_bits
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	cmpl	$256, %eax                      ## imm = 0x100
	ja	LBB0_4
## %bb.3:
	movq	_SSH_DIGEST_SHA256@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_4:
	cmpl	$384, %eax                      ## imm = 0x180
	ja	LBB0_6
## %bb.5:
	movq	_SSH_DIGEST_SHA384@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_SSH_DIGEST_SHA512@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSH_DIGEST_SHA256,4,2          ## @SSH_DIGEST_SHA256
	.comm	_SSH_DIGEST_SHA384,4,2          ## @SSH_DIGEST_SHA384
	.comm	_SSH_DIGEST_SHA512,4,2          ## @SSH_DIGEST_SHA512
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sshkey_ec_nid_to_hash_alg      ; -- Begin function sshkey_ec_nid_to_hash_alg
	.p2align	2
_sshkey_ec_nid_to_hash_alg:             ; @sshkey_ec_nid_to_hash_alg
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_sshkey_curve_nid_to_bits
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w0, #256
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _SSH_DIGEST_SHA256@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSH_DIGEST_SHA256@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	cmp	w0, #384
	b.hi	LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _SSH_DIGEST_SHA384@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSH_DIGEST_SHA384@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x8, _SSH_DIGEST_SHA512@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SSH_DIGEST_SHA512@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SSH_DIGEST_SHA256,4,2          ; @SSH_DIGEST_SHA256
	.comm	_SSH_DIGEST_SHA384,4,2          ; @SSH_DIGEST_SHA384
	.comm	_SSH_DIGEST_SHA512,4,2          ; @SSH_DIGEST_SHA512
.subsections_via_symbols
