	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d2i_ECParameters               ## -- Begin function d2i_ECParameters
	.p2align	4, 0x90
_d2i_ECParameters:                      ## @d2i_ECParameters
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	cmpq	$0, (%rsi)
	je	LBB0_6
## %bb.2:
	movq	%rdx, %r15
	movq	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.3:
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_10
## %bb.4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_d2i_ECPKParameters
	testl	%eax, %eax
	jne	LBB0_13
## %bb.5:
	movq	_EC_F_D2I_ECPARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EC_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	jmp	LBB0_16
LBB0_6:
	movq	_EC_F_D2I_ECPARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_ECerr
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	callq	_EC_KEY_new
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_d2i_ECPKParameters
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	testq	%r14, %r14
	je	LBB0_9
LBB0_13:
	movq	%r12, (%r14)
	jmp	LBB0_9
LBB0_14:
	movq	_EC_F_D2I_ECPARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_15:
	movq	_EC_F_D2I_ECPARAMETERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EC_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	testq	%r14, %r14
	je	LBB0_17
LBB0_16:
	cmpq	%r12, (%r14)
	je	LBB0_8
LBB0_17:
	movq	%r12, %rdi
	callq	_EC_KEY_free
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_D2I_ECPARAMETERS,4,2      ## @EC_F_D2I_ECPARAMETERS
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_EC_LIB,4,2               ## @ERR_R_EC_LIB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d2i_ECParameters               ; -- Begin function d2i_ECParameters
	.p2align	2
_d2i_ECParameters:                      ; @d2i_ECParameters
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x22, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x21, x2
	mov	x20, x0
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x19, [x20]
	cbz	x19, LBB0_9
; %bb.4:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_d2i_ECPKParameters
	cbnz	w0, LBB0_12
; %bb.5:
Lloh0:
	adrp	x8, _EC_F_D2I_ECPARAMETERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_F_D2I_ECPARAMETERS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_EC_LIB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_EC_LIB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ECerr
	b	LBB0_15
LBB0_6:
Lloh6:
	adrp	x8, _EC_F_D2I_ECPARAMETERS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EC_F_D2I_ECPARAMETERS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_ECerr
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	_EC_KEY_new
	mov	x19, x0
	cbz	x0, LBB0_13
; %bb.10:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_d2i_ECPKParameters
	cbz	w0, LBB0_14
; %bb.11:
	cbz	x20, LBB0_8
LBB0_12:
	str	x19, [x20]
	b	LBB0_8
LBB0_13:
Lloh12:
	adrp	x8, _EC_F_D2I_ECPARAMETERS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EC_F_D2I_ECPARAMETERS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_ECerr
	b	LBB0_8
LBB0_14:
Lloh18:
	adrp	x8, _EC_F_D2I_ECPARAMETERS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EC_F_D2I_ECPARAMETERS@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _ERR_R_EC_LIB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERR_R_EC_LIB@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_ECerr
	cbz	x20, LBB0_16
LBB0_15:
	ldr	x8, [x20]
	cmp	x8, x19
	b.eq	LBB0_7
LBB0_16:
	mov	x0, x19
	bl	_EC_KEY_free
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_D2I_ECPARAMETERS,4,2      ; @EC_F_D2I_ECPARAMETERS
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_EC_LIB,4,2               ; @ERR_R_EC_LIB
.subsections_via_symbols
