	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function reverse
LCPI0_0:
	.byte	15                              ## 0xf
	.byte	14                              ## 0xe
	.byte	13                              ## 0xd
	.byte	12                              ## 0xc
	.byte	11                              ## 0xb
	.byte	10                              ## 0xa
	.byte	9                               ## 0x9
	.byte	8                               ## 0x8
	.byte	7                               ## 0x7
	.byte	6                               ## 0x6
	.byte	5                               ## 0x5
	.byte	4                               ## 0x4
	.byte	3                               ## 0x3
	.byte	2                               ## 0x2
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_reverse:                               ## @reverse
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_strlen
	leal	1(%rax), %edi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_17
## %bb.2:
	leaq	(%r15,%rax), %rcx
	leaq	(%r15,%rax), %rdx
	decq	%rdx
	cmpq	%rdx, %r15
	cmovbq	%r15, %rdx
	movq	%rcx, %r10
	subq	%rdx, %r10
	cmpq	$32, %r10
	jae	LBB0_4
## %bb.3:
	movq	%r14, %rbx
	jmp	LBB0_16
LBB0_4:
	leaq	(%rax,%r15), %rdx
	decq	%rdx
	cmpq	%rdx, %r15
	cmovbq	%r15, %rdx
	cmpq	%rcx, %rbx
	jae	LBB0_7
## %bb.5:
	movq	%rcx, %rsi
	subq	%rdx, %rsi
	addq	%rbx, %rsi
	cmpq	%rsi, %rdx
	jae	LBB0_7
## %bb.6:
	movq	%r14, %rbx
	jmp	LBB0_16
LBB0_7:
	movq	%r10, %r8
	andq	$-32, %r8
	leaq	-32(%r8), %rdx
	movq	%rdx, %r9
	shrq	$5, %r9
	incq	%r9
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.9:
	movq	%r9, %rdi
	andq	$-2, %rdi
	leaq	48(%rbx), %rsi
	leaq	(%rax,%r15), %rdx
	addq	$-16, %rdx
	xorl	%eax, %eax
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rdx,%rax), %xmm1
	movdqu	(%rdx,%rax), %xmm2
	pshufb	%xmm0, %xmm2
	pshufb	%xmm0, %xmm1
	movdqu	%xmm2, -48(%rsi)
	movdqu	%xmm1, -32(%rsi)
	movdqu	-48(%rdx,%rax), %xmm1
	movdqu	-32(%rdx,%rax), %xmm2
	pshufb	%xmm0, %xmm2
	pshufb	%xmm0, %xmm1
	movdqu	%xmm2, -16(%rsi)
	movdqu	%xmm1, (%rsi)
	addq	$64, %rsi
	addq	$-64, %rax
	addq	$-2, %rdi
	jne	LBB0_10
## %bb.11:
	negq	%rax
	testb	$1, %r9b
	je	LBB0_14
LBB0_13:
	movq	%rcx, %rdx
	subq	%rax, %rdx
	movdqu	-32(%rdx), %xmm0
	movdqu	-16(%rdx), %xmm1
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
	pshufb	%xmm2, %xmm1
	pshufb	%xmm2, %xmm0
	movdqu	%xmm1, (%r14,%rax)
	movdqu	%xmm0, 16(%r14,%rax)
LBB0_14:
	addq	%r8, %rbx
	cmpq	%r8, %r10
	je	LBB0_17
## %bb.15:
	subq	%r8, %rcx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rcx), %eax
	decq	%rcx
	movb	%al, (%rbx)
	incq	%rbx
	cmpq	%r15, %rcx
	ja	LBB0_16
LBB0_17:
	movb	$0, (%rbx)
LBB0_18:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	testb	$1, %r9b
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_reverse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reverse
_reverse:                               ; @reverse
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_strlen
	mov	x8, x20
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
	add	x9, x19, x0
	mov	x8, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9, #-1]!
	strb	w10, [x8], #1
	cmp	x9, x19
	b.hi	LBB0_3
LBB0_4:
	strb	wzr, [x8]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_reverse
.subsections_via_symbols
