	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cvt
_cvt:                                   ## @cvt
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rsi
	movl	$0, -36(%rbp)
	cmpl	$2, %r12d
	je	LBB0_2
## %bb.1:
	cmpl	$4, %r12d
	jne	LBB0_10
LBB0_2:
	leaq	-36(%rbp), %r14
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_memcpy
	testb	%r15b, %r15b
	je	LBB0_9
## %bb.3:
	movl	%r12d, %edi
	shrl	%r12d
	andl	$127, %r12d
	cmpl	$1, %r12d
	jne	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_5:
	movl	%r12d, %edx
	andl	$-2, %edx
	leaq	(%rdi,%r14), %rsi
	decq	%rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-36(%rbp,%rcx), %eax
	movzbl	(%rsi), %ebx
	movb	%bl, -36(%rbp,%rcx)
	movb	%al, (%rsi)
	movzbl	-35(%rbp,%rcx), %eax
	movzbl	-1(%rsi), %ebx
	movb	%bl, -35(%rbp,%rcx)
	addq	$2, %rcx
	movb	%al, -1(%rsi)
	addq	$-2, %rsi
	cmpq	%rcx, %rdx
	jne	LBB0_6
LBB0_7:
	testb	$1, %r12b
	je	LBB0_9
## %bb.8:
	movb	-36(%rbp,%rcx), %al
	movq	%rcx, %rdx
	notq	%rdx
	addq	%rdi, %rdx
	movb	-36(%rbp,%rdx), %bl
	movb	%bl, -36(%rbp,%rcx)
	movb	%al, -36(%rbp,%rdx)
LBB0_9:
	movl	-36(%rbp), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	callq	_EEE
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid size %d\n"

	.no_dead_strip	_cvt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cvt
_cvt:                                   ; @cvt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x1, x0
	str	wzr, [sp, #12]
	cmp	w19, #2
	b.eq	LBB0_2
; %bb.1:
	cmp	w19, #4
	b.ne	LBB0_6
LBB0_2:
	add	x21, sp, #12
	add	x0, sp, #12
	mov	x2, x19
	bl	_memcpy
	cbz	w20, LBB0_5
; %bb.3:
	ubfx	w8, w19, #1, #7
	add	x9, x21, w19, uxtw
	sub	x9, x9, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x21]
	ldrb	w11, [x9]
	strb	w11, [x21], #1
	strb	w10, [x9], #-1
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_5:
	ldr	w0, [sp, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_EEE
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid size %d\n"

	.no_dead_strip	_cvt
.subsections_via_symbols
