	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_ulong_decode
_asn1_ulong_decode:                     ## @asn1_ulong_decode
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-41(%rbp), %rsi
	callq	_asn1_octet_decode
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movzbl	-41(%rbp), %eax
	movq	%rax, (%r14)
	movb	$1, %cl
	cmpq	%r15, (%rbx)
	jae	LBB0_10
## %bb.2:
	cmpb	$1, %al
	movl	$-9, %r13d
	sbbl	$-1, %r13d
	leaq	-41(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r13d
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_asn1_octet_decode
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	shlq	$8, %rax
	movzbl	-41(%rbp), %ecx
	orq	%rax, %rcx
	movq	%rcx, (%r14)
	cmpq	%r15, (%rbx)
	jb	LBB0_3
## %bb.6:
	movb	$1, %cl
	jmp	LBB0_10
LBB0_8:
	movq	_ASN1_ERR_DEC_BADVALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_9:
	xorl	%ecx, %ecx
LBB0_10:
	movzbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_ERR_DEC_BADVALUE,4,2      ## @ASN1_ERR_DEC_BADVALUE
	.no_dead_strip	_asn1_ulong_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_ulong_decode
_asn1_ulong_decode:                     ; @asn1_ulong_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x1, sp, #15
	bl	_asn1_octet_decode
	cbz	w0, LBB0_8
; %bb.1:
	ldrb	w8, [sp, #15]
	str	x8, [x20]
	ldr	x9, [x19]
	cmp	x9, x21
	b.hs	LBB0_6
; %bb.2:
	cmp	w8, #0
	mov	w8, #-9
	cinc	w22, w8, ne
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	adds	w22, w22, #1
	b.hs	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #15
	mov	x0, x19
	bl	_asn1_octet_decode
	cbz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldrb	w9, [sp, #15]
	bfi	x9, x8, #8, #56
	str	x9, [x20]
	ldr	x8, [x19]
	cmp	x8, x21
	b.lo	LBB0_3
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
Lloh0:
	adrp	x8, _ASN1_ERR_DEC_BADVALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_ERR_DEC_BADVALUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_ERR_DEC_BADVALUE,4,2      ; @ASN1_ERR_DEC_BADVALUE
	.no_dead_strip	_asn1_ulong_decode
.subsections_via_symbols
