	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsa_pkey_ctrl
_dsa_pkey_ctrl:                         ## @dsa_pkey_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rsi
	addq	%rax, %rsi
	jmpq	*%rsi
LBB0_2:
	movl	$1, %ebx
	testq	%rdx, %rdx
	jne	LBB0_16
## %bb.3:
	leaq	-48(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rcx
	callq	_PKCS7_SIGNER_INFO_get0_algs
	jmp	LBB0_4
LBB0_9:
	movl	$-2, %ebx
	jmp	LBB0_16
LBB0_10:
	movq	_NID_sha256@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	movl	$1, %ebx
	testq	%rdx, %rdx
	jne	LBB0_16
## %bb.12:
	leaq	-48(%rbp), %rax
	leaq	-40(%rbp), %r8
	movq	%rcx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rax, %rcx
	callq	_CMS_SignerInfo_get0_algs
LBB0_4:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:
	callq	_OBJ_obj2nid
	movl	%eax, %r15d
	movq	_NID_undef@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_EVP_PKEY_id
	leaq	-28(%rbp), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_OBJ_find_sigid_by_algs
	testl	%eax, %eax
	je	LBB0_8
## %bb.13:
	movq	-40(%rbp), %r14
	movl	-28(%rbp), %edi
	callq	_OBJ_nid2obj
	movq	_V_ASN1_UNDEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_X509_ALGOR_set0
	jmp	LBB0_16
LBB0_14:
	movq	_CMS_RECIPINFO_NONE@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movl	$1, %ebx
	jmp	LBB0_16
LBB0_8:
	movl	$-1, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_V_ASN1_UNDEF,4,2               ## @V_ASN1_UNDEF
	.comm	_CMS_RECIPINFO_NONE,4,2         ## @CMS_RECIPINFO_NONE
	.comm	_NID_sha256,4,2                 ## @NID_sha256
	.no_dead_strip	_dsa_pkey_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsa_pkey_ctrl
_dsa_pkey_ctrl:                         ; @dsa_pkey_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w9, w1, #128
	cmp	w9, #3
	b.hi	LBB0_4
; %bb.1:
	mov	x8, x3
	mov	x19, x0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	cbnz	x2, LBB0_14
; %bb.3:
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x8
	mov	x1, #0
	bl	_PKCS7_SIGNER_INFO_get0_algs
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_8
	b	LBB0_16
LBB0_4:
	mov	w0, #-2
	b	LBB0_15
LBB0_5:
Lloh2:
	adrp	x9, _NID_sha256@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NID_sha256@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	cbnz	x2, LBB0_14
; %bb.7:
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x8
	mov	x1, #0
	bl	_CMS_SignerInfo_get0_algs
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_16
LBB0_8:
	ldr	x0, [x8]
	cbz	x0, LBB0_16
; %bb.9:
	bl	_OBJ_obj2nid
Lloh4:
	adrp	x8, _NID_undef@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_16
; %bb.10:
	mov	x20, x0
	mov	x0, x19
	bl	_EVP_PKEY_id
	mov	x2, x0
	sub	x0, x29, #20
	mov	x1, x20
	bl	_OBJ_find_sigid_by_algs
	cbz	w0, LBB0_16
; %bb.11:
	ldr	x19, [sp, #8]
	ldur	w0, [x29, #-20]
	bl	_OBJ_nid2obj
	mov	x1, x0
Lloh7:
	adrp	x8, _V_ASN1_UNDEF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V_ASN1_UNDEF@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_X509_ALGOR_set0
	b	LBB0_14
LBB0_12:
Lloh10:
	adrp	x9, _CMS_RECIPINFO_NONE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CMS_RECIPINFO_NONE@GOTPAGEOFF]
LBB0_13:
	ldr	w9, [x9]
	str	w9, [x8]
LBB0_14:
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_16:
	mov	w0, #-1
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_V_ASN1_UNDEF,4,2               ; @V_ASN1_UNDEF
	.comm	_CMS_RECIPINFO_NONE,4,2         ; @CMS_RECIPINFO_NONE
	.comm	_NID_sha256,4,2                 ; @NID_sha256
	.no_dead_strip	_dsa_pkey_ctrl
.subsections_via_symbols
