	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d2i_DHxparams                  ## -- Begin function d2i_DHxparams
	.p2align	4, 0x90
_d2i_DHxparams:                         ## @d2i_DHxparams
	.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
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_DH_new
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_d2i_int_dhx
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rdi
	callq	_DH_free
	movq	%rbx, (%r15)
LBB0_4:
	movups	20(%r14), %xmm0
	movups	%xmm0, 16(%rbx)
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	8(%rax), %rdi
	movq	(%rdi), %rcx
	movq	%rcx, 8(%rbx)
	movl	8(%rdi), %ecx
	movl	%ecx, 4(%rbx)
	movl	16(%rax), %eax
	movl	%eax, (%rbx)
	movq	$0, (%rdi)
	callq	_ASN1_BIT_STRING_free
	movq	(%r14), %rdi
	callq	_OPENSSL_free
	movq	$0, (%r14)
LBB0_6:
	movq	%r14, %rdi
	callq	_OPENSSL_free
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_DH_free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	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	_d2i_DHxparams                  ; -- Begin function d2i_DHxparams
	.p2align	2
_d2i_DHxparams:                         ; @d2i_DHxparams
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	bl	_DH_new
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	mov	x0, #0
	mov	x1, x22
	mov	x2, x20
	bl	_d2i_int_dhx
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	cbz	x21, LBB0_4
; %bb.3:
	ldr	x0, [x21]
	bl	_DH_free
	str	x19, [x21]
LBB0_4:
	ldur	q0, [x20, #20]
	str	q0, [x19, #16]
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x0, [x8, #8]
	ldr	x9, [x0]
	str	x9, [x19, #8]
	ldr	w9, [x0, #8]
	ldr	w8, [x8, #16]
	stp	w8, w9, [x19]
	str	xzr, [x0]
	bl	_ASN1_BIT_STRING_free
	ldr	x0, [x20]
	bl	_OPENSSL_free
	str	xzr, [x20]
LBB0_6:
	mov	x0, x20
	bl	_OPENSSL_free
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_DH_free
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
