	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_decode_X509Certificate
_try_decode_X509Certificate:            ## @try_decode_X509Certificate
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%rcx, %r15
	movq	%rdx, -40(%rbp)
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	_PEM_STRING_X509_TRUSTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	_PEM_STRING_X509_OLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_PEM_STRING_X509@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
LBB0_4:
	movl	$1, (%r14)
LBB0_5:
	leaq	-40(%rbp), %rsi
	xorl	%edi, %edi
	movq	%r15, %rdx
	callq	_d2i_X509_AUX
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	xorl	%r12d, %r12d
	leaq	-40(%rbp), %rsi
	xorl	%edi, %edi
	movq	%r15, %rdx
	callq	_d2i_X509
	jmp	LBB0_7
LBB0_12:
	movl	$1, (%r14)
	xorl	%r12d, %r12d
	leaq	-40(%rbp), %rsi
	xorl	%edi, %edi
	movq	%r15, %rdx
	callq	_d2i_X509_AUX
LBB0_7:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	movl	$1, (%r14)
	movq	%rbx, %rdi
	callq	_OSSL_STORE_INFO_new_CERT
	movq	%rbx, %r12
	testq	%rax, %rax
	jne	LBB0_11
LBB0_9:
	movq	%r12, %rdi
	callq	_X509_free
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PEM_STRING_X509_TRUSTED,4,2    ## @PEM_STRING_X509_TRUSTED
	.comm	_PEM_STRING_X509_OLD,4,2        ## @PEM_STRING_X509_OLD
	.comm	_PEM_STRING_X509,4,2            ## @PEM_STRING_X509
	.no_dead_strip	_try_decode_X509Certificate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_decode_X509Certificate
_try_decode_X509Certificate:            ; @try_decode_X509Certificate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x5
	mov	x20, x3
	str	x2, [sp, #8]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _PEM_STRING_X509_TRUSTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PEM_STRING_X509_TRUSTED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _PEM_STRING_X509_OLD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PEM_STRING_X509_OLD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _PEM_STRING_X509@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PEM_STRING_X509@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_11
LBB0_4:
	mov	w8, #1
	str	w8, [x19]
	add	x1, sp, #8
	mov	x0, #0
	b	LBB0_6
LBB0_5:
	add	x1, sp, #8
LBB0_6:
	mov	x2, x20
	bl	_d2i_X509_AUX
	mov	x21, x0
	cbnz	x0, LBB0_9
; %bb.7:
	add	x1, sp, #8
	mov	x0, #0
	mov	x2, x20
	bl	_d2i_X509
	mov	x21, x0
	cbnz	x0, LBB0_9
	b	LBB0_10
LBB0_8:
	mov	w8, #1
	str	w8, [x19]
	add	x1, sp, #8
	mov	x2, x20
	bl	_d2i_X509_AUX
	mov	x21, x0
	cbz	x0, LBB0_10
LBB0_9:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x21
	bl	_OSSL_STORE_INFO_new_CERT
	cbnz	x0, LBB0_12
LBB0_10:
	mov	x0, x21
	bl	_X509_free
LBB0_11:
	mov	x0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PEM_STRING_X509_TRUSTED,4,2    ; @PEM_STRING_X509_TRUSTED
	.comm	_PEM_STRING_X509_OLD,4,2        ; @PEM_STRING_X509_OLD
	.comm	_PEM_STRING_X509,4,2            ; @PEM_STRING_X509
	.no_dead_strip	_try_decode_X509Certificate
.subsections_via_symbols
