	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heap_swap
_heap_swap:                             ## @heap_swap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	8(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movq	(%rax), %r8
	imull	%ecx, %esi
	movslq	%esi, %r9
	addq	%r8, %r9
	imull	%ecx, %edx
	movslq	%edx, %rsi
	addq	%r8, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r9,%rdx), %eax
	movzbl	(%rsi,%rdx), %ecx
	movb	%cl, (%r9,%rdx)
	movb	%al, (%rsi,%rdx)
	incq	%rdx
	movq	(%rdi), %rax
	movslq	8(%rax), %rax
	cmpq	%rax, %rdx
	jl	LBB0_2
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_heap_swap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heap_swap
_heap_swap:                             ; @heap_swap
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w10, [x9, #8]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x11, [x9]
	mul	w9, w10, w1
	add	x9, x11, w9, sxtw
	mul	w10, w10, w2
	add	x10, x11, w10, sxtw
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9, x8]
	ldrb	w12, [x10, x8]
	strb	w12, [x9, x8]
	strb	w11, [x10, x8]
	add	x8, x8, #1
	ldr	x11, [x0]
	ldrsw	x11, [x11, #8]
	cmp	x8, x11
	b.lt	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_heap_swap
.subsections_via_symbols
