	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_pkey_meths
_test_pkey_meths:                       ## @test_pkey_meths
	.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
	xorl	%eax, %eax
	callq	_EVP_PKEY_meth_get_count
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$-1, %r15d
	movl	$1, %r13d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_EVP_PKEY_meth_get0
	leaq	-44(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_EVP_PKEY_meth_get0_info
	movl	-44(%rbp), %r12d
	cmpl	%r15d, %r12d
	cmovll	%r14d, %r13d
	incq	%rbx
	xorl	%eax, %eax
	callq	_EVP_PKEY_meth_get_count
	movl	%r12d, %r15d
	cmpq	%rax, %rbx
	jb	LBB0_3
## %bb.4:
	testl	%r13d, %r13d
	jne	LBB0_8
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_TEST_error
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_EVP_PKEY_meth_get_count
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	leaq	-44(%rbp), %r14
	leaq	L_.str.1(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_EVP_PKEY_meth_get0
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_EVP_PKEY_meth_get0_info
	movl	-44(%rbp), %r12d
	movl	%r12d, %edi
	callq	_OBJ_nid2ln
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_TEST_note
	incq	%rbx
	xorl	%eax, %eax
	callq	_EVP_PKEY_meth_get_count
	cmpq	%rax, %rbx
	jb	LBB0_7
LBB0_8:
	movl	%r13d, %ebx
	jmp	LBB0_9
LBB0_1:
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EVP_PKEY_METHOD table out of order"

L_.str.1:                               ## @.str.1
	.asciz	"%d : %s"

	.no_dead_strip	_test_pkey_meths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_pkey_meths
_test_pkey_meths:                       ; @test_pkey_meths
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_EVP_PKEY_meth_get_count
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, #0
	mov	w21, #-1
	mov	w19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_EVP_PKEY_meth_get0
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, #0
	bl	_EVP_PKEY_meth_get0_info
	ldr	w22, [sp, #12]
	cmp	w22, w21
	csel	w19, wzr, w19, lt
	add	x20, x20, #1
	bl	_EVP_PKEY_meth_get_count
	mov	x21, x22
	cmp	x20, x0
	b.lo	LBB0_2
; %bb.3:
	cbnz	w19, LBB0_9
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEST_error
	bl	_EVP_PKEY_meth_get_count
	cbz	x0, LBB0_8
; %bb.5:
	mov	x20, #0
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_EVP_PKEY_meth_get0
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, #0
	bl	_EVP_PKEY_meth_get0_info
	ldr	w22, [sp, #12]
	mov	x0, x22
	bl	_OBJ_nid2ln
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_TEST_note
	add	x20, x20, #1
	bl	_EVP_PKEY_meth_get_count
	cmp	x20, x0
	b.lo	LBB0_6
	b	LBB0_9
LBB0_7:
	mov	w19, #1
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EVP_PKEY_METHOD table out of order"

l_.str.1:                               ; @.str.1
	.asciz	"%d : %s"

	.no_dead_strip	_test_pkey_meths
.subsections_via_symbols
