	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OBJ_find_sigid_by_algs         ## -- Begin function OBJ_find_sigid_by_algs
	.p2align	4, 0x90
_OBJ_find_sigid_by_algs:                ## @OBJ_find_sigid_by_algs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-40(%rbp), %rax
	movq	%rax, -24(%rbp)
	movl	%esi, -40(%rbp)
	movl	%edx, -36(%rbp)
	movq	_sigx_app@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	leaq	-40(%rbp), %rsi
	callq	_sk_nid_triple_find
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	(%rbx), %rdi
	movl	%eax, %esi
	callq	_sk_nid_triple_value
	movq	%rax, -24(%rbp)
	leaq	-24(%rbp), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	_sigoid_srt_xref@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_OSSL_NELEM
	leaq	-24(%rbp), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_OBJ_bsearch_sigx
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movl	$1, %eax
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:
	movq	(%rcx), %rcx
	movl	8(%rcx), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sigx_app,8,3                   ## @sigx_app
	.comm	_sigoid_srt_xref,4,2            ## @sigoid_srt_xref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OBJ_find_sigid_by_algs         ; -- Begin function OBJ_find_sigid_by_algs
	.p2align	2
_OBJ_find_sigid_by_algs:                ; @OBJ_find_sigid_by_algs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x8, sp, #16
	str	x8, [sp, #8]
	stp	w1, w2, [sp, #16]
Lloh0:
	adrp	x20, _sigx_app@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sigx_app@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_3
; %bb.1:
	add	x1, sp, #16
	bl	_sk_nid_triple_find
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x1, x0
	ldr	x0, [x20]
	bl	_sk_nid_triple_value
	str	x0, [sp, #8]
	add	x0, sp, #8
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _sigoid_srt_xref@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sigoid_srt_xref@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_OSSL_NELEM
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x20
	bl	_OBJ_bsearch_sigx
	cbz	x0, LBB0_7
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	ldr	x8, [x0]
	ldr	w8, [x8, #8]
	str	w8, [x19]
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_sigx_app,8,3                   ; @sigx_app
	.comm	_sigoid_srt_xref,4,2            ; @sigoid_srt_xref
.subsections_via_symbols
