	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSA_dup_DH                     ## -- Begin function DSA_dup_DH
	.p2align	4, 0x90
_DSA_dup_DH:                            ## @DSA_dup_DH
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_DH_new
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	24(%r15), %rax
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.13:
	testq	%rax, %rax
	je	LBB0_24
## %bb.14:
	cmpq	$0, 16(%r15)
	je	LBB0_24
## %bb.15:
	callq	_BN_dup
	movq	%rax, %rbx
	movq	24(%r15), %rdi
	callq	_BN_dup
	movq	%rax, %r13
	movq	16(%r15), %rdi
	callq	_BN_dup
	movq	%rax, %r12
	movq	%rbx, %rsi
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.17:
	testq	%r13, %r13
	je	LBB0_16
## %bb.18:
	testq	%r12, %r12
	je	LBB0_16
## %bb.19:
	movq	%r14, %rdi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%rsi, %rbx
	callq	_DH_set0_pqg
	testl	%eax, %eax
	jne	LBB0_7
## %bb.20:
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	jmp	LBB0_25
LBB0_1:
	xorl	%r14d, %r14d
LBB0_24:
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
LBB0_25:
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_3:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	xorl	%esi, %esi
LBB0_26:
	movq	%rsi, %rdi
	callq	_BN_free
	movq	%r13, %rdi
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_free
	movq	%r15, %rdi
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	%r14, %rdi
	callq	_DH_free
	xorl	%r14d, %r14d
LBB0_27:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testq	%rax, %rax
	jne	LBB0_24
## %bb.6:
	cmpq	$0, 16(%r15)
	jne	LBB0_24
LBB0_7:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.8:
	callq	_BN_dup
	testq	%rax, %rax
	je	LBB0_24
## %bb.9:
	movq	%rax, %r12
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.21:
	callq	_BN_dup
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%r12, %r15
	jne	LBB0_11
## %bb.22:
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_16:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_26
LBB0_23:
	cmpq	$0, (%r15)
	jne	LBB0_24
	jmp	LBB0_27
LBB0_10:
	xorl	%ebx, %ebx
	movq	%r12, %r15
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_DH_set0_key
	testl	%eax, %eax
	jne	LBB0_27
## %bb.12:
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSA_dup_DH                     ; -- Begin function DSA_dup_DH
	.p2align	2
_DSA_dup_DH:                            ; @DSA_dup_DH
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x0
	cbz	x0, LBB0_9
; %bb.1:
	bl	_DH_new
	mov	x19, x0
	cbz	x0, LBB0_18
; %bb.2:
	ldp	x8, x0, [x24, #24]
	cbz	x0, LBB0_10
; %bb.3:
	cbz	x8, LBB0_18
; %bb.4:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_18
; %bb.5:
	bl	_BN_dup
	mov	x20, x0
	ldr	x0, [x24, #24]
	bl	_BN_dup
	mov	x23, x0
	ldr	x0, [x24, #16]
	bl	_BN_dup
	mov	x22, x0
	mov	x21, #0
	cbz	x20, LBB0_16
; %bb.6:
	cbz	x23, LBB0_16
; %bb.7:
	cbz	x22, LBB0_16
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x23
	bl	_DH_set0_pqg
	cbnz	w0, LBB0_12
	b	LBB0_19
LBB0_9:
	mov	x19, #0
	mov	x20, #0
	mov	x22, #0
	mov	x23, #0
	mov	x21, #0
	b	LBB0_21
LBB0_10:
	cbnz	x8, LBB0_18
; %bb.11:
	ldr	x8, [x24, #16]
	cbnz	x8, LBB0_18
LBB0_12:
	ldr	x0, [x24, #8]
	cbz	x0, LBB0_17
; %bb.13:
	bl	_BN_dup
	mov	x21, x0
	cbz	x0, LBB0_23
; %bb.14:
	ldr	x0, [x24]
	cbz	x0, LBB0_24
; %bb.15:
	bl	_BN_dup
	mov	x24, x0
	cbnz	x0, LBB0_25
	b	LBB0_26
LBB0_16:
	mov	x24, x21
	b	LBB0_21
LBB0_17:
	ldr	x8, [x24]
	cbz	x8, LBB0_22
LBB0_18:
	mov	x20, #0
	mov	x22, #0
	mov	x23, #0
LBB0_19:
	mov	x21, #0
LBB0_20:
	mov	x24, #0
LBB0_21:
	mov	x0, x20
	bl	_BN_free
	mov	x0, x23
	bl	_BN_free
	mov	x0, x22
	bl	_BN_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x24
	bl	_BN_free
	mov	x0, x19
	bl	_DH_free
	mov	x19, #0
LBB0_22:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_23:
	mov	x20, #0
	mov	x22, #0
	mov	x23, #0
	b	LBB0_20
LBB0_24:
	mov	x24, #0
LBB0_25:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_DH_set0_key
	cbnz	w0, LBB0_22
LBB0_26:
	mov	x20, #0
	mov	x22, #0
	mov	x23, #0
	b	LBB0_21
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
