	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PEM_get_EVP_CIPHER_INFO        ## -- Begin function PEM_get_EVP_CIPHER_INFO
	.p2align	4, 0x90
_PEM_get_EVP_CIPHER_INFO:               ## @PEM_get_EVP_CIPHER_INFO
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, 8(%rsi)
	movl	(%rsi), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, %r14d
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.1:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_24
## %bb.2:
	cmpb	$10, %al
	je	LBB0_24
## %bb.3:
	leaq	_PEM_get_EVP_CIPHER_INFO.ProcType(%rip), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_NOT_PROC_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PEMerr
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_5:
	leaq	10(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strspn
	xorl	%r14d, %r14d
	cmpb	$52, 10(%rbx,%rax)
	jne	LBB0_24
## %bb.6:
	addq	%rax, %rbx
	addq	$10, %rbx
	cmpb	$44, 1(%rbx)
	jne	LBB0_24
## %bb.7:
	incq	%rbx
	leaq	1(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strspn
	addq	%rax, %rbx
	incq	%rbx
	leaq	_PEM_get_EVP_CIPHER_INFO.ENCRYPTED(%rip), %rsi
	movq	%rbx, %rdi
	movl	$9, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	movq	_PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_NOT_ENCRYPTED@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	callq	_PEMerr
LBB0_24:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	addq	$9, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
	cmpb	$10, (%rbx,%rax)
	jne	LBB0_12
## %bb.13:
	addq	%rax, %rbx
	incq	%rbx
	leaq	_PEM_get_EVP_CIPHER_INFO.DEKInfo(%rip), %rsi
	movq	%rbx, %rdi
	movl	$9, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_NOT_DEK_INFO@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	movq	_PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_SHORT_HEADER@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_15:
	leaq	9(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strspn
	addq	%rax, %rbx
	addq	$9, %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcspn
	movslq	%eax, %r12
	leaq	(%rbx,%r12), %r13
	movb	(%r12,%rbx), %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movb	$0, (%r12,%rbx)
	movq	%rbx, %rdi
	callq	_EVP_get_cipherbyname
	movq	%rax, 8(%r15)
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, (%r12,%rbx)
	movq	%rax, %r12
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strspn
	movq	%rax, %rbx
	addq	%r13, %rbx
	movq	%rbx, -56(%rbp)
	testq	%r12, %r12
	je	LBB0_16
## %bb.17:
	movq	%r12, %rdi
	callq	_EVP_CIPHER_iv_length
	testl	%eax, %eax
	jle	LBB0_20
## %bb.18:
	leaq	1(%rbx), %rax
	movq	%rax, -56(%rbp)
	cmpb	$44, (%rbx)
	je	LBB0_23
## %bb.19:
	movq	_PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_MISSING_DEK_IV@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_16:
	movq	_PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_UNSUPPORTED_ENCRYPTION@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_20:
	jne	LBB0_23
## %bb.21:
	cmpb	$44, (%rbx)
	jne	LBB0_23
## %bb.22:
	movq	_PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PEM_R_UNEXPECTED_DEK_IV@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_23:
	movl	(%r15), %ebx
	movq	%r12, %rdi
	callq	_EVP_CIPHER_iv_length
	leaq	-56(%rbp), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_load_iv
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_PEM_get_EVP_CIPHER_INFO.ProcType:      ## @PEM_get_EVP_CIPHER_INFO.ProcType
	.asciz	"Proc-Type:"

_PEM_get_EVP_CIPHER_INFO.ENCRYPTED:     ## @PEM_get_EVP_CIPHER_INFO.ENCRYPTED
	.asciz	"ENCRYPTED"

_PEM_get_EVP_CIPHER_INFO.DEKInfo:       ## @PEM_get_EVP_CIPHER_INFO.DEKInfo
	.asciz	"DEK-Info:"

	.comm	_PEM_F_PEM_GET_EVP_CIPHER_INFO,4,2 ## @PEM_F_PEM_GET_EVP_CIPHER_INFO
	.comm	_PEM_R_NOT_PROC_TYPE,4,2        ## @PEM_R_NOT_PROC_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" \t"

L_.str.1:                               ## @.str.1
	.asciz	" \t\r\n"

	.comm	_PEM_R_NOT_ENCRYPTED,4,2        ## @PEM_R_NOT_ENCRYPTED
L_.str.2:                               ## @.str.2
	.asciz	" \t\r"

	.comm	_PEM_R_SHORT_HEADER,4,2         ## @PEM_R_SHORT_HEADER
	.comm	_PEM_R_NOT_DEK_INFO,4,2         ## @PEM_R_NOT_DEK_INFO
L_.str.3:                               ## @.str.3
	.asciz	" \t,"

	.comm	_PEM_R_UNSUPPORTED_ENCRYPTION,4,2 ## @PEM_R_UNSUPPORTED_ENCRYPTION
	.comm	_PEM_R_MISSING_DEK_IV,4,2       ## @PEM_R_MISSING_DEK_IV
	.comm	_PEM_R_UNEXPECTED_DEK_IV,4,2    ## @PEM_R_UNEXPECTED_DEK_IV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PEM_get_EVP_CIPHER_INFO        ; -- Begin function PEM_get_EVP_CIPHER_INFO
	.p2align	2
_PEM_get_EVP_CIPHER_INFO:               ; @PEM_get_EVP_CIPHER_INFO
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	xzr, [x1, #8]
	ldr	w0, [x1]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	cbz	x20, LBB0_2
; %bb.1:
	ldrb	w8, [x20]
	cmp	w8, #0
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_11
LBB0_3:
Lloh0:
	adrp	x1, _PEM_get_EVP_CIPHER_INFO.ProcType@PAGE
Lloh1:
	add	x1, x1, _PEM_get_EVP_CIPHER_INFO.ProcType@PAGEOFF
	mov	x0, x20
	mov	w2, #10
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _PEM_R_NOT_PROC_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PEM_R_NOT_PROC_TYPE@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	bl	_PEMerr
	b	LBB0_10
LBB0_6:
	add	x20, x20, #10
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strspn
	add	x8, x20, x0
	ldrb	w9, [x8]
	cmp	w9, #52
	b.ne	LBB0_10
; %bb.7:
	ldrb	w9, [x8, #1]!
	cmp	w9, #44
	b.ne	LBB0_10
; %bb.8:
	add	x20, x8, #1
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strspn
	add	x20, x20, x0
Lloh11:
	adrp	x1, _PEM_get_EVP_CIPHER_INFO.ENCRYPTED@PAGE
Lloh12:
	add	x1, x1, _PEM_get_EVP_CIPHER_INFO.ENCRYPTED@PAGEOFF
	mov	x0, x20
	mov	w2, #9
	bl	_strncmp
	cbz	x0, LBB0_12
LBB0_9:
Lloh13:
	adrp	x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _PEM_R_NOT_ENCRYPTED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PEM_R_NOT_ENCRYPTED@GOTPAGEOFF]
	b	LBB0_5
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	add	x20, x20, #9
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strspn
	cbz	x0, LBB0_9
; %bb.13:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strspn
	add	x20, x20, x0
	ldrb	w8, [x20], #1
	cmp	w8, #10
	b.ne	LBB0_16
; %bb.14:
Lloh22:
	adrp	x1, _PEM_get_EVP_CIPHER_INFO.DEKInfo@PAGE
Lloh23:
	add	x1, x1, _PEM_get_EVP_CIPHER_INFO.DEKInfo@PAGEOFF
	mov	x0, x20
	mov	w2, #9
	bl	_strncmp
	cbz	x0, LBB0_17
; %bb.15:
Lloh24:
	adrp	x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _PEM_R_NOT_DEK_INFO@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PEM_R_NOT_DEK_INFO@GOTPAGEOFF]
	b	LBB0_5
LBB0_16:
Lloh29:
	adrp	x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x8, _PEM_R_SHORT_HEADER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PEM_R_SHORT_HEADER@GOTPAGEOFF]
	b	LBB0_5
LBB0_17:
	add	x20, x20, #9
Lloh34:
	adrp	x21, l_.str@PAGE
Lloh35:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_strspn
	add	x20, x20, x0
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcspn
	add	x22, x20, w0, sxtw
	ldrb	w23, [x22]
	strb	wzr, [x22]
	mov	x0, x20
	bl	_EVP_get_cipherbyname
	mov	x20, x0
	str	x0, [x19, #8]
	strb	w23, [x22]
	mov	x0, x22
	mov	x1, x21
	bl	_strspn
	add	x21, x22, x0
	str	x21, [sp, #8]
	cbz	x20, LBB0_21
; %bb.18:
	mov	x0, x20
	bl	_EVP_CIPHER_iv_length
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.19:
	ldrb	w8, [x21], #1
	str	x21, [sp, #8]
	cmp	w8, #44
	b.eq	LBB0_25
; %bb.20:
Lloh38:
	adrp	x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x8, _PEM_R_MISSING_DEK_IV@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PEM_R_MISSING_DEK_IV@GOTPAGEOFF]
	b	LBB0_5
LBB0_21:
Lloh43:
	adrp	x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x8, _PEM_R_UNSUPPORTED_ENCRYPTION@GOTPAGE
Lloh47:
	ldr	x8, [x8, _PEM_R_UNSUPPORTED_ENCRYPTION@GOTPAGEOFF]
	b	LBB0_5
LBB0_22:
	cbnz	w0, LBB0_25
; %bb.23:
	ldrb	w8, [x21]
	cmp	w8, #44
	b.ne	LBB0_25
; %bb.24:
Lloh48:
	adrp	x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PEM_F_PEM_GET_EVP_CIPHER_INFO@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
Lloh51:
	adrp	x8, _PEM_R_UNEXPECTED_DEK_IV@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PEM_R_UNEXPECTED_DEK_IV@GOTPAGEOFF]
	b	LBB0_5
LBB0_25:
	ldr	w19, [x19]
	mov	x0, x20
	bl	_EVP_CIPHER_iv_length
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_load_iv
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_PEM_get_EVP_CIPHER_INFO.ProcType:      ; @PEM_get_EVP_CIPHER_INFO.ProcType
	.asciz	"Proc-Type:"

_PEM_get_EVP_CIPHER_INFO.ENCRYPTED:     ; @PEM_get_EVP_CIPHER_INFO.ENCRYPTED
	.asciz	"ENCRYPTED"

_PEM_get_EVP_CIPHER_INFO.DEKInfo:       ; @PEM_get_EVP_CIPHER_INFO.DEKInfo
	.asciz	"DEK-Info:"

	.comm	_PEM_F_PEM_GET_EVP_CIPHER_INFO,4,2 ; @PEM_F_PEM_GET_EVP_CIPHER_INFO
	.comm	_PEM_R_NOT_PROC_TYPE,4,2        ; @PEM_R_NOT_PROC_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" \t"

l_.str.1:                               ; @.str.1
	.asciz	" \t\r\n"

	.comm	_PEM_R_NOT_ENCRYPTED,4,2        ; @PEM_R_NOT_ENCRYPTED
l_.str.2:                               ; @.str.2
	.asciz	" \t\r"

	.comm	_PEM_R_SHORT_HEADER,4,2         ; @PEM_R_SHORT_HEADER
	.comm	_PEM_R_NOT_DEK_INFO,4,2         ; @PEM_R_NOT_DEK_INFO
l_.str.3:                               ; @.str.3
	.asciz	" \t,"

	.comm	_PEM_R_UNSUPPORTED_ENCRYPTION,4,2 ; @PEM_R_UNSUPPORTED_ENCRYPTION
	.comm	_PEM_R_MISSING_DEK_IV,4,2       ; @PEM_R_MISSING_DEK_IV
	.comm	_PEM_R_UNEXPECTED_DEK_IV,4,2    ; @PEM_R_UNEXPECTED_DEK_IV
.subsections_via_symbols
