	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b2i_dss
_b2i_dss:                               ## @b2i_dss
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -64(%rbp)
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_DSA_new
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	movq	%rax, %r13
	testq	%r14, %r14
	je	LBB0_16
## %bb.1:
	testq	%r13, %r13
	je	LBB0_16
## %bb.2:
	addl	$7, %ebx
	shrl	$3, %ebx
	leaq	-56(%rbp), %rdi
	leaq	-80(%rbp), %rdx
	movl	%ebx, %esi
	callq	_read_lebn
	testl	%eax, %eax
	je	LBB0_15
## %bb.3:
	leaq	-56(%rbp), %rdi
	leaq	-88(%rbp), %rdx
	movl	$20, %esi
	callq	_read_lebn
	testl	%eax, %eax
	je	LBB0_15
## %bb.4:
	leaq	-56(%rbp), %rdi
	leaq	-72(%rbp), %rdx
	movl	%ebx, %esi
	callq	_read_lebn
	testl	%eax, %eax
	je	LBB0_15
## %bb.5:
	leaq	-56(%rbp), %rdi
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.6:
	leaq	-64(%rbp), %rdx
	movl	%ebx, %esi
	callq	_read_lebn
	testl	%eax, %eax
	je	LBB0_15
LBB0_12:
	movq	-80(%rbp), %rsi
	movq	-88(%rbp), %rdx
	movq	-72(%rbp), %rcx
	movq	%r14, %rdi
	callq	_DSA_set0_pqg
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movq	$0, -72(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	-64(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_DSA_set0_key
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movq	$0, -48(%rbp)
	movq	$0, -64(%rbp)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_EVP_PKEY_set1_DSA
	testl	%eax, %eax
	je	LBB0_15
## %bb.18:
	movq	%r14, %rdi
	callq	_DSA_free
	movq	-56(%rbp), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_17
LBB0_7:
	leaq	-48(%rbp), %rdx
	movl	$20, %esi
	callq	_read_lebn
	testl	%eax, %eax
	je	LBB0_15
## %bb.8:
	movq	-48(%rbp), %rdi
	movq	_BN_FLG_CONSTTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BN_set_flags
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_BN_CTX_new
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	%rax, %r12
	movq	-72(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	-80(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%rax, %r8
	callq	_BN_mod_exp
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	movq	%r12, %rdi
	callq	_BN_CTX_free
	jmp	LBB0_12
LBB0_15:
	xorl	%r12d, %r12d
LBB0_16:
	movq	_PEM_F_B2I_DSS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PEMerr
	movq	%r14, %rdi
	callq	_DSA_free
	movq	-80(%rbp), %rdi
	callq	_BN_free
	movq	-88(%rbp), %rdi
	callq	_BN_free
	movq	-72(%rbp), %rdi
	callq	_BN_free
	movq	-64(%rbp), %rdi
	callq	_BN_free
	movq	-48(%rbp), %rdi
	callq	_BN_free
	movq	%r13, %rdi
	callq	_EVP_PKEY_free
	movq	%r12, %rdi
	callq	_BN_CTX_free
	xorl	%r13d, %r13d
LBB0_17:
	movq	%r13, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_FLG_CONSTTIME,4,2           ## @BN_FLG_CONSTTIME
	.comm	_PEM_F_B2I_DSS,4,2              ## @PEM_F_B2I_DSS
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_b2i_dss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b2i_dss
_b2i_dss:                               ; @b2i_dss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x2
	mov	x24, x1
	mov	x21, x0
	ldr	x8, [x0]
	stp	xzr, x8, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	stp	xzr, xzr, [sp]
	bl	_DSA_new
	mov	x20, x0
	bl	_EVP_PKEY_new
	mov	x19, x0
	mov	x22, #0
	cbz	x20, LBB0_17
; %bb.1:
	cbz	x19, LBB0_17
; %bb.2:
	add	w8, w24, #7
	lsr	w22, w8, #3
	add	x0, sp, #40
	add	x2, sp, #32
	mov	x1, x22
	bl	_read_lebn
	cbz	w0, LBB0_16
; %bb.3:
	add	x0, sp, #40
	add	x2, sp, #24
	mov	w1, #20
	bl	_read_lebn
	cbz	w0, LBB0_16
; %bb.4:
	add	x0, sp, #40
	add	x2, sp, #16
	mov	x1, x22
	bl	_read_lebn
	cbz	w0, LBB0_16
; %bb.5:
	add	x0, sp, #40
	cbz	w23, LBB0_11
; %bb.6:
	mov	x2, sp
	mov	x1, x22
	bl	_read_lebn
	cbz	w0, LBB0_16
LBB0_7:
	ldp	x2, x1, [sp, #24]
	ldr	x3, [sp, #16]
	mov	x0, x20
	bl	_DSA_set0_pqg
	cbz	w0, LBB0_16
; %bb.8:
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #32]
	ldp	x1, x2, [sp]
	mov	x0, x20
	bl	_DSA_set0_key
	cbz	w0, LBB0_16
; %bb.9:
	stp	xzr, xzr, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_EVP_PKEY_set1_DSA
	cbz	w0, LBB0_16
; %bb.10:
	mov	x0, x20
	bl	_DSA_free
	ldr	x8, [sp, #40]
	str	x8, [x21]
	b	LBB0_18
LBB0_11:
	add	x2, sp, #8
	mov	w1, #20
	bl	_read_lebn
	cbz	w0, LBB0_16
; %bb.12:
	ldr	x0, [sp, #8]
Lloh0:
	adrp	x8, _BN_FLG_CONSTTIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_FLG_CONSTTIME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_BN_set_flags
	bl	_BN_new
	str	x0, [sp]
	cbz	x0, LBB0_16
; %bb.13:
	mov	x23, x0
	bl	_BN_CTX_new
	mov	x22, x0
	cbz	x0, LBB0_17
; %bb.14:
	ldp	x2, x1, [sp, #8]
	ldr	x3, [sp, #32]
	mov	x0, x23
	mov	x4, x22
	bl	_BN_mod_exp
	cbz	w0, LBB0_17
; %bb.15:
	mov	x0, x22
	bl	_BN_CTX_free
	b	LBB0_7
LBB0_16:
	mov	x22, #0
LBB0_17:
Lloh3:
	adrp	x8, _PEM_F_B2I_DSS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PEM_F_B2I_DSS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_PEMerr
	mov	x0, x20
	bl	_DSA_free
	ldr	x0, [sp, #32]
	bl	_BN_free
	ldr	x0, [sp, #24]
	bl	_BN_free
	ldr	x0, [sp, #16]
	bl	_BN_free
	ldr	x0, [sp]
	bl	_BN_free
	ldr	x0, [sp, #8]
	bl	_BN_free
	mov	x0, x19
	bl	_EVP_PKEY_free
	mov	x0, x22
	bl	_BN_CTX_free
	mov	x19, #0
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_FLG_CONSTTIME,4,2           ; @BN_FLG_CONSTTIME
	.comm	_PEM_F_B2I_DSS,4,2              ; @PEM_F_B2I_DSS
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_b2i_dss
.subsections_via_symbols
