	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS12_key_gen_uni             ## -- Begin function PKCS12_key_gen_uni
	.p2align	4, 0x90
_PKCS12_key_gen_uni:                    ## @PKCS12_key_gen_uni
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %ebx
	movl	%ecx, %r15d
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_EVP_MD_block_size
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_EVP_MD_size
	xorl	%r12d, %r12d
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movl	%eax, %ebx
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movl	$0, %ecx
	movl	$0, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, %r14d
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.3:
	movl	%r13d, %edi
	callq	_OPENSSL_malloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_OPENSSL_malloc
	movq	%rax, %r12
	leal	1(%r13), %edi
	callq	_OPENSSL_malloc
	movq	%rax, %r14
	leal	(%r15,%r13), %esi
	decl	%esi
	movl	%esi, %eax
	cltd
	idivl	%r13d
	subl	%edx, %esi
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	je	LBB0_9
## %bb.4:
	leal	-1(%r13), %ecx
	addl	%eax, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r13d
	subl	%edx, %ecx
	jmp	LBB0_10
LBB0_5:
	xorl	%r12d, %r12d
LBB0_6:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_PKCS12_F_PKCS12_KEY_GEN_UNI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PKCS12err
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	xorl	%r15d, %r15d
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_OPENSSL_free
	movq	%r14, %rdi
	callq	_OPENSSL_free
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_OPENSSL_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_OPENSSL_free
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_free
	movl	%r15d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%ecx, %ecx
LBB0_10:
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	leal	(%rcx,%rsi), %ebx
	movl	%ebx, %edi
	callq	_OPENSSL_malloc
	movq	%rax, %rcx
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.11:
	testq	%r12, %r12
	je	LBB0_7
## %bb.12:
	testq	%r14, %r14
	je	LBB0_7
## %bb.13:
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.14:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_memset
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movq	-112(%rbp), %r11                ## 8-byte Reload
	testl	%r11d, %r11d
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-120(%rbp), %r10                ## 8-byte Reload
	jle	LBB0_21
## %bb.15:
	leal	(%r15,%r13), %eax
	addl	$-2, %eax
	cmpl	-88(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_17
## %bb.16:
	xorl	%ecx, %ecx
	movq	%rdi, %rsi
	testb	$1, %r11b
	jne	LBB0_20
	jmp	LBB0_21
LBB0_17:
	movl	%r11d, %esi
	andl	$-2, %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	cltd
	idivl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%rbx,%rdx), %eax
	movb	%al, (%rdi,%rcx)
	leal	1(%rcx), %eax
	cltd
	idivl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%rbx,%rdx), %eax
	movb	%al, 1(%rdi,%rcx)
	addq	$2, %rcx
	cmpl	%esi, %ecx
	jne	LBB0_18
## %bb.19:
	movq	%rcx, %rsi
	addq	%rdi, %rsi
	testb	$1, %r11b
	je	LBB0_21
LBB0_20:
	movl	%ecx, %eax
	cltd
	idivl	%r15d
                                        ## kill: def $edx killed $edx def $rdx
	movb	(%rbx,%rdx), %al
	movb	%al, (%rsi)
	incq	%rsi
LBB0_21:
	testl	%r10d, %r10d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_28
## %bb.22:
	xorl	%ecx, %ecx
	cmpl	$1, %r10d
	je	LBB0_26
## %bb.23:
	movl	%r10d, %edi
	andl	$-2, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	cltd
	idivl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%r8,%rdx), %eax
	movb	%al, (%rsi,%rcx)
	leal	1(%rcx), %eax
	cltd
	idivl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%r8,%rdx), %eax
	movb	%al, 1(%rsi,%rcx)
	addq	$2, %rcx
	cmpl	%edi, %ecx
	jne	LBB0_24
## %bb.25:
	addq	%rcx, %rsi
LBB0_26:
	testb	$1, %r10b
	je	LBB0_28
## %bb.27:
	movl	%ecx, %eax
	cltd
	idivl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movb	(%r8,%rdx), %al
	movb	%al, (%rsi)
LBB0_28:
	movq	%r15, %rdi
	movq	32(%rbp), %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testl	%eax, %eax
	je	LBB0_53
## %bb.29:
	movq	24(%rbp), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movslq	-72(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movslq	%r13d, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movslq	%ebx, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movl	%ecx, %eax
	andl	$-2, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-160(%rbp), %rax                ## 8-byte Reload
	decl	%eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	leaq	1(%rcx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -144(%rbp)                ## 8-byte Spill
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_48 Depth 2
                                        ##       Child Loop BB0_49 Depth 3
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_EVP_DigestUpdate
	testl	%eax, %eax
	je	LBB0_53
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_EVP_DigestUpdate
	testl	%eax, %eax
	je	LBB0_53
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	testl	%eax, %eax
	je	LBB0_53
## %bb.33:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	-120(%rbp), %r13d               ## 4-byte Reload
	cmpl	$2, -160(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_38
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	32(%rbp), %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testl	%eax, %eax
	je	LBB0_54
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=2
	movq	%rbx, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_EVP_DigestUpdate
	testl	%eax, %eax
	je	LBB0_53
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=2
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	testl	%eax, %eax
	je	LBB0_53
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=2
	decl	%r13d
	jne	LBB0_34
LBB0_38:                                ##   in Loop: Header=BB0_30 Depth=1
	movl	-104(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %edi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_min
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memcpy
	subl	%ebx, %r15d
	movl	%r15d, -104(%rbp)               ## 4-byte Spill
	jle	LBB0_60
## %bb.39:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpl	$1, -144(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_30 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_43
LBB0_41:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%ecx, %ecx
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %eax
	cltd
	idivl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%r12,%rdx), %eax
	movb	%al, (%r14,%rcx)
	leal	1(%rcx), %eax
	cltd
	idivl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%r12,%rdx), %eax
	movb	%al, 1(%r14,%rcx)
	addq	$2, %rcx
	cmpq	%rsi, %rcx
	jne	LBB0_42
LBB0_43:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movq	-136(%rbp), %r10                ## 8-byte Reload
	movq	-128(%rbp), %r11                ## 8-byte Reload
	testb	$1, -152(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	%ecx, %eax
	cltd
	idivl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
	movb	(%r12,%rdx), %al
	movb	%al, (%r14,%rcx)
LBB0_46:                                ##   in Loop: Header=BB0_30 Depth=1
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_51
## %bb.47:                              ##   in Loop: Header=BB0_30 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_48:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_49 Depth 3
	leaq	(%r8,%rax), %rcx
	movl	$1, %edx
	movq	%r11, %rsi
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_30 Depth=1
                                        ##     Parent Loop BB0_48 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	-2(%rsi), %edi
	movzbl	(%rcx,%rdi), %ebx
	addl	%edx, %ebx
	movzbl	(%r14,%rdi), %edx
	addl	%ebx, %edx
	movb	%dl, (%rcx,%rdi)
	sarl	$8, %edx
	decq	%rsi
	cmpq	$1, %rsi
	jg	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_48 Depth=2
	addq	%r9, %rax
	cmpq	%r10, %rax
	jl	LBB0_48
LBB0_51:                                ##   in Loop: Header=BB0_30 Depth=1
	addq	-112(%rbp), %r13                ## 8-byte Folded Reload
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	32(%rbp), %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestInit_ex
	testl	%eax, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_30
LBB0_53:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_54:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_60:
	movl	$1, %r15d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_PKCS12_F_PKCS12_KEY_GEN_UNI,4,2 ## @PKCS12_F_PKCS12_KEY_GEN_UNI
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS12_key_gen_uni             ; -- Begin function PKCS12_key_gen_uni
	.p2align	2
_PKCS12_key_gen_uni:                    ; @PKCS12_key_gen_uni
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x22, x6
	mov	x23, x5
	mov	x21, x4
	mov	x27, x3
	mov	x28, x2
	mov	x25, x1
	mov	x20, x0
	bl	_EVP_MD_CTX_new
	mov	x24, x0
	cbz	x0, LBB0_33
; %bb.1:
	str	w21, [sp, #56]                  ; 4-byte Folded Spill
	str	x24, [sp, #80]                  ; 8-byte Folded Spill
	ldr	x21, [x29, #16]
	mov	x0, x21
	bl	_EVP_MD_block_size
	mov	x24, x0
	str	x21, [sp, #72]                  ; 8-byte Folded Spill
	mov	x0, x21
	bl	_EVP_MD_size
	mov	x21, #0
	tbnz	w0, #31, LBB0_34
; %bb.2:
	mov	x26, x0
	str	w23, [sp, #52]                  ; 4-byte Folded Spill
	str	w22, [sp, #36]                  ; 4-byte Folded Spill
	str	x19, [sp, #64]                  ; 8-byte Folded Spill
	mov	x23, x21
	str	x21, [sp, #88]                  ; 8-byte Folded Spill
	mov	x22, x21
	subs	w19, w24, #1
	mov	x0, x24
	ldr	x24, [sp, #80]                  ; 8-byte Folded Reload
	b.lt	LBB0_36
; %bb.3:
	mov	x23, x0
	bl	_OPENSSL_malloc
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	mov	x0, x26
	bl	_OPENSSL_malloc
	mov	x21, x0
	add	w0, w23, #1
	bl	_OPENSSL_malloc
	mov	x22, x0
	add	w8, w19, w27
	sdiv	w8, w8, w23
	mul	w24, w8, w23
	add	w8, w19, w25
	sdiv	w8, w8, w23
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	mul	w8, w8, w23
	cmp	w25, #0
	csel	w19, wzr, w8, eq
	add	w0, w19, w24
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_OPENSSL_malloc
	mov	x23, x0
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_35
; %bb.4:
	cbz	x21, LBB0_35
; %bb.5:
	cbz	x22, LBB0_35
; %bb.6:
	cbz	x23, LBB0_35
; %bb.7:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	mov	w2, w8
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	str	x2, [sp, #56]                   ; 8-byte Folded Spill
	bl	_memset
	mov	x8, x23
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.8:
	mov	x8, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w9, w8, w27
	msub	w9, w9, w27, w8
	ldrb	w9, [x28, w9, uxtw]
	strb	w9, [x23, x8]
	add	x8, x8, #1
	cmp	w24, w8
	b.ne	LBB0_9
; %bb.10:
	add	x8, x23, x8
LBB0_11:
	cmp	w19, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x9, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sdiv	w10, w9, w25
	msub	w10, w10, w25, w9
	ldrb	w10, [x20, w10, uxtw]
	strb	w10, [x8, x9]
	add	x9, x9, #1
	cmp	w19, w9
	b.ne	LBB0_13
LBB0_14:
	ldp	x27, x24, [sp, #72]             ; 16-byte Folded Reload
	mov	x0, x24
	mov	x1, x27
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cbz	w0, LBB0_36
; %bb.15:
	sxtw	x8, w26
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	sxtw	x25, w2
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	sub	w8, w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldp	x8, x19, [sp, #56]              ; 16-byte Folded Reload
	add	x28, x8, #1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sxtw	x20, w8
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
                                        ;     Child Loop BB0_29 Depth 2
                                        ;       Child Loop BB0_30 Depth 3
	mov	x0, x24
	ldr	x1, [sp, #88]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_DigestUpdate
	cbz	w0, LBB0_36
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x24
	mov	x1, x23
	ldr	x2, [sp, #40]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_DigestUpdate
	cbz	w0, LBB0_36
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x24
	mov	x1, x21
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	cbz	w0, LBB0_36
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	str	x19, [sp, #64]                  ; 8-byte Folded Spill
	ldr	w19, [sp, #20]                  ; 4-byte Folded Reload
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, #2
	b.lt	LBB0_24
LBB0_20:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	mov	x1, x27
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	cbz	w0, LBB0_36
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x0, x24
	mov	x1, x21
	mov	x2, x26
	bl	_EVP_DigestUpdate
	cbz	w0, LBB0_36
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x0, x24
	mov	x1, x21
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	cbz	w0, LBB0_36
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=2
	subs	w19, w19, #1
	b.ne	LBB0_20
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
	mov	x0, x27
	mov	x1, x26
	bl	_min
	mov	x2, x0
	ldr	x19, [sp, #64]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x21
	bl	_memcpy
	subs	w27, w27, w26
	str	w27, [sp, #36]                  ; 4-byte Folded Spill
	b.le	LBB0_38
; %bb.25:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x8, #0
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x19, x19, x9
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
LBB0_26:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w9, w8, w26
	msub	w9, w9, w26, w8
	ldrb	w9, [x21, w9, uxtw]
	strb	w9, [x22, x8]
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_26
; %bb.27:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	w8, #1
	ldr	x27, [sp, #72]                  ; 8-byte Folded Reload
	b.lt	LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x8, #0
LBB0_29:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_30 Depth 3
	add	x9, x23, x8
	mov	w11, #1
	mov	x10, x28
LBB0_30:                                ;   Parent Loop BB0_16 Depth=1
                                        ;     Parent Loop BB0_29 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	w12, w10, #2
	ldrb	w13, [x9, x12]
	ldrb	w14, [x22, x12]
	add	w11, w11, w13
	add	w11, w11, w14
	strb	w11, [x9, x12]
	asr	w11, w11, #8
	sub	x10, x10, #1
	cmp	x10, #1
	b.gt	LBB0_30
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=2
	add	x8, x8, x25
	cmp	x8, x20
	b.lt	LBB0_29
LBB0_32:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x24
	mov	x1, x27
	mov	x2, #0
	bl	_EVP_DigestInit_ex
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	cbnz	w0, LBB0_16
	b	LBB0_36
LBB0_33:
	mov	x21, #0
	mov	x23, #0
	str	xzr, [sp, #88]                  ; 8-byte Folded Spill
	mov	x22, #0
	b	LBB0_36
LBB0_34:
	mov	x23, x21
	str	x21, [sp, #88]                  ; 8-byte Folded Spill
	mov	x22, x21
LBB0_35:
	ldr	x24, [sp, #80]                  ; 8-byte Folded Reload
LBB0_36:
Lloh0:
	adrp	x8, _PKCS12_F_PKCS12_KEY_GEN_UNI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PKCS12_F_PKCS12_KEY_GEN_UNI@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_PKCS12err
	mov	w20, #0
LBB0_37:
	mov	x0, x21
	bl	_OPENSSL_free
	mov	x0, x22
	bl	_OPENSSL_free
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	bl	_OPENSSL_free
	mov	x0, x23
	bl	_OPENSSL_free
	mov	x0, x24
	bl	_EVP_MD_CTX_free
	mov	x0, x20
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_38:
	mov	w20, #1
	b	LBB0_37
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PKCS12_F_PKCS12_KEY_GEN_UNI,4,2 ; @PKCS12_F_PKCS12_KEY_GEN_UNI
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
