	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_object_size               ## -- Begin function ASN1_object_size
	.p2align	4, 0x90
_ASN1_object_size:                      ## @ASN1_object_size
	.cfi_startproc
## %bb.0:
	testl	%esi, %esi
	js	LBB0_1
## %bb.2:
	movl	$1, %eax
	cmpl	$31, %edx
	jl	LBB0_5
## %bb.3:
	movl	$1, %eax
	movl	%edx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	sarl	$7, %ecx
	incl	%eax
	cmpl	$127, %edx
	movl	%ecx, %edx
	jg	LBB0_4
LBB0_5:
	cmpl	$2, %edi
	jne	LBB0_7
## %bb.6:
	addl	$3, %eax
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %eax
	retq
LBB0_7:
	incl	%eax
	cmpl	$128, %esi
	jl	LBB0_10
## %bb.8:
	movl	%esi, %ecx
	movl	%esi, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	shrl	$8, %edx
	incl	%eax
	cmpl	$255, %ecx
	movl	%edx, %ecx
	ja	LBB0_9
LBB0_10:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%esi, %ecx
	addl	%eax, %esi
	cmpl	%ecx, %eax
	movl	$-1, %eax
	cmovll	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ASN1_object_size               ; -- Begin function ASN1_object_size
	.p2align	2
_ASN1_object_size:                      ; @ASN1_object_size
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_5
; %bb.1:
	mov	w8, #1
	cmp	w2, #31
	b.lt	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	asr	w9, w2, #7
	add	w8, w8, #1
	cmp	w2, #127
	mov	x2, x9
	b.gt	LBB0_2
LBB0_3:
	cmp	w0, #2
	b.ne	LBB0_6
; %bb.4:
	add	w8, w8, #3
	b	LBB0_9
LBB0_5:
	mov	w0, #-1
	ret
LBB0_6:
	add	w8, w8, #1
	cmp	w1, #128
	b.lt	LBB0_9
; %bb.7:
	mov	x9, x1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w10, w9, #8
	add	w8, w8, #1
	cmp	w9, #255
	mov	x9, x10
	b.hi	LBB0_8
LBB0_9:
Lloh0:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w10, w8, w1
	sub	w9, w9, w1
	cmp	w8, w9
	csinv	w0, w10, wzr, lt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
.subsections_via_symbols
