	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d2i_ASN1_OBJECT                ## -- Begin function d2i_ASN1_OBJECT
	.p2align	4, 0x90
_d2i_ASN1_OBJECT:                       ## @d2i_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r8
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movq	%rax, -24(%rbp)
	leaq	-24(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_ASN1_get_object
	testb	$-128, %al
	jne	LBB0_1
## %bb.4:
	movl	-28(%rbp), %eax
	movq	_V_ASN1_OBJECT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.6:
	movq	-40(%rbp), %rdx
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_c2i_ASN1_OBJECT
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	-24(%rbp), %rcx
	movq	%rcx, (%rbx)
	jmp	LBB0_8
LBB0_1:
	movq	_ASN1_R_BAD_OBJECT_HEADER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_ASN1_R_EXPECTING_AN_OBJECT@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movq	_ASN1_F_D2I_ASN1_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASN1err
LBB0_3:
	xorl	%eax, %eax
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_R_BAD_OBJECT_HEADER,4,2   ## @ASN1_R_BAD_OBJECT_HEADER
	.comm	_V_ASN1_OBJECT,4,2              ## @V_ASN1_OBJECT
	.comm	_ASN1_R_EXPECTING_AN_OBJECT,4,2 ## @ASN1_R_EXPECTING_AN_OBJECT
	.comm	_ASN1_F_D2I_ASN1_OBJECT,4,2     ## @ASN1_F_D2I_ASN1_OBJECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_d2i_ASN1_OBJECT                ; -- Begin function d2i_ASN1_OBJECT
	.p2align	2
_d2i_ASN1_OBJECT:                       ; @d2i_ASN1_OBJECT
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x4, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	str	x8, [sp, #24]
	add	x0, sp, #24
	add	x1, sp, #16
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_ASN1_get_object
	tbnz	w0, #7, LBB0_4
; %bb.1:
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _V_ASN1_OBJECT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V_ASN1_OBJECT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.2:
	ldr	x2, [sp, #16]
	add	x1, sp, #24
	mov	x0, x20
	bl	_c2i_ASN1_OBJECT
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [sp, #24]
	str	x8, [x19]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _ASN1_R_BAD_OBJECT_HEADER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASN1_R_BAD_OBJECT_HEADER@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _ASN1_R_EXPECTING_AN_OBJECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASN1_R_EXPECTING_AN_OBJECT@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _ASN1_F_D2I_ASN1_OBJECT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ASN1_F_D2I_ASN1_OBJECT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_ASN1err
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_R_BAD_OBJECT_HEADER,4,2   ; @ASN1_R_BAD_OBJECT_HEADER
	.comm	_V_ASN1_OBJECT,4,2              ; @V_ASN1_OBJECT
	.comm	_ASN1_R_EXPECTING_AN_OBJECT,4,2 ; @ASN1_R_EXPECTING_AN_OBJECT
	.comm	_ASN1_F_D2I_ASN1_OBJECT,4,2     ; @ASN1_F_D2I_ASN1_OBJECT
.subsections_via_symbols
