	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_item_verify               ## -- Begin function ASN1_item_verify
	.p2align	4, 0x90
_ASN1_item_verify:                      ## @ASN1_item_verify
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	testq	%r8, %r8
	je	LBB0_11
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	(%rdx), %rax
	movq	_V_ASN1_BIT_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	testb	$7, 8(%r12)
	je	LBB0_4
## %bb.3:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_INVALID_BIT_STRING_BITS_LEFT@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_4:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movl	(%rbx), %edi
	callq	_OBJ_obj2nid
	leaq	-64(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	movl	%eax, %edi
	callq	_OBJ_find_sigid_algs
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movl	-64(%rbp), %edi
	movq	_NID_undef@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_19
## %bb.7:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r12, %r8
	movq	%r14, %r9
	callq	*%rax
	movq	%r15, %rdi
	cmpl	$2, %eax
	je	LBB0_22
## %bb.10:
	movl	%eax, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_17
LBB0_11:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %esi
	callq	_ASN1err
	movl	$-1, %r15d
	jmp	LBB0_18
LBB0_13:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	jmp	LBB0_16
LBB0_14:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %esi
	callq	_ASN1err
	xorl	%r13d, %r13d
LBB0_16:
	movl	$-1, %r15d
LBB0_17:
	movl	%r13d, %esi
	movq	-56(%rbp), %rdi
	callq	_OPENSSL_clear_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_MD_CTX_free
LBB0_18:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	_EVP_get_digestbynid
	testq	%rax, %rax
	je	LBB0_26
## %bb.20:
	movq	%rax, %rbx
	movl	-60(%rbp), %edi
	callq	_EVP_PKEY_type
	movq	(%r14), %rcx
	cmpq	8(%rcx), %rax
	jne	LBB0_27
## %bb.21:
	movq	%r15, %r13
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_EVP_DigestVerifyInit
	movq	%r13, %rdi
	testl	%eax, %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_29
LBB0_22:
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdx
	callq	_ASN1_item_i2d
	testl	%eax, %eax
	jle	LBB0_28
## %bb.23:
	movq	-56(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.24:
	movl	%eax, %r13d
	movl	24(%r12), %esi
	movq	16(%r12), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %r8d
	callq	_EVP_DigestVerify
	movl	$1, %r15d
	testl	%eax, %eax
	jg	LBB0_17
## %bb.25:
	movl	%eax, %ebx
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	movl	%ebx, %r15d
	jmp	LBB0_17
LBB0_26:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_27:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_WRONG_PUBLIC_KEY_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_28:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_29:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	xorl	%r13d, %r13d
	jmp	LBB0_17
LBB0_30:
	movq	_ASN1_F_ASN1_ITEM_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_F_ASN1_ITEM_VERIFY,4,2    ## @ASN1_F_ASN1_ITEM_VERIFY
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_V_ASN1_BIT_STRING,8,3          ## @V_ASN1_BIT_STRING
	.comm	_ASN1_R_INVALID_BIT_STRING_BITS_LEFT,4,2 ## @ASN1_R_INVALID_BIT_STRING_BITS_LEFT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM,4,2 ## @ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM,4,2 ## @ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM
	.comm	_ASN1_R_WRONG_PUBLIC_KEY_TYPE,4,2 ## @ASN1_R_WRONG_PUBLIC_KEY_TYPE
	.comm	_ERR_R_EVP_LIB,4,2              ## @ERR_R_EVP_LIB
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_item_verify               ; -- Begin function ASN1_item_verify
	.p2align	2
_ASN1_item_verify:                      ; @ASN1_item_verify
	.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
	str	xzr, [sp, #8]
	cbz	x4, LBB0_11
; %bb.1:
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x24, x1
	mov	x22, x0
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _V_ASN1_BIT_STRING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V_ASN1_BIT_STRING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldrb	w8, [x20, #8]
	tst	w8, #0x7
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ASN1_R_INVALID_BIT_STRING_BITS_LEFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASN1_R_INVALID_BIT_STRING_BITS_LEFT@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
	bl	_EVP_MD_CTX_new
	mov	x19, x0
	cbz	x0, LBB0_21
; %bb.5:
	ldr	w0, [x24]
	bl	_OBJ_obj2nid
	add	x1, sp, #4
	mov	x2, sp
	bl	_OBJ_find_sigid_algs
	cbz	w0, LBB0_13
; %bb.6:
	ldr	w0, [sp, #4]
Lloh8:
	adrp	x8, _NID_undef@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.7:
	ldr	x8, [x23]
	cbz	x8, LBB0_13
; %bb.8:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.9:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	mov	x4, x20
	mov	x5, x23
	blr	x8
	cmp	w0, #2
	b.eq	LBB0_17
; %bb.10:
	mov	x23, x0
	mov	w21, #0
	b	LBB0_23
LBB0_11:
Lloh11:
	adrp	x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w23, #-1
	b	LBB0_24
LBB0_13:
Lloh16:
	adrp	x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM@GOTPAGEOFF]
	b	LBB0_22
LBB0_14:
	bl	_EVP_get_digestbynid
	cbz	x0, LBB0_25
; %bb.15:
	mov	x24, x0
	ldr	w0, [sp]
	bl	_EVP_PKEY_type
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.16:
	mov	x0, x19
	mov	x1, #0
	mov	x2, x24
	mov	x3, #0
	mov	x4, x23
	bl	_EVP_DigestVerifyInit
	cbz	w0, LBB0_28
LBB0_17:
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x22
	bl	_ASN1_item_i2d
	cmp	w0, #0
	b.le	LBB0_27
; %bb.18:
	ldr	x3, [sp, #8]
	cbz	x3, LBB0_21
; %bb.19:
	mov	x21, x0
	ldr	w1, [x20, #24]
	ldr	x2, [x20, #16]
	mov	x0, x19
	mov	x4, x21
	bl	_EVP_DigestVerify
	cmp	w0, #0
	b.le	LBB0_29
; %bb.20:
	mov	w23, #1
	b	LBB0_23
LBB0_21:
Lloh21:
	adrp	x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_22:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w21, #0
	mov	w23, #-1
LBB0_23:
	mov	w1, w21
	ldr	x0, [sp, #8]
	bl	_OPENSSL_clear_free
	mov	x0, x19
	bl	_EVP_MD_CTX_free
LBB0_24:
	mov	x0, x23
	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_25:
Lloh26:
	adrp	x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ASN1_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x8, [x8, _ASN1_F_ASN1_ITEM_VERIFY@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x8, _ERR_R_EVP_LIB@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ERR_R_EVP_LIB@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	bl	_ASN1err
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_F_ASN1_ITEM_VERIFY,4,2    ; @ASN1_F_ASN1_ITEM_VERIFY
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_V_ASN1_BIT_STRING,8,3          ; @V_ASN1_BIT_STRING
	.comm	_ASN1_R_INVALID_BIT_STRING_BITS_LEFT,4,2 ; @ASN1_R_INVALID_BIT_STRING_BITS_LEFT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM,4,2 ; @ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM,4,2 ; @ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM
	.comm	_ASN1_R_WRONG_PUBLIC_KEY_TYPE,4,2 ; @ASN1_R_WRONG_PUBLIC_KEY_TYPE
	.comm	_ERR_R_EVP_LIB,4,2              ; @ERR_R_EVP_LIB
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
.subsections_via_symbols
