	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_get_bit_string             ## -- Begin function der_get_bit_string
	.p2align	4, 0x90
_der_get_bit_string:                    ## @der_get_bit_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
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r12
	movb	(%rdi), %al
	cmpb	$8, %al
	jae	LBB0_4
## %bb.2:
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rsi, %r13
	decq	%r13
	jne	LBB0_5
## %bb.3:
	testb	%al, %al
	je	LBB0_5
LBB0_4:
	movq	_ASN1_BAD_FORMAT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	%r13, %rax
	shrq	$61, %rax
	jne	LBB0_9
## %bb.6:
	leaq	(,%r13,8), %rax
	movq	%rax, (%r15)
	movq	%r13, %rdi
	callq	_malloc
	movq	%rax, 8(%r15)
	testq	%r13, %r13
	je	LBB0_12
## %bb.7:
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ASN1_OVERRUN@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	testq	%r13, %r13
	je	LBB0_14
## %bb.13:
	leaq	1(%r12), %rsi
	movq	%rax, %rdi
	movq	%r13, %rdx
	callq	_memcpy
	movzbl	(%r12), %eax
	subq	%rax, (%r15)
LBB0_14:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_11
## %bb.15:
	movq	%rbx, (%r14)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_OVERRUN,4,2               ## @ASN1_OVERRUN
	.comm	_ASN1_BAD_FORMAT,4,2            ## @ASN1_BAD_FORMAT
	.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_bit_string             ; -- Begin function der_get_bit_string
	.p2align	2
_der_get_bit_string:                    ; @der_get_bit_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
	cbz	x1, LBB0_9
; %bb.1:
	mov	x22, x0
	ldrb	w8, [x0]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	subs	x23, x1, #1
	b.ne	LBB0_5
; %bb.3:
	cbz	w8, LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _ASN1_BAD_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_BAD_FORMAT@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	lsr	x8, x23, #61
	cbnz	x8, LBB0_9
; %bb.6:
	lsl	x8, x23, #3
	str	x8, [x21]
	mov	x0, x23
	bl	_malloc
	str	x0, [x21, #8]
	cbz	x23, LBB0_12
; %bb.7:
	cbnz	x0, LBB0_12
; %bb.8:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh4:
	adrp	x8, _ASN1_OVERRUN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ASN1_OVERRUN@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	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
LBB0_12:
	cbz	x23, LBB0_14
; %bb.13:
	add	x1, x22, #1
	mov	x2, x23
	bl	_memcpy
	ldrb	w8, [x22]
	ldr	x9, [x21]
	sub	x8, x9, x8
	str	x8, [x21]
LBB0_14:
	mov	w0, #0
	cbz	x19, LBB0_11
; %bb.15:
	str	x20, [x19]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_OVERRUN,4,2               ; @ASN1_OVERRUN
	.comm	_ASN1_BAD_FORMAT,4,2            ; @ASN1_BAD_FORMAT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
