	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x942_encode_otherinfo
_x942_encode_otherinfo:                 ## @x942_encode_otherinfo
	.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
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, %ebx
	movq	$0, -72(%rbp)
	xorl	%eax, %eax
	callq	_X509_ALGOR_new
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_OBJ_nid2obj
	movl	%eax, %edi
	callq	_OBJ_dup
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_ASN1_OCTET_STRING_new
	movq	%rax, %r13
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	testq	%r12, %r12
	je	LBB0_4
## %bb.2:
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	leaq	_x942_encode_otherinfo.ctr(%rip), %rsi
	movl	$4, %edx
	movq	%r13, %rdi
	callq	_ASN1_OCTET_STRING_set
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movq	_V_ASN1_OCTET_STRING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rcx
	callq	_X509_ALGOR_set0
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:
	testq	%r14, %r14
	je	LBB0_9
## %bb.10:
	movq	%rbx, %r13
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_ASN1_OCTET_STRING_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_ASN1_OCTET_STRING_set
	movq	%rbx, %r14
	movq	%r13, %rbx
	jmp	LBB0_13
LBB0_9:
	xorl	%r14d, %r14d
LBB0_13:
	leaq	-72(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_CMS_SharedInfo_encode
	testl	%eax, %eax
	jle	LBB0_14
## %bb.15:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rcx
	movq	%rcx, -56(%rbp)
	movl	%eax, %r14d
	movq	%r14, -64(%rbp)
	movq	_V_ASN1_SEQUENCE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_skip_asn1
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movl	(%r12), %edx
	leaq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_skip_asn1
	testq	%rax, %rax
	je	LBB0_16
## %bb.18:
	movq	_V_ASN1_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_skip_asn1
	testq	%rax, %rax
	je	LBB0_16
## %bb.19:
	movl	(%rbx), %edx
	leaq	-56(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_skip_asn1
	testq	%rax, %rax
	je	LBB0_16
## %bb.20:
	movq	-56(%rbp), %rdi
	leaq	_x942_encode_otherinfo.ctr(%rip), %rsi
	movl	$4, %edx
	callq	_CRYPTO_memcmp
	testq	%rax, %rax
	je	LBB0_21
LBB0_16:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_14:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_11:
	xorl	%r13d, %r13d
LBB0_4:
	xorl	%r14d, %r14d
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	-72(%rbp), %rdi
	callq	_OPENSSL_free
LBB0_22:
	movq	%r13, %rdi
	callq	_ASN1_OCTET_STRING_free
	movq	%r14, %rdi
	callq	_ASN1_OCTET_STRING_free
	movq	%r12, %rdi
	callq	_ASN1_OBJECT_free
	movq	%r15, %rdi
	callq	_X509_ALGOR_free
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	16(%rbp), %rax
	movq	-56(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	-72(%rbp), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movl	$1, %ebx
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
_x942_encode_otherinfo.ctr:             ## @x942_encode_otherinfo.ctr
	.ascii	"\000\000\000\001"

	.comm	_V_ASN1_OCTET_STRING,4,2        ## @V_ASN1_OCTET_STRING
	.comm	_V_ASN1_SEQUENCE,4,2            ## @V_ASN1_SEQUENCE
	.comm	_V_ASN1_OBJECT,4,2              ## @V_ASN1_OBJECT
	.no_dead_strip	_x942_encode_otherinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x942_encode_otherinfo
_x942_encode_otherinfo:                 ; @x942_encode_otherinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x6
	mov	x21, x5
	mov	x22, x4
	mov	x27, x3
	mov	x28, x2
	mov	x26, x1
	mov	x20, x0
	str	xzr, [sp, #16]
	bl	_X509_ALGOR_new
	mov	x19, x0
	mov	x0, x20
	bl	_OBJ_nid2obj
	bl	_OBJ_dup
	mov	x24, x0
	bl	_ASN1_OCTET_STRING_new
	mov	x25, x0
	mov	x20, #0
	cbz	x19, LBB0_17
; %bb.1:
	cbz	x24, LBB0_17
; %bb.2:
	cbz	x25, LBB0_17
; %bb.3:
Lloh0:
	adrp	x1, _x942_encode_otherinfo.ctr@PAGE
Lloh1:
	add	x1, x1, _x942_encode_otherinfo.ctr@PAGEOFF
	mov	x0, x25
	mov	w2, #4
	bl	_ASN1_OCTET_STRING_set
	cbz	w0, LBB0_8
; %bb.4:
Lloh2:
	adrp	x20, _V_ASN1_OCTET_STRING@GOTPAGE
Lloh3:
	ldr	x20, [x20, _V_ASN1_OCTET_STRING@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x24
	mov	x3, x25
	bl	_X509_ALGOR_set0
	cbz	w0, LBB0_8
; %bb.5:
	mov	x25, x20
	cbz	x28, LBB0_9
; %bb.6:
	bl	_ASN1_OCTET_STRING_new
	mov	x20, x0
	cbz	x0, LBB0_16
; %bb.7:
	mov	x0, x20
	mov	x1, x28
	mov	x2, x27
	bl	_ASN1_OCTET_STRING_set
	b	LBB0_10
LBB0_8:
	mov	x20, #0
	b	LBB0_17
LBB0_9:
	mov	x20, #0
LBB0_10:
	add	x0, sp, #16
	mov	x1, x19
	mov	x2, x20
	mov	x3, x26
	bl	_CMS_SharedInfo_encode
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.11:
	ldr	x8, [sp, #16]
	str	x8, [sp, #24]
	mov	w26, w0
	str	x26, [sp, #8]
Lloh4:
	adrp	x24, _V_ASN1_SEQUENCE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _V_ASN1_SEQUENCE@GOTPAGEOFF]
	ldr	w2, [x24]
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_skip_asn1
	cbz	x0, LBB0_16
; %bb.12:
	ldr	w2, [x24]
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_skip_asn1
	cbz	x0, LBB0_16
; %bb.13:
Lloh6:
	adrp	x8, _V_ASN1_OBJECT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V_ASN1_OBJECT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_skip_asn1
	cbz	x0, LBB0_16
; %bb.14:
	ldr	w2, [x25]
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_skip_asn1
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x0, [sp, #24]
Lloh9:
	adrp	x1, _x942_encode_otherinfo.ctr@PAGE
Lloh10:
	add	x1, x1, _x942_encode_otherinfo.ctr@PAGEOFF
	mov	w2, #4
	bl	_CRYPTO_memcmp
	cbz	x0, LBB0_19
LBB0_16:
	mov	x24, #0
	mov	x25, #0
LBB0_17:
	ldr	x0, [sp, #16]
	bl	_OPENSSL_free
	mov	w21, #0
LBB0_18:
	mov	x0, x25
	bl	_ASN1_OCTET_STRING_free
	mov	x0, x20
	bl	_ASN1_OCTET_STRING_free
	mov	x0, x24
	bl	_ASN1_OBJECT_free
	mov	x0, x19
	bl	_X509_ALGOR_free
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_19:
	mov	x25, #0
	mov	x24, #0
	ldr	x8, [sp, #24]
	str	x8, [x23]
	ldr	x8, [sp, #16]
	str	x8, [x22]
	str	x26, [x21]
	mov	w21, #1
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_x942_encode_otherinfo.ctr:             ; @x942_encode_otherinfo.ctr
	.ascii	"\000\000\000\001"

	.comm	_V_ASN1_OCTET_STRING,4,2        ; @V_ASN1_OCTET_STRING
	.comm	_V_ASN1_SEQUENCE,4,2            ; @V_ASN1_SEQUENCE
	.comm	_V_ASN1_OBJECT,4,2              ; @V_ASN1_OBJECT
	.no_dead_strip	_x942_encode_otherinfo
.subsections_via_symbols
