	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_AsnDecodeDerBlob
_CRYPT_AsnDecodeDerBlob:                ## @CRYPT_AsnDecodeDerBlob
	.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	%r9, %r14
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rdi, %rbx
	leaq	-44(%rbp), %rdx
	callq	_CRYPT_GetLen
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movl	%eax, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	callq	_GET_LEN_BYTES
	movl	%eax, %ebx
	movq	_CRYPT_DECODE_NOCOPY_FLAG@GOTPCREL(%rip), %rdx
	testl	%r12d, (%rdx)
	movl	-44(%rbp), %eax
	leal	17(%rax,%rbx), %ecx
	movl	$16, %esi
	cmovel	%ecx, %esi
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	addl	%ebx, %eax
	incl	%eax
	movl	%eax, (%r14)
LBB0_3:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.4:
	movq	%rdx, %r13
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_CRYPT_DecodeCheckSpace
	testl	%eax, %eax
	je	LBB0_15
## %bb.5:
	movl	%eax, %r14d
	incl	%ebx
	movq	_CRYPT_DECODE_ALLOC_FLAG@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_7:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%esi, (%rax)
	movl	%r13d, %r15d
	jmp	LBB0_15
LBB0_8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_9:
	addl	-44(%rbp), %ebx
	movl	%ebx, (%rax)
	je	LBB0_12
## %bb.10:
	testl	%r12d, (%r13)
	je	LBB0_13
## %bb.11:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
	jmp	LBB0_14
LBB0_12:
	movq	_CRYPT_E_ASN1_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_15
LBB0_13:
	movq	8(%rax), %rdi
	movq	%rax, %rbx
	callq	_assert
	movq	8(%rbx), %rdi
	movl	(%rbx), %edx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
LBB0_14:
	movl	%r14d, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPT_DECODE_NOCOPY_FLAG,4,2   ## @CRYPT_DECODE_NOCOPY_FLAG
	.comm	_CRYPT_DECODE_ALLOC_FLAG,4,2    ## @CRYPT_DECODE_ALLOC_FLAG
	.comm	_CRYPT_E_ASN1_CORRUPT,4,2       ## @CRYPT_E_ASN1_CORRUPT
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_CRYPT_AsnDecodeDerBlob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_AsnDecodeDerBlob
_CRYPT_AsnDecodeDerBlob:                ; @CRYPT_AsnDecodeDerBlob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x5
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x0
	add	x2, sp, #12
	bl	_CRYPT_GetLen
	mov	x19, x0
	cbz	w0, LBB0_13
; %bb.1:
	ldr	w0, [x20, #4]
	bl	_GET_LEN_BYTES
Lloh0:
	adrp	x25, _CRYPT_DECODE_NOCOPY_FLAG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CRYPT_DECODE_NOCOPY_FLAG@GOTPAGEOFF]
	ldr	w9, [x25]
	add	w26, w0, #1
	ldr	w8, [sp, #12]
	add	w8, w8, w26
	add	w10, w8, #16
	tst	w9, w22
	mov	w9, #16
	csel	w1, w10, w9, eq
	cbz	x24, LBB0_3
; %bb.2:
	str	w8, [x24]
LBB0_3:
	cbz	x21, LBB0_10
; %bb.4:
	mov	x0, x23
	bl	_CRYPT_DecodeCheckSpace
	mov	x19, x0
	cbz	w0, LBB0_13
; %bb.5:
Lloh2:
	adrp	x8, _CRYPT_DECODE_ALLOC_FLAG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CRYPT_DECODE_ALLOC_FLAG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.6:
	ldr	x21, [x21]
LBB0_7:
	ldr	w8, [sp, #12]
	adds	w8, w8, w26
	str	w8, [x21]
	b.eq	LBB0_11
; %bb.8:
	ldr	w8, [x25]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.9:
	str	x20, [x21, #8]
	b	LBB0_13
LBB0_10:
	str	w1, [x23]
	b	LBB0_13
LBB0_11:
Lloh5:
	adrp	x8, _CRYPT_E_ASN1_CORRUPT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CRYPT_E_ASN1_CORRUPT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	b	LBB0_13
LBB0_12:
	ldr	x0, [x21, #8]
	bl	_assert
	ldr	x0, [x21, #8]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_memcpy
LBB0_13:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	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	_CRYPT_DECODE_NOCOPY_FLAG,4,2   ; @CRYPT_DECODE_NOCOPY_FLAG
	.comm	_CRYPT_DECODE_ALLOC_FLAG,4,2    ; @CRYPT_DECODE_ALLOC_FLAG
	.comm	_CRYPT_E_ASN1_CORRUPT,4,2       ; @CRYPT_E_ASN1_CORRUPT
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_CRYPT_AsnDecodeDerBlob
.subsections_via_symbols
