	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_dsa
_write_dsa:                             ## @write_dsa
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	$0, -40(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_DSA_get0_pqg
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_DSA_get0_key
	movq	-40(%rbp), %rdi
	callq	_BN_num_bytes
	movl	%eax, %r15d
	movq	-40(%rbp), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_write_lebn
	movq	-72(%rbp), %rsi
	movq	%r12, %rdi
	movl	$20, %edx
	callq	_write_lebn
	movq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_write_lebn
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	jmp	LBB0_3
LBB0_2:
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$20, %edx
LBB0_3:
	callq	_write_lebn
	movq	(%r12), %rdi
	movl	$255, %esi
	movl	$24, %edx
	callq	_memset
	addq	$24, (%r12)
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_write_dsa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_dsa
_write_dsa:                             ; @write_dsa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x20
	bl	_DSA_get0_pqg
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x20
	bl	_DSA_get0_key
	ldr	x0, [sp, #40]
	bl	_BN_num_bytes
	mov	x20, x0
	ldr	x1, [sp, #40]
	mov	x0, x19
	mov	x2, x20
	bl	_write_lebn
	ldr	x1, [sp, #32]
	mov	x0, x19
	mov	w2, #20
	bl	_write_lebn
	ldr	x1, [sp, #24]
	mov	x0, x19
	mov	x2, x20
	bl	_write_lebn
	cbz	w21, LBB0_2
; %bb.1:
	ldr	x1, [sp, #16]
	mov	x0, x19
	mov	x2, x20
	b	LBB0_3
LBB0_2:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	w2, #20
LBB0_3:
	bl	_write_lebn
	ldr	x0, [x19]
	mov	w1, #255
	mov	w2, #24
	bl	_memset
	ldr	x8, [x19]
	add	x8, x8, #24
	str	x8, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_write_dsa
.subsections_via_symbols
