	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mangle_insert
_mangle_insert:                         ## @mangle_insert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	cmpl	%esi, %edx
	jg	LBB0_1
## %bb.2:
	movq	_RP_PASSWORD_SIZE@GOTPCREL(%rip), %r8
	leal	1(%rsi), %eax
	cmpl	(%r8), %eax
	jge	LBB0_1
## %bb.3:
	movl	%esi, %r8d
	subl	%edx, %r8d
	jle	LBB0_8
## %bb.4:
	movslq	%esi, %r10
	movslq	%edx, %r11
	movq	%r11, %r9
	notq	%r9
	addq	%r10, %r9
	andq	$3, %r8
	je	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r10), %rsi
	movzbl	-1(%rdi,%r10), %edx
	movb	%dl, (%rdi,%r10)
	movq	%rsi, %r10
	decq	%r8
	jne	LBB0_5
## %bb.6:
	cmpq	$3, %r9
	jae	LBB0_10
	jmp	LBB0_11
LBB0_1:
	movl	%esi, %eax
	popq	%rbp
	retq
LBB0_8:
	movslq	%edx, %r11
	jmp	LBB0_11
LBB0_9:
	movq	%r10, %rsi
	cmpq	$3, %r9
	jb	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rdi,%rsi), %edx
	movl	%edx, -3(%rdi,%rsi)
	leaq	-4(%rsi), %rdx
	movq	%rdx, %rsi
	cmpq	%r11, %rdx
	jg	LBB0_10
LBB0_11:
	movb	%cl, (%rdi,%r11)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RP_PASSWORD_SIZE,4,2           ## @RP_PASSWORD_SIZE
	.no_dead_strip	_mangle_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mangle_insert
_mangle_insert:                         ; @mangle_insert
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w2, w1
	b.gt	LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _RP_PASSWORD_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RP_PASSWORD_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	add	w8, w1, #1
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.2:
	cmp	w1, w2
	b.le	LBB0_5
; %bb.3:
	sxtw	x10, w1
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	sxtw	x9, w2
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x0, x10
	sub	x12, x10, #1
	ldurb	w10, [x11, #-1]
	strb	w10, [x11]
	mov	x10, x12
	cmp	x12, x9
	b.gt	LBB0_4
	b	LBB0_6
LBB0_5:
	sxtw	x9, w2
LBB0_6:
	strb	w3, [x0, x9]
	mov	x1, x8
LBB0_7:
	mov	x0, x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RP_PASSWORD_SIZE,4,2           ; @RP_PASSWORD_SIZE
	.no_dead_strip	_mangle_insert
.subsections_via_symbols
