	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cert_and_key
_get_cert_and_key:                      ## @get_cert_and_key
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_certstr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_new_file
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_X509
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_BIO_free
	movq	_privkeystr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_new_file
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	movl	$0, %ebx
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_PrivateKey
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_BIO_free
	movq	%r12, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	%r12, (%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movl	$1, %r13d
	jmp	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	callq	_X509_free
	movq	%rbx, %rdi
	callq	_EVP_PKEY_free
	jmp	LBB0_7
LBB0_1:
	xorl	%r13d, %r13d
LBB0_7:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_certstr,4,2                    ## @certstr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_privkeystr,4,2                 ## @privkeystr
	.no_dead_strip	_get_cert_and_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cert_and_key
_get_cert_and_key:                      ; @get_cert_and_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _certstr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _certstr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_new_file
	mov	x22, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x22
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_X509
	mov	x21, x0
	mov	x0, x22
	bl	_BIO_free
Lloh5:
	adrp	x8, _privkeystr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _privkeystr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_new_file
	mov	x23, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x23
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_PrivateKey
	mov	x22, x0
	mov	x0, x23
	bl	_BIO_free
	mov	x0, x21
	bl	_TEST_ptr
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_TEST_ptr
	cbz	w0, LBB0_6
; %bb.4:
	str	x21, [x20]
	str	x22, [x19]
	mov	w0, #1
	b	LBB0_7
LBB0_5:
	mov	x22, #0
LBB0_6:
	mov	x0, x21
	bl	_X509_free
	mov	x0, x22
	bl	_EVP_PKEY_free
	mov	w0, #0
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_certstr,4,2                    ; @certstr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_privkeystr,4,2                 ; @privkeystr
	.no_dead_strip	_get_cert_and_key
.subsections_via_symbols
