	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mangle_dupechar
_mangle_dupechar:                       ## @mangle_dupechar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_10
## %bb.1:
	movl	%esi, %eax
	movq	_RP_PASSWORD_SIZE@GOTPCREL(%rip), %rdx
	leal	(%rax,%rax), %r10d
	cmpl	(%rdx), %r10d
	jge	LBB0_9
## %bb.2:
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movl	%eax, %edx
	testb	$1, %dl
	je	LBB0_5
## %bb.4:
	leaq	-1(%rdx), %r8
	movslq	%r8d, %r9
	movb	-1(%rdi,%rdx), %cl
	movb	%cl, (%rdi,%r9,2)
	addq	%r9, %r9
	movb	-1(%rdi,%rdx), %cl
	movslq	%r9d, %rdx
	movb	%cl, 1(%rdi,%rdx)
	movq	%r8, %rdx
LBB0_5:
	cmpl	$1, %eax
	je	LBB0_8
## %bb.6:
	leaq	1(%rdx), %rax
	addl	%edx, %edx
	addl	$-2, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-2(%rdi,%rax), %ecx
	movslq	%edx, %rdx
	movb	%cl, (%rdi,%rdx)
	movzbl	-2(%rdi,%rax), %ecx
	leal	1(%rdx), %esi
	movslq	%esi, %rsi
	movb	%cl, (%rdi,%rsi)
	leal	-2(%rdx), %ecx
	movzbl	-3(%rdi,%rax), %esi
	movslq	%ecx, %rcx
	movb	%sil, (%rdi,%rcx)
	movzbl	-3(%rdi,%rax), %ecx
	leal	-1(%rdx), %esi
	movslq	%esi, %rsi
	movb	%cl, (%rdi,%rsi)
	addq	$-2, %rax
	addl	$-4, %edx
	cmpq	$1, %rax
	ja	LBB0_7
LBB0_8:
	movl	%r10d, %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RP_PASSWORD_SIZE,4,2           ## @RP_PASSWORD_SIZE
	.no_dead_strip	_mangle_dupechar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mangle_dupechar
_mangle_dupechar:                       ; @mangle_dupechar
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _RP_PASSWORD_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RP_PASSWORD_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	lsl	w8, w1, #1
	cmp	w8, w9
	b.ge	LBB0_6
; %bb.2:
	cmp	w1, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w9, w1
	sub	w10, w8, #1
	sub	x11, x0, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w10, #1
	ldrb	w13, [x11, x9]
	strb	w13, [x0, w12, sxtw]
	ldrb	w12, [x11, x9]
	strb	w12, [x0, w10, sxtw]
	sub	w10, w10, #2
	subs	x9, x9, #1
	b.hi	LBB0_4
LBB0_5:
	mov	x1, x8
LBB0_6:
	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_dupechar
.subsections_via_symbols
