	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsa_pub_decode
_dsa_pub_decode:                        ## @dsa_pub_decode
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r8
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	xorl	%edi, %edi
	callq	_X509_PUBKEY_get0_param
	testl	%eax, %eax
	je	LBB0_17
## %bb.1:
	movq	-56(%rbp), %rcx
	leaq	-44(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	xorl	%edi, %edi
	callq	_X509_ALGOR_get0
	movl	-44(%rbp), %eax
	movq	_V_ASN1_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.2:
	movq	-64(%rbp), %rax
	movq	(%rax), %rcx
	movq	%rcx, -72(%rbp)
	movl	8(%rax), %edx
	xorl	%r12d, %r12d
	leaq	-72(%rbp), %rsi
	xorl	%edi, %edi
	callq	_d2i_DSAparams
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_DSA_R_DECODE_ERROR@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_4:
	movq	_V_ASN1_NULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.5:
	movq	_V_ASN1_UNDEF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:
	xorl	%r15d, %r15d
	movq	_DSA_R_PARAMETER_ENCODING_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_7:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_DSA_new
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_14
LBB0_8:
	movl	-48(%rbp), %edx
	xorl	%r15d, %r15d
	leaq	-80(%rbp), %rsi
	xorl	%edi, %edi
	callq	_d2i_ASN1_INTEGER
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_ASN1_INTEGER_to_BN
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	callq	_ASN1_INTEGER_free
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_EVP_PKEY_assign_DSA
	movl	$1, %ebx
	jmp	LBB0_17
LBB0_11:
	movq	_DSA_R_DECODE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_DSA_R_BN_DECODE_ERROR@GOTPCREL(%rip), %rax
	movq	%rbx, %r15
LBB0_13:
	movq	%r13, %r12
	jmp	LBB0_16
LBB0_14:
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%r12d, %r12d
LBB0_16:
	movq	_DSA_F_DSA_PUB_DECODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_DSAerr
	movq	%r15, %rdi
	callq	_ASN1_INTEGER_free
	movq	%r12, %rdi
	callq	_DSA_free
	xorl	%ebx, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_SEQUENCE,4,2            ## @V_ASN1_SEQUENCE
	.comm	_DSA_F_DSA_PUB_DECODE,4,2       ## @DSA_F_DSA_PUB_DECODE
	.comm	_DSA_R_DECODE_ERROR,4,2         ## @DSA_R_DECODE_ERROR
	.comm	_V_ASN1_NULL,4,2                ## @V_ASN1_NULL
	.comm	_V_ASN1_UNDEF,4,2               ## @V_ASN1_UNDEF
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_DSA_R_PARAMETER_ENCODING_ERROR,4,2 ## @DSA_R_PARAMETER_ENCODING_ERROR
	.comm	_DSA_R_BN_DECODE_ERROR,4,2      ## @DSA_R_BN_DECODE_ERROR
	.no_dead_strip	_dsa_pub_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsa_pub_decode
_dsa_pub_decode:                        ; @dsa_pub_decode
	.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	x4, x1
	mov	x19, x0
	add	x1, sp, #40
	add	x2, sp, #28
	add	x3, sp, #8
	mov	x0, #0
	bl	_X509_PUBKEY_get0_param
	cbz	w0, LBB0_14
; %bb.1:
	ldr	x3, [sp, #8]
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, #0
	bl	_X509_ALGOR_get0
	ldr	w8, [sp, #24]
Lloh0:
	adrp	x9, _V_ASN1_SEQUENCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V_ASN1_SEQUENCE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [sp, #16]
	ldr	x9, [x8]
	str	x9, [sp, #32]
	ldr	w2, [x8, #8]
	add	x1, sp, #32
	mov	x0, #0
	bl	_d2i_DSAparams
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x21, #0
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x9, _V_ASN1_NULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V_ASN1_NULL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _V_ASN1_UNDEF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _V_ASN1_UNDEF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_10
; %bb.5:
	bl	_DSA_new
	mov	x20, x0
	cbz	x0, LBB0_12
LBB0_6:
	ldr	w2, [sp, #28]
	add	x1, sp, #40
	mov	x0, #0
	bl	_d2i_ASN1_INTEGER
	mov	x21, x0
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x21
	mov	x1, #0
	bl	_ASN1_INTEGER_to_BN
	str	x0, [x20]
	cbz	x0, LBB0_11
; %bb.8:
	mov	x0, x21
	bl	_ASN1_INTEGER_free
	mov	x0, x19
	mov	x1, x20
	bl	_EVP_PKEY_assign_DSA
	mov	w0, #1
	b	LBB0_14
LBB0_9:
Lloh9:
	adrp	x8, _DSA_R_DECODE_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DSA_R_DECODE_ERROR@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	mov	x21, #0
	mov	x20, #0
Lloh11:
	adrp	x8, _DSA_R_PARAMETER_ENCODING_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DSA_R_PARAMETER_ENCODING_ERROR@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh13:
	adrp	x8, _DSA_R_BN_DECODE_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DSA_R_BN_DECODE_ERROR@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	mov	x21, #0
Lloh15:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_13:
Lloh17:
	adrp	x9, _DSA_F_DSA_PUB_DECODE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DSA_F_DSA_PUB_DECODE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_DSAerr
	mov	x0, x21
	bl	_ASN1_INTEGER_free
	mov	x0, x20
	bl	_DSA_free
	mov	w0, #0
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_SEQUENCE,4,2            ; @V_ASN1_SEQUENCE
	.comm	_DSA_F_DSA_PUB_DECODE,4,2       ; @DSA_F_DSA_PUB_DECODE
	.comm	_DSA_R_DECODE_ERROR,4,2         ; @DSA_R_DECODE_ERROR
	.comm	_V_ASN1_NULL,4,2                ; @V_ASN1_NULL
	.comm	_V_ASN1_UNDEF,4,2               ; @V_ASN1_UNDEF
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_DSA_R_PARAMETER_ENCODING_ERROR,4,2 ; @DSA_R_PARAMETER_ENCODING_ERROR
	.comm	_DSA_R_BN_DECODE_ERROR,4,2      ; @DSA_R_BN_DECODE_ERROR
	.no_dead_strip	_dsa_pub_decode
.subsections_via_symbols
