	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c2i_ASN1_OBJECT                ## -- Begin function c2i_ASN1_OBJECT
	.p2align	4, 0x90
_c2i_ASN1_OBJECT:                       ## @c2i_ASN1_OBJECT
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	jle	LBB0_12
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	movq	%rdx, %r13
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jl	LBB0_12
## %bb.3:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.4:
	cmpb	$0, -1(%r13,%rbx)
	js	LBB0_12
## %bb.5:
	movq	%rdi, %r14
	movq	_NID_undef@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -88(%rbp)
	movq	%rbx, -80(%rbp)
	movl	%r13d, -72(%rbp)
	movl	$0, -68(%rbp)
	leaq	-88(%rbp), %rdi
	callq	_OBJ_obj2nid
	cmpl	(%r12), %eax
	jne	LBB0_15
## %bb.6:
	testl	%r13d, %r13d
	jle	LBB0_18
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%rax
	cmpl	%eax, %r13d
	je	LBB0_18
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$-128, (%rbx,%rax)
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$0, -1(%rbx,%rax)
	js	LBB0_8
LBB0_12:
	movq	_ASN1_F_C2I_ASN1_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_INVALID_OBJECT_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
LBB0_13:
	xorl	%r12d, %r12d
LBB0_14:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	%eax, %edi
	callq	_OBJ_nid2obj
	movq	%rax, %r12
	testq	%r14, %r14
	je	LBB0_17
## %bb.16:
	movq	(%r14), %rdi
	callq	_ASN1_OBJECT_free
	movq	%r12, (%r14)
LBB0_17:
	addq	%r13, (%r15)
	jmp	LBB0_14
LBB0_18:
	testq	%r14, %r14
	je	LBB0_21
## %bb.19:
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_21
## %bb.20:
	movq	_ASN1_OBJECT_FLAG_DYNAMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r12)
	jne	LBB0_22
LBB0_21:
	xorl	%eax, %eax
	callq	_ASN1_OBJECT_new
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_13
LBB0_22:
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rbx
	movq	$0, 8(%r12)
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.23:
	cmpl	%r13d, 16(%r12)
	jge	LBB0_26
LBB0_24:
	movl	$0, 16(%r12)
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	movl	%r13d, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_29
## %bb.25:
	movq	%rax, %rbx
	movq	_ASN1_OBJECT_FLAG_DYNAMIC_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%r12)
LBB0_26:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_memcpy
	movslq	%r13d, %rax
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	%rbx, 8(%r12)
	movl	%r13d, 16(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	testq	%r14, %r14
	je	LBB0_28
## %bb.27:
	movq	%r12, (%r14)
LBB0_28:
	movq	%rax, (%r15)
	jmp	LBB0_14
LBB0_29:
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ASN1_F_C2I_ASN1_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASN1err
	testq	%r14, %r14
	je	LBB0_31
## %bb.30:
	cmpq	%r12, (%r14)
	je	LBB0_13
LBB0_31:
	movq	%r12, %rdi
	callq	_ASN1_OBJECT_free
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_ASN1_F_C2I_ASN1_OBJECT,4,2     ## @ASN1_F_C2I_ASN1_OBJECT
	.comm	_ASN1_R_INVALID_OBJECT_ENCODING,4,2 ## @ASN1_R_INVALID_OBJECT_ENCODING
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_ASN1_OBJECT_FLAG_DYNAMIC,4,2   ## @ASN1_OBJECT_FLAG_DYNAMIC
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ASN1_OBJECT_FLAG_DYNAMIC_DATA,4,2 ## @ASN1_OBJECT_FLAG_DYNAMIC_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c2i_ASN1_OBJECT                ; -- Begin function c2i_ASN1_OBJECT
	.p2align	2
_c2i_ASN1_OBJECT:                       ; @c2i_ASN1_OBJECT
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cmp	x2, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_12
; %bb.2:
	mov	x21, x2
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.lt	LBB0_12
; %bb.3:
	ldr	x22, [x20]
	cbz	x22, LBB0_12
; %bb.4:
	add	x8, x21, x22
	ldursb	w8, [x8, #-1]
	tbnz	w8, #31, LBB0_12
; %bb.5:
	mov	x19, x0
Lloh3:
	adrp	x23, _NID_undef@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NID_undef@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [sp, #8]
	str	x22, [sp, #16]
	stp	w21, wzr, [sp, #24]
	add	x0, sp, #8
	bl	_OBJ_obj2nid
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.6:
	cmp	w21, #1
	b.lt	LBB0_19
; %bb.7:
	mov	x8, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, #1
	cmp	w21, w8
	b.eq	LBB0_19
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x22, x8]
	cmp	w9, #128
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	w8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x22, x8
	ldursb	w9, [x9, #-1]
	tbnz	w9, #31, LBB0_8
LBB0_12:
Lloh5:
	adrp	x8, _ASN1_F_C2I_ASN1_OBJECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASN1_F_C2I_ASN1_OBJECT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ASN1_R_INVALID_OBJECT_ENCODING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ASN1_R_INVALID_OBJECT_ENCODING@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_ASN1err
LBB0_13:
	mov	x22, #0
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	bl	_OBJ_nid2obj
	mov	x22, x0
	cbz	x19, LBB0_17
; %bb.16:
	ldr	x0, [x19]
	bl	_ASN1_OBJECT_free
	str	x22, [x19]
LBB0_17:
	ldr	x8, [x20]
	add	x8, x8, x21
LBB0_18:
	str	x8, [x20]
	b	LBB0_14
LBB0_19:
	cbz	x19, LBB0_22
; %bb.20:
	ldr	x22, [x19]
	cbz	x22, LBB0_22
; %bb.21:
	ldr	w8, [x22, #20]
Lloh11:
	adrp	x9, _ASN1_OBJECT_FLAG_DYNAMIC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ASN1_OBJECT_FLAG_DYNAMIC@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_23
LBB0_22:
	bl	_ASN1_OBJECT_new
	mov	x22, x0
	cbz	x0, LBB0_14
LBB0_23:
	ldr	x23, [x20]
	ldr	x24, [x22, #8]
	str	xzr, [x22, #8]
	cbz	x24, LBB0_25
; %bb.24:
	ldr	w8, [x22, #16]
	cmp	w8, w21
	b.ge	LBB0_27
LBB0_25:
	str	wzr, [x22, #16]
	mov	x0, x24
	bl	_OPENSSL_free
	mov	x0, x21
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_29
; %bb.26:
	mov	x24, x0
Lloh14:
	adrp	x8, _ASN1_OBJECT_FLAG_DYNAMIC_DATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ASN1_OBJECT_FLAG_DYNAMIC_DATA@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x22, #20]
	orr	w8, w9, w8
	str	w8, [x22, #20]
LBB0_27:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x21
	bl	_memcpy
	str	x24, [x22, #8]
	str	w21, [x22, #16]
	add	x8, x23, w21, sxtw
	stp	xzr, xzr, [x22, #24]
	cbz	x19, LBB0_18
; %bb.28:
	str	x22, [x19]
	b	LBB0_18
LBB0_29:
Lloh17:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _ASN1_F_C2I_ASN1_OBJECT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ASN1_F_C2I_ASN1_OBJECT@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_ASN1err
	cbz	x19, LBB0_31
; %bb.30:
	ldr	x8, [x19]
	cmp	x8, x22
	b.eq	LBB0_13
LBB0_31:
	mov	x0, x22
	bl	_ASN1_OBJECT_free
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_ASN1_F_C2I_ASN1_OBJECT,4,2     ; @ASN1_F_C2I_ASN1_OBJECT
	.comm	_ASN1_R_INVALID_OBJECT_ENCODING,4,2 ; @ASN1_R_INVALID_OBJECT_ENCODING
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_ASN1_OBJECT_FLAG_DYNAMIC,4,2   ; @ASN1_OBJECT_FLAG_DYNAMIC
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ASN1_OBJECT_FLAG_DYNAMIC_DATA,4,2 ; @ASN1_OBJECT_FLAG_DYNAMIC_DATA
.subsections_via_symbols
