	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_asn1_find_str         ## -- Begin function EVP_PKEY_asn1_find_str
	.p2align	4, 0x90
_EVP_PKEY_asn1_find_str:                ## @EVP_PKEY_asn1_find_str
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$-1, %edx
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r15d
	testq	%rbx, %rbx
	je	LBB0_5
LBB0_3:
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_ENGINE_pkey_asn1_find_str
	testq	%rax, %rax
	je	LBB0_4
## %bb.13:
	movq	%rax, %r12
	movq	-48(%rbp), %rdi
	callq	_ENGINE_init
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmoveq	%rcx, %r12
	movq	-48(%rbp), %rdi
	callq	_ENGINE_free
	movq	-48(%rbp), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_12
LBB0_4:
	movq	$0, (%rbx)
LBB0_5:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_PKEY_asn1_get_count
	testl	%eax, %eax
	jle	LBB0_12
## %bb.6:
	movl	%eax, %ebx
	incl	%ebx
	movq	_ASN1_PKEY_ALIAS@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	decl	%ebx
	cmpl	$1, %ebx
	jbe	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rbx), %edi
	callq	_EVP_PKEY_asn1_get0
	movq	%rax, %r12
	movl	(%r13), %eax
	testl	%eax, (%r12)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r12), %rdi
	callq	_strlen
	cmpl	%r15d, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r12), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_12
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_PKEY_ALIAS,4,2            ## @ASN1_PKEY_ALIAS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_asn1_find_str         ; -- Begin function EVP_PKEY_asn1_find_str
	.p2align	2
_EVP_PKEY_asn1_find_str:                ; @EVP_PKEY_asn1_find_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cmn	w2, #1
	b.eq	LBB0_2
; %bb.1:
	cbnz	x21, LBB0_3
	b	LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	cbz	x21, LBB0_6
LBB0_3:
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	bl	_ENGINE_pkey_asn1_find_str
	cbz	x0, LBB0_5
; %bb.4:
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_ENGINE_init
	cmp	w0, #0
	csel	x22, xzr, x22, eq
	ldr	x0, [sp, #8]
	bl	_ENGINE_free
	ldr	x8, [sp, #8]
	str	x8, [x21]
	b	LBB0_13
LBB0_5:
	str	xzr, [x21]
LBB0_6:
	bl	_EVP_PKEY_asn1_get_count
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.7:
	add	w21, w0, #1
Lloh0:
	adrp	x23, _ASN1_PKEY_ALIAS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ASN1_PKEY_ALIAS@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	w21, w21, #1
	cmp	w21, #1
	b.ls	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w0, w21, #2
	bl	_EVP_PKEY_asn1_get0
	ldr	w8, [x0]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x0
	ldr	x0, [x0, #8]
	bl	_strlen
	cmp	w0, w20
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x22, #8]
	mov	x1, x19
	mov	x2, x20
	bl	_strncasecmp
	cbnz	x0, LBB0_8
	b	LBB0_13
LBB0_12:
	mov	x22, #0
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_PKEY_ALIAS,4,2            ; @ASN1_PKEY_ALIAS
.subsections_via_symbols
