	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2d_ASN1_OBJECT                ## -- Begin function i2d_ASN1_OBJECT
	.p2align	4, 0x90
_i2d_ASN1_OBJECT:                       ## @i2d_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_11
## %bb.2:
	movq	%rsi, %r14
	movl	(%rbx), %esi
	movq	_V_ASN1_OBJECT@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%edi, %edi
	callq	_ASN1_object_size
	movl	%eax, %r15d
	testq	%r14, %r14
	je	LBB0_11
## %bb.3:
	cmpl	$-1, %r15d
	je	LBB0_11
## %bb.4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, -48(%rbp)
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_5:
	movl	%r15d, %edi
	callq	_OPENSSL_malloc
	movq	%rax, %r12
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_6
LBB0_8:
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	movq	_V_ASN1_UNIVERSAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_ASN1_put_object
	movq	-48(%rbp), %rdi
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
	testq	%r12, %r12
	jne	LBB0_10
## %bb.9:
	movslq	(%rbx), %r12
	addq	-48(%rbp), %r12
LBB0_10:
	movq	%r12, (%r14)
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ASN1_F_I2D_ASN1_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_OBJECT,4,2              ## @V_ASN1_OBJECT
	.comm	_ASN1_F_I2D_ASN1_OBJECT,4,2     ## @ASN1_F_I2D_ASN1_OBJECT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_V_ASN1_UNIVERSAL,4,2           ## @V_ASN1_UNIVERSAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2d_ASN1_OBJECT                ; -- Begin function i2d_ASN1_OBJECT
	.p2align	2
_i2d_ASN1_OBJECT:                       ; @i2d_ASN1_OBJECT
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x19, x1
	ldr	w1, [x21]
Lloh0:
	adrp	x23, _V_ASN1_OBJECT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _V_ASN1_OBJECT@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w0, #0
	bl	_ASN1_object_size
	mov	x20, x0
	cbz	x19, LBB0_11
; %bb.3:
	cmn	w20, #1
	b.eq	LBB0_11
; %bb.4:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x22, #0
	str	x8, [sp, #8]
	b	LBB0_8
LBB0_6:
	mov	w20, #0
	b	LBB0_11
LBB0_7:
	mov	x0, x20
	bl	_OPENSSL_malloc
	mov	x22, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_12
LBB0_8:
	ldr	w2, [x21]
	ldr	w3, [x23]
Lloh2:
	adrp	x8, _V_ASN1_UNIVERSAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V_ASN1_UNIVERSAL@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	w1, #0
	bl	_ASN1_put_object
	ldr	x0, [sp, #8]
	ldr	x1, [x21, #8]
	ldr	w2, [x21]
	bl	_memcpy
	cbnz	x22, LBB0_10
; %bb.9:
	ldr	x8, [sp, #8]
	ldrsw	x9, [x21]
	add	x22, x8, x9
LBB0_10:
	str	x22, [x19]
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
Lloh5:
	adrp	x8, _ASN1_F_I2D_ASN1_OBJECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASN1_F_I2D_ASN1_OBJECT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w20, #0
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_OBJECT,4,2              ; @V_ASN1_OBJECT
	.comm	_ASN1_F_I2D_ASN1_OBJECT,4,2     ; @ASN1_F_I2D_ASN1_OBJECT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_V_ASN1_UNIVERSAL,4,2           ; @V_ASN1_UNIVERSAL
.subsections_via_symbols
