	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_der_put_length                 ## -- Begin function der_put_length
	.p2align	4, 0x90
_der_put_length:                        ## @der_put_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	cmpq	$128, %rdx
	jae	LBB0_2
## %bb.9:
	movb	%dl, (%rdi)
	movq	$1, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %r8d
	subq	%rsi, %r8
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %r8
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	%dl, (%rdi,%rsi)
	movq	%rdx, %rax
	shrq	$8, %rax
	decq	%rsi
	cmpq	$255, %rdx
	movq	%rax, %rdx
	ja	LBB0_3
## %bb.5:
	movl	%esi, %eax
	negb	%al
	orb	$-128, %al
	movb	%al, (%rdi,%rsi)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	movl	$1, %edx
	subq	%rsi, %rdx
	movq	%rdx, (%rcx)
	popq	%rbp
	retq
LBB0_7:
	movq	_ASN1_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	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_length                 ; -- Begin function der_put_length
	.p2align	2
_der_put_length:                        ; @der_put_length
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_8
; %bb.1:
	cmp	x2, #128
	b.hs	LBB0_3
; %bb.2:
	strb	w2, [x0]
	mov	w9, #1
	str	x9, [x3]
	mov	w0, #0
	ret
LBB0_3:
	mov	x9, #0
	mov	w8, #1
	sub	x8, x8, x1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w2, [x0, x9]
	lsr	x10, x2, #8
	sub	x9, x9, #1
	cmp	x2, #255
	mov	x2, x10
	b.hi	LBB0_4
; %bb.6:
	neg	w8, w9
	orr	w8, w8, #0x80
	strb	w8, [x0, x9]
	mov	w8, #0
	cbz	x3, LBB0_9
; %bb.7:
	mov	w10, #1
	sub	x9, x10, x9
	str	x9, [x3]
	mov	x0, x8
	ret
LBB0_8:
Lloh0:
	adrp	x8, _ASN1_OVERFLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_OVERFLOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
LBB0_9:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_OVERFLOW,4,2              ; @ASN1_OVERFLOW
.subsections_via_symbols
