	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS12_key_gen_asc             ## -- Begin function PKCS12_key_gen_asc
	.p2align	4, 0x90
_PKCS12_key_gen_asc:                    ## @PKCS12_key_gen_asc
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	callq	_OPENSSL_asc2uni
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	-48(%rbp), %rdi
	movl	-36(%rbp), %esi
	jmp	LBB0_4
LBB0_3:
	movq	$0, -48(%rbp)
	movl	$0, -36(%rbp)
	xorl	%esi, %esi
	xorl	%edi, %edi
LBB0_4:
	movl	16(%rbp), %eax
	subq	$8, %rsp
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	pushq	32(%rbp)
	pushq	24(%rbp)
	pushq	%rax
	callq	_PKCS12_key_gen_uni
	addq	$32, %rsp
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	movl	-36(%rbp), %esi
	callq	_OPENSSL_clear_free
	jmp	LBB0_9
LBB0_7:
	movq	_PKCS12_F_PKCS12_KEY_GEN_ASC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PKCS12err
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PKCS12_F_PKCS12_KEY_GEN_ASC,4,2 ## @PKCS12_F_PKCS12_KEY_GEN_ASC
	.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	_PKCS12_key_gen_asc             ; -- Begin function PKCS12_key_gen_asc
	.p2align	2
_PKCS12_key_gen_asc:                    ; @PKCS12_key_gen_asc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x7
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	cbz	x0, LBB0_3
; %bb.1:
	add	x2, sp, #24
	add	x3, sp, #20
	bl	_OPENSSL_asc2uni
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x0, [sp, #24]
	ldr	w1, [sp, #20]
	b	LBB0_4
LBB0_3:
	mov	w1, #0
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
LBB0_4:
	ldr	x8, [x29, #16]
	str	x8, [sp]
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	mov	x7, x19
	bl	_PKCS12_key_gen_uni
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x19, x0
	ldr	x0, [sp, #24]
	ldr	w1, [sp, #20]
	bl	_OPENSSL_clear_free
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _PKCS12_F_PKCS12_KEY_GEN_ASC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PKCS12_F_PKCS12_KEY_GEN_ASC@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
LBB0_7:
	mov	w19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PKCS12_F_PKCS12_KEY_GEN_ASC,4,2 ; @PKCS12_F_PKCS12_KEY_GEN_ASC
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
