	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_i2d_ex_primitive
_asn1_i2d_ex_primitive:                 ## @asn1_i2d_ex_primitive
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %eax
	movl	%eax, -44(%rbp)
	xorl	%r13d, %r13d
	leaq	-44(%rbp), %rdx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_asn1_ex_i2c
	movl	%eax, %r14d
	movl	-44(%rbp), %r15d
	movq	_V_ASN1_SEQUENCE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	sete	%r12b
	movq	_V_ASN1_SET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	sete	%al
	movq	_V_ASN1_OTHER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	sete	%cl
	cmpl	$-1, %r14d
	je	LBB0_10
## %bb.1:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	orb	%al, %r12b
	orb	%cl, %r12b
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	cmpl	$-2, %r14d
	sete	%r13b
	cmovnel	%r14d, %ebx
	addl	%r13d, %r13d
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	cmpl	$-1, %eax
	cmovnel	%eax, %r15d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.2:
	testb	%r12b, %r12b
	jne	LBB0_4
## %bb.3:
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	callq	_ASN1_put_object
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_4:
	movq	(%rdi), %rsi
	leaq	-44(%rbp), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_asn1_ex_i2c
	cmpl	$-2, %r14d
	jne	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ASN1_put_eoc
LBB0_7:
	testb	%r12b, %r12b
	je	LBB0_9
LBB0_8:
	movq	%rbx, %r13
	jmp	LBB0_10
LBB0_6:
	movslq	%ebx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, (%rcx)
	testb	%r12b, %r12b
	jne	LBB0_8
LBB0_9:
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_ASN1_object_size
	movl	%eax, %r13d
LBB0_10:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_SEQUENCE,4,2            ## @V_ASN1_SEQUENCE
	.comm	_V_ASN1_SET,4,2                 ## @V_ASN1_SET
	.comm	_V_ASN1_OTHER,4,2               ## @V_ASN1_OTHER
	.no_dead_strip	_asn1_i2d_ex_primitive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_i2d_ex_primitive
_asn1_i2d_ex_primitive:                 ; @asn1_i2d_ex_primitive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
	mov	x26, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w8, [x2]
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x1, #0
	mov	x3, x20
	bl	_asn1_ex_i2c
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _V_ASN1_SEQUENCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V_ASN1_SEQUENCE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
Lloh3:
	adrp	x9, _V_ASN1_SET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V_ASN1_SET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ccmp	w8, w9, #4, ne
Lloh6:
	adrp	x9, _V_ASN1_OTHER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V_ASN1_OTHER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ccmp	w8, w9, #4, ne
	cset	w27, eq
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	mov	x24, x0
	cmn	w0, #2
	cset	w9, eq
	csel	w21, wzr, w0, eq
	lsl	w25, w9, #1
	cmn	w26, #1
	csel	w26, w8, w26, eq
	cbz	x19, LBB0_6
; %bb.2:
	tbnz	w27, #0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	mov	x3, x26
	mov	x4, x23
	bl	_ASN1_put_object
LBB0_4:
	ldr	x1, [x19]
	add	x2, sp, #12
	mov	x0, x22
	mov	x3, x20
	bl	_asn1_ex_i2c
	cmn	w24, #2
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_ASN1_put_eoc
LBB0_6:
	tbz	w27, #0, LBB0_9
	b	LBB0_10
LBB0_7:
	mov	w21, #0
	b	LBB0_10
LBB0_8:
	ldr	x8, [x19]
	add	x8, x8, w21, sxtw
	str	x8, [x19]
	tbnz	w27, #0, LBB0_10
LBB0_9:
	mov	x0, x25
	mov	x1, x21
	mov	x2, x26
	bl	_ASN1_object_size
	mov	x21, x0
LBB0_10:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_SEQUENCE,4,2            ; @V_ASN1_SEQUENCE
	.comm	_V_ASN1_SET,4,2                 ; @V_ASN1_SET
	.comm	_V_ASN1_OTHER,4,2               ; @V_ASN1_OTHER
	.no_dead_strip	_asn1_i2d_ex_primitive
.subsections_via_symbols
