	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PBE_alg_add_type           ## -- Begin function EVP_PBE_alg_add_type
	.p2align	4, 0x90
_EVP_PBE_alg_add_type:                  ## @EVP_PBE_alg_add_type
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r13d
	movl	%edi, %ebx
	movq	_pbe_algs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_pbe_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sk_EVP_PBE_CTL_new
	movq	_pbe_algs@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	movl	$24, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r14
	movl	%ebx, (%rax)
	movl	%r13d, 4(%rax)
	movl	%r12d, 8(%rax)
	movl	%r15d, 12(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	movq	_pbe_algs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_sk_EVP_PBE_CTL_push
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_OPENSSL_free
LBB0_5:
	movq	_EVP_F_EVP_PBE_ALG_ADD_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVPerr
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pbe_algs,8,3                   ## @pbe_algs
	.comm	_pbe_cmp,4,2                    ## @pbe_cmp
	.comm	_EVP_F_EVP_PBE_ALG_ADD_TYPE,4,2 ## @EVP_F_EVP_PBE_ALG_ADD_TYPE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PBE_alg_add_type           ; -- Begin function EVP_PBE_alg_add_type
	.p2align	2
_EVP_PBE_alg_add_type:                  ; @EVP_PBE_alg_add_type
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _pbe_algs@GOTPAGE
Lloh1:
	ldr	x25, [x25, _pbe_algs@GOTPAGEOFF]
	ldr	x8, [x25]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _pbe_cmp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pbe_cmp@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_sk_EVP_PBE_CTL_new
	str	x0, [x25]
	cbz	x0, LBB0_6
LBB0_2:
	mov	w0, #24
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x24, x0
	stp	w23, w22, [x0]
	stp	w21, w20, [x0, #8]
	str	x19, [x0, #16]
	ldr	x0, [x25]
	mov	x1, x24
	bl	_sk_EVP_PBE_CTL_push
	cbz	w0, LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_7
LBB0_5:
	mov	x0, x24
	bl	_OPENSSL_free
LBB0_6:
Lloh5:
	adrp	x8, _EVP_F_EVP_PBE_ALG_ADD_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVP_F_EVP_PBE_ALG_ADD_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w0, #0
LBB0_7:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_pbe_algs,8,3                   ; @pbe_algs
	.comm	_pbe_cmp,4,2                    ; @pbe_cmp
	.comm	_EVP_F_EVP_PBE_ALG_ADD_TYPE,4,2 ; @EVP_F_EVP_PBE_ALG_ADD_TYPE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
