	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_get_pkey_asn1_meth_str  ## -- Begin function ENGINE_get_pkey_asn1_meth_str
	.p2align	4, 0x90
_ENGINE_get_pkey_asn1_meth_str:         ## @ENGINE_get_pkey_asn1_meth_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_8
## %bb.1:
	movl	%edx, %r15d
	movq	%rdi, %r13
	cmpl	$-1, %edx
	jne	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	movl	%eax, %r15d
	movq	(%r13), %r8
LBB0_3:
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	*%r8
	testl	%eax, %eax
	jle	LBB0_9
## %bb.4:
	movl	%eax, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	cmpq	%r12, %r14
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax
	movl	(%rax,%r12,4), %ecx
	movq	%r13, %rdi
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	callq	*(%r13)
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	callq	_strlen
	cmpl	%r15d, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rbx
	movq	(%rbx), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_get_pkey_asn1_meth_str  ; -- Begin function ENGINE_get_pkey_asn1_meth_str
	.p2align	2
_ENGINE_get_pkey_asn1_meth_str:         ; @ENGINE_get_pkey_asn1_meth_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
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	cmn	w2, #1
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	ldr	x8, [x20]
LBB0_3:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, #0
	mov	w3, #0
	blr	x8
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x23, #0
	mov	w8, w0
	lsl	x24, x8, #2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #4
	cmp	x24, x23
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [sp, #8]
	ldr	w3, [x9, x23]
	mov	x1, sp
	mov	x0, x20
	mov	x2, #0
	blr	x8
	ldr	x8, [sp]
	ldr	x0, [x8]
	bl	_strlen
	cmp	w0, w21
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x22, [sp]
	ldr	x0, [x22]
	mov	x1, x19
	mov	x2, x21
	bl	_strncasecmp
	cbnz	x0, LBB0_5
	b	LBB0_9
LBB0_8:
	mov	x22, #0
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
