	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int_dh_param_copy
_int_dh_param_copy:                     ## @int_dh_param_copy
	.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
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r14
	cmpl	$-1, %edx
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	$0, 28(%r12)
	setne	%bl
LBB0_2:
	leaq	36(%r14), %rdi
	movl	36(%r12), %esi
	callq	_int_dh_bn_cpy
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	leaq	32(%r14), %rdi
	movl	32(%r12), %esi
	callq	_int_dh_bn_cpy
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.5:
	leaq	28(%r14), %rdi
	movl	28(%r12), %esi
	callq	_int_dh_bn_cpy
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	leaq	24(%r14), %rdi
	movl	24(%r12), %esi
	callq	_int_dh_bn_cpy
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movq	16(%r14), %rdi
	callq	_OPENSSL_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.8:
	movq	8(%r12), %rsi
	callq	_OPENSSL_memdup
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	addq	$8, %r14
	movq	8(%r12), %rax
	movq	%rax, (%r14)
	jmp	LBB0_11
LBB0_10:
	movl	(%r12), %eax
	movl	%eax, (%r14)
LBB0_11:
	movl	$1, %r15d
LBB0_12:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_int_dh_param_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int_dh_param_copy
_int_dh_param_copy:                     ; @int_dh_param_copy
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	cmn	w2, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #28]
	cmp	w8, #0
	cset	w21, ne
LBB0_2:
	add	x0, x20, #36
	ldr	w1, [x19, #36]
	bl	_int_dh_bn_cpy
	cbz	w0, LBB0_12
; %bb.3:
	add	x0, x20, #32
	ldr	w1, [x19, #32]
	bl	_int_dh_bn_cpy
	cbz	w0, LBB0_12
; %bb.4:
	cbz	w21, LBB0_10
; %bb.5:
	add	x0, x20, #28
	ldr	w1, [x19, #28]
	bl	_int_dh_bn_cpy
	cbz	w0, LBB0_12
; %bb.6:
	add	x0, x20, #24
	ldr	w1, [x19, #24]
	bl	_int_dh_bn_cpy
	cbz	w0, LBB0_12
; %bb.7:
	ldr	x0, [x20, #16]
	bl	_OPENSSL_free
	mov	x21, x20
	str	xzr, [x21, #8]!
	str	xzr, [x20, #16]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.8:
	ldr	x1, [x19, #8]
	bl	_OPENSSL_memdup
	str	x0, [x20, #16]
	cbz	x0, LBB0_12
; %bb.9:
	ldr	x8, [x19, #8]
	str	x8, [x21]
	b	LBB0_11
LBB0_10:
	ldr	w8, [x19]
	str	w8, [x20]
LBB0_11:
	mov	w0, #1
LBB0_12:
	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
	.no_dead_strip	_int_dh_param_copy
.subsections_via_symbols
