	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_pem
_check_pem:                             ## @check_pem
	.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, %rbx
	movq	%rdi, %r15
	callq	_strcmp
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_30
## %bb.1:
	movq	_PEM_STRING_EVP_PKEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	movq	_PEM_STRING_PARAMETERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movq	_PEM_STRING_DHXPARAMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	_PEM_STRING_DHPARAMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_13:
	movq	_PEM_STRING_X509_OLD@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	_PEM_STRING_X509@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_15:
	movq	_PEM_STRING_X509_REQ_OLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	_PEM_STRING_X509_REQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_17:
	movq	_PEM_STRING_X509@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movq	_PEM_STRING_X509_TRUSTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_19:
	movq	(%r13), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	movq	_PEM_STRING_X509_TRUSTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_21:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:
	movq	_PEM_STRING_PKCS7@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_23:
	movq	_PEM_STRING_PKCS7_SIGNED@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	movq	_PEM_STRING_PKCS7@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_25:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_27
## %bb.26:
	movq	_PEM_STRING_CMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_27:
	movq	_PEM_STRING_PKCS7@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:
	movq	_PEM_STRING_CMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_30
LBB0_2:
	movq	_PEM_STRING_PKCS8@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
## %bb.3:
	movq	_PEM_STRING_PKCS8INF@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_30
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_pem_check_suffix
	testl	%eax, %eax
	jle	LBB0_29
## %bb.5:
	xorl	%edi, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_EVP_PKEY_asn1_find_str
	testq	%rax, %rax
	je	LBB0_29
## %bb.6:
	cmpq	$0, 8(%rax)
	jne	LBB0_30
LBB0_29:
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_pem_check_suffix
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_30
## %bb.9:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_EVP_PKEY_asn1_find_str
	testq	%rax, %rax
	je	LBB0_30
## %bb.10:
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	setne	%r14b
	movq	-48(%rbp), %rdi
	callq	_ENGINE_finish
LBB0_30:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PEM_STRING_EVP_PKEY,8,3        ## @PEM_STRING_EVP_PKEY
	.comm	_PEM_STRING_PKCS8,8,3           ## @PEM_STRING_PKCS8
	.comm	_PEM_STRING_PKCS8INF,8,3        ## @PEM_STRING_PKCS8INF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PRIVATE KEY"

	.comm	_PEM_STRING_PARAMETERS,8,3      ## @PEM_STRING_PARAMETERS
L_.str.1:                               ## @.str.1
	.asciz	"PARAMETERS"

	.comm	_PEM_STRING_DHXPARAMS,8,3       ## @PEM_STRING_DHXPARAMS
	.comm	_PEM_STRING_DHPARAMS,8,3        ## @PEM_STRING_DHPARAMS
	.comm	_PEM_STRING_X509_OLD,8,3        ## @PEM_STRING_X509_OLD
	.comm	_PEM_STRING_X509,8,3            ## @PEM_STRING_X509
	.comm	_PEM_STRING_X509_REQ_OLD,8,3    ## @PEM_STRING_X509_REQ_OLD
	.comm	_PEM_STRING_X509_REQ,8,3        ## @PEM_STRING_X509_REQ
	.comm	_PEM_STRING_X509_TRUSTED,8,3    ## @PEM_STRING_X509_TRUSTED
	.comm	_PEM_STRING_PKCS7,8,3           ## @PEM_STRING_PKCS7
	.comm	_PEM_STRING_PKCS7_SIGNED,8,3    ## @PEM_STRING_PKCS7_SIGNED
	.comm	_PEM_STRING_CMS,8,3             ## @PEM_STRING_CMS
	.no_dead_strip	_check_pem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_pem
_check_pem:                             ; @check_pem
	.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	x20, x1
	mov	x19, x0
	bl	_strcmp
	cbz	x0, LBB0_26
; %bb.1:
Lloh0:
	adrp	x8, _PEM_STRING_EVP_PKEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PEM_STRING_EVP_PKEY@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.2:
Lloh3:
	adrp	x8, _PEM_STRING_PARAMETERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PEM_STRING_PARAMETERS@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_27
; %bb.3:
Lloh6:
	adrp	x8, _PEM_STRING_DHXPARAMS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PEM_STRING_DHXPARAMS@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _PEM_STRING_DHPARAMS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PEM_STRING_DHPARAMS@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_5:
Lloh12:
	adrp	x22, _PEM_STRING_X509_OLD@GOTPAGE
Lloh13:
	ldr	x22, [x22, _PEM_STRING_X509_OLD@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x19
	bl	_strcmp
Lloh14:
	adrp	x21, _PEM_STRING_X509@GOTPAGE
Lloh15:
	ldr	x21, [x21, _PEM_STRING_X509@GOTPAGEOFF]
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x1, [x21]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_7:
Lloh16:
	adrp	x8, _PEM_STRING_X509_REQ_OLD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PEM_STRING_X509_REQ_OLD@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _PEM_STRING_X509_REQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PEM_STRING_X509_REQ@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_9:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.10:
Lloh22:
	adrp	x8, _PEM_STRING_X509_TRUSTED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PEM_STRING_X509_TRUSTED@GOTPAGEOFF]
Lloh24:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_11:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_13
; %bb.12:
Lloh25:
	adrp	x8, _PEM_STRING_X509_TRUSTED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PEM_STRING_X509_TRUSTED@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_13:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_strcmp
Lloh28:
	adrp	x22, _PEM_STRING_PKCS7@GOTPAGE
Lloh29:
	ldr	x22, [x22, _PEM_STRING_PKCS7@GOTPAGEOFF]
	cbnz	x0, LBB0_15
; %bb.14:
	ldr	x1, [x22]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_15:
Lloh30:
	adrp	x8, _PEM_STRING_PKCS7_SIGNED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PEM_STRING_PKCS7_SIGNED@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_17
; %bb.16:
	ldr	x1, [x22]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_17:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_19
; %bb.18:
Lloh33:
	adrp	x8, _PEM_STRING_CMS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PEM_STRING_CMS@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_26
LBB0_19:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_30
; %bb.20:
Lloh36:
	adrp	x8, _PEM_STRING_CMS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PEM_STRING_CMS@GOTPAGEOFF]
Lloh38:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_30
	b	LBB0_26
LBB0_21:
Lloh39:
	adrp	x8, _PEM_STRING_PKCS8@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PEM_STRING_PKCS8@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_26
; %bb.22:
Lloh42:
	adrp	x8, _PEM_STRING_PKCS8INF@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PEM_STRING_PKCS8INF@GOTPAGEOFF]
Lloh44:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_26
; %bb.23:
Lloh45:
	adrp	x1, l_.str@PAGE
Lloh46:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_pem_check_suffix
	cmp	w0, #1
	b.lt	LBB0_30
; %bb.24:
	mov	x2, x0
	mov	x0, #0
	mov	x1, x19
	bl	_EVP_PKEY_asn1_find_str
	cbz	x0, LBB0_30
; %bb.25:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_30
LBB0_26:
	mov	w19, #1
	b	LBB0_31
LBB0_27:
Lloh47:
	adrp	x1, l_.str.1@PAGE
Lloh48:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_pem_check_suffix
	cmp	w0, #1
	b.lt	LBB0_30
; %bb.28:
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_EVP_PKEY_asn1_find_str
	cbz	x0, LBB0_30
; %bb.29:
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w19, ne
	ldr	x0, [sp, #8]
	bl	_ENGINE_finish
	b	LBB0_31
LBB0_30:
	mov	w19, #0
LBB0_31:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_PEM_STRING_EVP_PKEY,8,3        ; @PEM_STRING_EVP_PKEY
	.comm	_PEM_STRING_PKCS8,8,3           ; @PEM_STRING_PKCS8
	.comm	_PEM_STRING_PKCS8INF,8,3        ; @PEM_STRING_PKCS8INF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PRIVATE KEY"

	.comm	_PEM_STRING_PARAMETERS,8,3      ; @PEM_STRING_PARAMETERS
l_.str.1:                               ; @.str.1
	.asciz	"PARAMETERS"

	.comm	_PEM_STRING_DHXPARAMS,8,3       ; @PEM_STRING_DHXPARAMS
	.comm	_PEM_STRING_DHPARAMS,8,3        ; @PEM_STRING_DHPARAMS
	.comm	_PEM_STRING_X509_OLD,8,3        ; @PEM_STRING_X509_OLD
	.comm	_PEM_STRING_X509,8,3            ; @PEM_STRING_X509
	.comm	_PEM_STRING_X509_REQ_OLD,8,3    ; @PEM_STRING_X509_REQ_OLD
	.comm	_PEM_STRING_X509_REQ,8,3        ; @PEM_STRING_X509_REQ
	.comm	_PEM_STRING_X509_TRUSTED,8,3    ; @PEM_STRING_X509_TRUSTED
	.comm	_PEM_STRING_PKCS7,8,3           ; @PEM_STRING_PKCS7
	.comm	_PEM_STRING_PKCS7_SIGNED,8,3    ; @PEM_STRING_PKCS7_SIGNED
	.comm	_PEM_STRING_CMS,8,3             ; @PEM_STRING_CMS
	.no_dead_strip	_check_pem
.subsections_via_symbols
