	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS12_verify_mac              ## -- Begin function PKCS12_verify_mac
	.p2align	4, 0x90
_PKCS12_verify_mac:                     ## @PKCS12_verify_mac
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.3:
	movq	_PKCS12_key_gen_utf8@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-44(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movq	%r14, %rcx
	callq	_pkcs12_gen_mac
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %rdx
	xorl	%esi, %esi
	callq	_X509_SIG_get0
	movl	-44(%rbp), %r15d
	movq	-56(%rbp), %rdi
	callq	_ASN1_STRING_length
	cmpl	%eax, %r15d
	jne	LBB0_7
## %bb.6:
	movq	-56(%rbp), %rdi
	callq	_ASN1_STRING_get0_data
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_CRYPTO_memcmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	jmp	LBB0_7
LBB0_1:
	movq	_PKCS12_F_PKCS12_VERIFY_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PKCS12_R_MAC_ABSENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_PKCS12_F_PKCS12_VERIFY_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PKCS12_R_MAC_GENERATION_ERROR@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_PKCS12err
	xorl	%ebx, %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_PKCS12_F_PKCS12_VERIFY_MAC,4,2 ## @PKCS12_F_PKCS12_VERIFY_MAC
	.comm	_PKCS12_R_MAC_ABSENT,4,2        ## @PKCS12_R_MAC_ABSENT
	.comm	_PKCS12_key_gen_utf8,4,2        ## @PKCS12_key_gen_utf8
	.comm	_PKCS12_R_MAC_GENERATION_ERROR,4,2 ## @PKCS12_R_MAC_GENERATION_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PKCS12_verify_mac              ; -- Begin function PKCS12_verify_mac
	.p2align	2
_PKCS12_verify_mac:                     ; @PKCS12_verify_mac
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #32
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
Lloh8:
	adrp	x8, _PKCS12_key_gen_utf8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PKCS12_key_gen_utf8@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	sub	x4, x29, #28
	mov	x0, x20
	mov	x3, x19
	bl	_pkcs12_gen_mac
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	ldr	w0, [x8]
	sub	x2, x29, #40
	mov	x1, #0
	bl	_X509_SIG_get0
	ldur	w20, [x29, #-28]
	ldur	x0, [x29, #-40]
	bl	_ASN1_STRING_length
	cmp	w20, w0
	b.ne	LBB0_7
; %bb.3:
	ldur	x0, [x29, #-40]
	bl	_ASN1_STRING_get0_data
	mov	x1, x0
	ldur	w2, [x29, #-28]
	mov	x0, x19
	bl	_CRYPTO_memcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_8
LBB0_4:
Lloh11:
	adrp	x8, _PKCS12_F_PKCS12_VERIFY_MAC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PKCS12_F_PKCS12_VERIFY_MAC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _PKCS12_R_MAC_ABSENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PKCS12_R_MAC_ABSENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _PKCS12_F_PKCS12_VERIFY_MAC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PKCS12_F_PKCS12_VERIFY_MAC@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _PKCS12_R_MAC_GENERATION_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PKCS12_R_MAC_GENERATION_ERROR@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_PKCS12err
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-24]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_PKCS12_F_PKCS12_VERIFY_MAC,4,2 ; @PKCS12_F_PKCS12_VERIFY_MAC
	.comm	_PKCS12_R_MAC_ABSENT,4,2        ; @PKCS12_R_MAC_ABSENT
	.comm	_PKCS12_key_gen_utf8,4,2        ; @PKCS12_key_gen_utf8
	.comm	_PKCS12_R_MAC_GENERATION_ERROR,4,2 ; @PKCS12_R_MAC_GENERATION_ERROR
.subsections_via_symbols
