	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_get_general_string         ## -- Begin function der_get_general_string
	.p2align	4, 0x90
_der_get_general_string:                ## @der_get_general_string
	.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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rcx
	subq	%r12, %rcx
	cmpq	%rbx, %rcx
	jae	LBB0_6
## %bb.2:
	cmpb	$0, (%rax)
	jne	LBB0_6
## %bb.3:
	incq	%rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rcx
	cmpq	%rbx, %rcx
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%rax)
	leaq	1(%rax), %rax
	je	LBB0_4
LBB0_6:
	cmpq	%rbx, %rcx
	jne	LBB0_11
LBB0_7:
	cmpq	$-1, %rbx
	je	LBB0_12
## %bb.8:
	leaq	1(%rbx), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movb	$0, (%r13,%rbx)
	movq	%r13, (%r15)
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_15
## %bb.10:
	movq	%rbx, (%r14)
	jmp	LBB0_15
LBB0_11:
	movq	_ASN1_BAD_CHARACTER@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_ASN1_BAD_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_BAD_CHARACTER,4,2         ## @ASN1_BAD_CHARACTER
	.comm	_ASN1_BAD_LENGTH,4,2            ## @ASN1_BAD_LENGTH
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_get_general_string         ; -- Begin function der_get_general_string
	.p2align	2
_der_get_general_string:                ; @der_get_general_string
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	w1, #0
	mov	x2, x20
	bl	_memchr
	cbz	x0, LBB0_7
; %bb.1:
	sub	x8, x0, x22
	cmp	x8, x20
	b.hs	LBB0_6
; %bb.2:
	ldrb	w9, [x0]
	cbnz	w9, LBB0_6
; %bb.3:
	add	x9, x0, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, #1
	cmp	x8, x20
	b.hs	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w10, [x9], #1
	cbz	w10, LBB0_4
LBB0_6:
	cmp	x8, x20
	b.ne	LBB0_11
LBB0_7:
	cmn	x20, #1
	b.eq	LBB0_12
; %bb.8:
	add	x0, x20, #1
	bl	_malloc
	cbz	x0, LBB0_13
; %bb.9:
	mov	x23, x0
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	strb	wzr, [x23, x20]
	str	x23, [x21]
	mov	w0, #0
	cbz	x19, LBB0_15
; %bb.10:
	str	x20, [x19]
	b	LBB0_15
LBB0_11:
Lloh0:
	adrp	x8, _ASN1_BAD_CHARACTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_BAD_CHARACTER@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh2:
	adrp	x8, _ASN1_BAD_LENGTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ASN1_BAD_LENGTH@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_BAD_CHARACTER,4,2         ; @ASN1_BAD_CHARACTER
	.comm	_ASN1_BAD_LENGTH,4,2            ; @ASN1_BAD_LENGTH
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
