	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_decrypt
_try_decrypt:                           ## @try_decrypt
	.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
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%edi, %r14d
	movq	%rcx, %rdi
	callq	_EVP_CIPHER_key_length
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rbx
	xorl	%eax, %eax
	callq	_EVP_md5
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movl	$1, %r9d
	pushq	$0
	pushq	%r12
	callq	_EVP_BytesToKey
	addq	$16, %rsp
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	%rbx, -56(%rbp)
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movq	%r12, %rcx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_EVP_CipherInit_ex
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	24(%rbp), %rdx
	movq	32(%rbp), %rcx
	callq	_EVP_Cipher
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_CTX_free
	leaq	-64(%rbp), %r8
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	__hx509_collector_private_key_add
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi
	movq	-56(%rbp), %rdx
	xorl	%esi, %esi
	callq	_memset
	movq	-64(%rbp), %r14
	jmp	LBB0_10
LBB0_1:
	movl	%r14d, %edi
	callq	_hx509_clear_error_string
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	movq	_HX509_CRYPTO_INTERNAL_ERROR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movl	(%rbx), %ebx
	jmp	LBB0_11
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
LBB0_8:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movl	(%rbx), %ebx
LBB0_10:
	movq	%r14, %rdi
	callq	_free
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_memset
	movq	%r12, %rdi
	callq	_free
LBB0_11:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HX509_CRYPTO_INTERNAL_ERROR,4,2 ## @HX509_CRYPTO_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to do string2key for private key"

L_.str.1:                               ## @.str.1
	.asciz	"Out of memory to decrypt for private key"

	.no_dead_strip	_try_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_decrypt
_try_decrypt:                           ; @try_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x7
	mov	x27, x6
	mov	x28, x5
	mov	x25, x4
	mov	x26, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	mov	x0, x3
	bl	_EVP_CIPHER_key_length
	mov	x19, x0
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	bl	_EVP_md5
	mov	x1, x0
	mov	x0, x26
	mov	x2, x25
	mov	x3, x28
	mov	x4, x27
	mov	w5, #1
	mov	x6, x20
	mov	x7, #0
	bl	_EVP_BytesToKey
	cmp	w0, #0
	b.le	LBB0_6
; %bb.2:
	ldr	x28, [x29, #16]
	mov	x0, x28
	bl	_malloc
	mov	x27, x0
	str	x0, [sp, #16]
	cbz	x0, LBB0_7
; %bb.3:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	str	x28, [sp, #24]
	bl	_EVP_CIPHER_CTX_new
	cbz	x0, LBB0_7
; %bb.4:
	mov	x22, x0
	mov	x1, x26
	mov	x2, #0
	mov	x3, x20
	mov	x4, x25
	mov	w5, #0
	bl	_EVP_CipherInit_ex
	mov	x0, x22
	mov	x1, x27
	mov	x2, x24
	mov	x3, x28
	bl	_EVP_Cipher
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_free
	add	x4, sp, #16
	mov	x0, x21
	mov	x1, x23
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, #0
	mov	x5, #0
	bl	__hx509_collector_private_key_add
	mov	x21, x0
	ldp	x0, x2, [sp, #16]
	mov	w1, #0
	bl	_memset
	ldr	x27, [sp, #16]
	b	LBB0_8
LBB0_5:
	mov	x0, x21
	bl	_hx509_clear_error_string
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x19, _HX509_CRYPTO_INTERNAL_ERROR@GOTPAGE
Lloh4:
	ldr	x19, [x19, _HX509_CRYPTO_INTERNAL_ERROR@GOTPAGEOFF]
	ldr	w2, [x19]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #0
	bl	_hx509_set_error_string
	ldr	w21, [x19]
	b	LBB0_9
LBB0_7:
Lloh7:
	adrp	x22, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x22, [x22, _ENOMEM@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w1, #0
	bl	_hx509_set_error_string
	ldr	w21, [x22]
LBB0_8:
	mov	x0, x27
	bl	_free
	mov	x0, x20
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	mov	x0, x20
	bl	_free
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HX509_CRYPTO_INTERNAL_ERROR,4,2 ; @HX509_CRYPTO_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to do string2key for private key"

l_.str.1:                               ; @.str.1
	.asciz	"Out of memory to decrypt for private key"

	.no_dead_strip	_try_decrypt
.subsections_via_symbols
