	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_put_bit_string             ## -- Begin function der_put_bit_string
	.p2align	4, 0x90
_der_put_bit_string:                    ## @der_put_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movl	(%rdx), %eax
	leal	7(%rax), %ecx
	addl	$14, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$3, %eax
	movslq	%eax, %rdx
	leaq	1(%rdx), %r15
	cmpq	%rsi, %r15
	jbe	LBB0_2
## %bb.1:
	movq	_ASN1_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_2:
	movq	%rdx, %rax
	notq	%rax
	leaq	(%rdi,%rax), %r12
	addq	%rax, %rdi
	addq	$2, %rdi
	movl	4(%rbx), %esi
	callq	_memcpy
	movl	(%rbx), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.3:
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	andl	$-8, %edx
	subl	%edx, %ecx
	je	LBB0_6
## %bb.4:
	movb	$8, %dl
	subb	%cl, %dl
	jmp	LBB0_7
LBB0_6:
	xorl	%edx, %edx
LBB0_7:
	movb	%dl, 1(%r12)
	movq	%r15, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_OVERFLOW,4,2              ## @ASN1_OVERFLOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_put_bit_string             ; -- Begin function der_put_bit_string
	.p2align	2
_der_put_bit_string:                    ; @der_put_bit_string
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	ldr	w8, [x2]
	add	w9, w8, #7
	add	w8, w8, #14
	cmp	w9, #0
	csel	w8, w8, w9, lt
	sbfx	x2, x8, #3, #29
	add	x21, x2, #1
	cmp	x21, x1
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ASN1_OVERFLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_OVERFLOW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x19, x3
	mvn	x8, x2
	add	x22, x0, x8
	add	x0, x22, #2
	ldr	w1, [x20, #4]
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x20]
	negs	w9, w8
	and	w9, w9, #0x7
	and	w10, w8, #0x7
	csneg	w9, w10, w9, mi
	mov	w10, #8
	sub	w10, w10, w9
	cmp	w9, #0
	csel	w9, wzr, w10, eq
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	strb	w8, [x22, #1]
	str	x21, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_OVERFLOW,4,2              ; @ASN1_OVERFLOW
.subsections_via_symbols
