	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_dsa_ctrl
_pkey_dsa_ctrl:                         ## @pkey_dsa_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$8, %esi
	ja	LBB0_3
## %bb.1:
	movq	%rcx, %rbx
	movq	(%rdi), %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	movl	$1, %eax
	jmpq	*%rcx
LBB0_2:
	movq	_DSA_F_PKEY_DSA_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DSAerr
LBB0_3:
	movl	$-2, %eax
	jmp	LBB0_27
LBB0_4:
	movq	8(%r14), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_26
LBB0_5:
	movl	%edx, %ecx
	roll	$27, %ecx
	movl	$-2, %eax
	cmpl	$8, %ecx
	ja	LBB0_27
## %bb.6:
	movl	$417, %esi                      ## imm = 0x1A1
	btl	%ecx, %esi
	jae	LBB0_27
## %bb.7:
	movl	%edx, 4(%r14)
	jmp	LBB0_26
LBB0_8:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha224@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha256@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
LBB0_11:
	movq	%rbx, 16(%r14)
	jmp	LBB0_26
LBB0_12:
	movl	$-2, %eax
	cmpl	$256, %edx                      ## imm = 0x100
	jl	LBB0_27
## %bb.13:
	movl	%edx, (%r14)
	jmp	LBB0_26
LBB0_14:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.15:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_dsa@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.16:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_dsaWithSHA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.17:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha224@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.18:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha256@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.19:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha384@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.20:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha512@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.21:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha3_224@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.22:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha3_256@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.23:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha3_384@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	callq	_EVP_MD_type
	movq	_NID_sha3_512@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
LBB0_25:
	movq	%rbx, 8(%r14)
LBB0_26:
	movl	$1, %eax
LBB0_27:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_28:
	movq	_DSA_F_PKEY_DSA_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DSA_R_INVALID_DIGEST_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DSAerr
	xorl	%eax, %eax
	jmp	LBB0_27
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_27
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_27
	.long	L0_0_set_27
	.end_data_region
                                        ## -- End function
	.comm	_NID_sha1,4,2                   ## @NID_sha1
	.comm	_NID_sha224,4,2                 ## @NID_sha224
	.comm	_NID_sha256,4,2                 ## @NID_sha256
	.comm	_DSA_F_PKEY_DSA_CTRL,4,2        ## @DSA_F_PKEY_DSA_CTRL
	.comm	_DSA_R_INVALID_DIGEST_TYPE,4,2  ## @DSA_R_INVALID_DIGEST_TYPE
	.comm	_NID_dsa,4,2                    ## @NID_dsa
	.comm	_NID_dsaWithSHA,4,2             ## @NID_dsaWithSHA
	.comm	_NID_sha384,4,2                 ## @NID_sha384
	.comm	_NID_sha512,4,2                 ## @NID_sha512
	.comm	_NID_sha3_224,4,2               ## @NID_sha3_224
	.comm	_NID_sha3_256,4,2               ## @NID_sha3_256
	.comm	_NID_sha3_384,4,2               ## @NID_sha3_384
	.comm	_NID_sha3_512,4,2               ## @NID_sha3_512
	.comm	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,2 ## @EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
	.no_dead_strip	_pkey_dsa_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_dsa_ctrl
_pkey_dsa_ctrl:                         ; @pkey_dsa_ctrl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w8, w1, #128
	cmp	w8, #8
	b.hi	LBB0_12
; %bb.1:
	mov	x19, x3
	ldr	x20, [x0]
	mov	w0, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _DSA_F_PKEY_DSA_CTRL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DSA_F_PKEY_DSA_CTRL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_DSAerr
	b	LBB0_12
LBB0_3:
	ldr	x8, [x20, #8]
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_27
LBB0_4:
	ror	w8, w2, #5
	mov	w0, #-2
	cmp	w8, #8
	b.hi	LBB0_27
; %bb.5:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #417
	tst	w8, w9
	b.eq	LBB0_27
; %bb.6:
	str	w2, [x20, #4]
	mov	w0, #1
	b	LBB0_27
LBB0_7:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh8:
	adrp	x8, _NID_sha1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NID_sha1@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh11:
	adrp	x8, _NID_sha224@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NID_sha224@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh14:
	adrp	x8, _NID_sha256@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NID_sha256@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_26
LBB0_10:
	str	x19, [x20, #16]
	mov	w0, #1
	b	LBB0_27
LBB0_11:
	cmp	w2, #256
	b.ge	LBB0_25
LBB0_12:
	mov	w0, #-2
	b	LBB0_27
LBB0_13:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh17:
	adrp	x8, _NID_sha1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NID_sha1@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.14:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh20:
	adrp	x8, _NID_dsa@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NID_dsa@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.15:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh23:
	adrp	x8, _NID_dsaWithSHA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _NID_dsaWithSHA@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.16:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh26:
	adrp	x8, _NID_sha224@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NID_sha224@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.17:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh29:
	adrp	x8, _NID_sha256@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NID_sha256@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.18:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh32:
	adrp	x8, _NID_sha384@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NID_sha384@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.19:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh35:
	adrp	x8, _NID_sha512@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NID_sha512@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.20:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh38:
	adrp	x8, _NID_sha3_224@GOTPAGE
Lloh39:
	ldr	x8, [x8, _NID_sha3_224@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.21:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh41:
	adrp	x8, _NID_sha3_256@GOTPAGE
Lloh42:
	ldr	x8, [x8, _NID_sha3_256@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.22:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh44:
	adrp	x8, _NID_sha3_384@GOTPAGE
Lloh45:
	ldr	x8, [x8, _NID_sha3_384@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_EVP_MD_type
Lloh47:
	adrp	x8, _NID_sha3_512@GOTPAGE
Lloh48:
	ldr	x8, [x8, _NID_sha3_512@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_26
LBB0_24:
	str	x19, [x20, #8]
	mov	w0, #1
	b	LBB0_27
LBB0_25:
	str	w2, [x20]
	mov	w0, #1
	b	LBB0_27
LBB0_26:
Lloh50:
	adrp	x8, _DSA_F_PKEY_DSA_CTRL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _DSA_F_PKEY_DSA_CTRL@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x8, _DSA_R_INVALID_DIGEST_TYPE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _DSA_R_INVALID_DIGEST_TYPE@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	bl	_DSAerr
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_27-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_27-LBB0_2)>>2
	.byte	(LBB0_27-LBB0_2)>>2
                                        ; -- End function
	.comm	_NID_sha1,4,2                   ; @NID_sha1
	.comm	_NID_sha224,4,2                 ; @NID_sha224
	.comm	_NID_sha256,4,2                 ; @NID_sha256
	.comm	_DSA_F_PKEY_DSA_CTRL,4,2        ; @DSA_F_PKEY_DSA_CTRL
	.comm	_DSA_R_INVALID_DIGEST_TYPE,4,2  ; @DSA_R_INVALID_DIGEST_TYPE
	.comm	_NID_dsa,4,2                    ; @NID_dsa
	.comm	_NID_dsaWithSHA,4,2             ; @NID_dsaWithSHA
	.comm	_NID_sha384,4,2                 ; @NID_sha384
	.comm	_NID_sha512,4,2                 ; @NID_sha512
	.comm	_NID_sha3_224,4,2               ; @NID_sha3_224
	.comm	_NID_sha3_256,4,2               ; @NID_sha3_256
	.comm	_NID_sha3_384,4,2               ; @NID_sha3_384
	.comm	_NID_sha3_512,4,2               ; @NID_sha3_512
	.comm	_EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE,4,2 ; @EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
	.no_dead_strip	_pkey_dsa_ctrl
.subsections_via_symbols
