	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_asn1_add0             ## -- Begin function EVP_PKEY_asn1_add0
	.p2align	4, 0x90
_EVP_PKEY_asn1_add0:                    ## @EVP_PKEY_asn1_add0
	.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, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	movq	_ASN1_PKEY_ALIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	je	LBB0_4
LBB0_2:
	movq	_EVP_F_EVP_PKEY_ASN1_ADD0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	_app_methods@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.5:
	movq	_ameth_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sk_EVP_PKEY_ASN1_METHOD_new
	movq	%rax, %rdi
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	movl	4(%rbx), %eax
	movl	%eax, -44(%rbp)
	leaq	-48(%rbp), %rsi
	callq	_sk_EVP_PKEY_ASN1_METHOD_find
	testq	%rax, %rax
	js	LBB0_11
## %bb.7:
	movq	_EVP_F_EVP_PKEY_ASN1_ADD0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	callq	_EVPerr
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_sk_EVP_PKEY_ASN1_METHOD_push
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:
	movq	(%r14), %rdi
	callq	_sk_EVP_PKEY_ASN1_METHOD_sort
	movl	$1, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_PKEY_ALIAS,4,2            ## @ASN1_PKEY_ALIAS
	.comm	_EVP_F_EVP_PKEY_ASN1_ADD0,4,2   ## @EVP_F_EVP_PKEY_ASN1_ADD0
	.comm	_ERR_R_PASSED_INVALID_ARGUMENT,4,2 ## @ERR_R_PASSED_INVALID_ARGUMENT
	.comm	_app_methods,8,3                ## @app_methods
	.comm	_ameth_cmp,4,2                  ## @ameth_cmp
	.comm	_EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED,4,2 ## @EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PKEY_asn1_add0             ; -- Begin function EVP_PKEY_asn1_add0
	.p2align	2
_EVP_PKEY_asn1_add0:                    ; @EVP_PKEY_asn1_add0
	.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
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	ldr	x9, [x0, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x10, _ASN1_PKEY_ALIAS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ASN1_PKEY_ALIAS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	and	w8, w10, w8
	cbz	x9, LBB0_3
; %bb.1:
	cbz	w8, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _EVP_F_EVP_PKEY_ASN1_ADD0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_ASN1_ADD0@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_PASSED_INVALID_ARGUMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_PASSED_INVALID_ARGUMENT@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	cbz	w8, LBB0_2
LBB0_4:
Lloh8:
	adrp	x20, _app_methods@GOTPAGE
Lloh9:
	ldr	x20, [x20, _app_methods@GOTPAGEOFF]
	ldr	x0, [x20]
	cbnz	x0, LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, _ameth_cmp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ameth_cmp@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_sk_EVP_PKEY_ASN1_METHOD_new
	str	x0, [x20]
	cbz	x0, LBB0_9
LBB0_6:
	ldr	w8, [x19, #4]
	str	w8, [sp, #12]
	add	x1, sp, #8
	bl	_sk_EVP_PKEY_ASN1_METHOD_find
	tbnz	x0, #63, LBB0_10
; %bb.7:
Lloh13:
	adrp	x8, _EVP_F_EVP_PKEY_ASN1_ADD0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EVP_F_EVP_PKEY_ASN1_ADD0@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
	ldr	x0, [x20]
	mov	x1, x19
	bl	_sk_EVP_PKEY_ASN1_METHOD_push
	cbz	w0, LBB0_9
; %bb.11:
	ldr	x0, [x20]
	bl	_sk_EVP_PKEY_ASN1_METHOD_sort
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_PKEY_ALIAS,4,2            ; @ASN1_PKEY_ALIAS
	.comm	_EVP_F_EVP_PKEY_ASN1_ADD0,4,2   ; @EVP_F_EVP_PKEY_ASN1_ADD0
	.comm	_ERR_R_PASSED_INVALID_ARGUMENT,4,2 ; @ERR_R_PASSED_INVALID_ARGUMENT
	.comm	_app_methods,8,3                ; @app_methods
	.comm	_ameth_cmp,4,2                  ; @ameth_cmp
	.comm	_EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED,4,2 ; @EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED
.subsections_via_symbols
